[INFO] fetching crate mujs 0.0.3... [INFO] checking mujs-0.0.3 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] extracting crate mujs 0.0.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate mujs 0.0.3 [INFO] finished tweaking crates.io crate mujs 0.0.3 [INFO] tweaked toml for crates.io crate mujs 0.0.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mujs 0.0.3 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.9.1 (available: v2.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf2dbb134b6470b6c0f85ef4e983ca612332a01cbb902df222983645fab2fec5 [INFO] running `Command { std: "docker" "start" "-a" "bf2dbb134b6470b6c0f85ef4e983ca612332a01cbb902df222983645fab2fec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf2dbb134b6470b6c0f85ef4e983ca612332a01cbb902df222983645fab2fec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2dbb134b6470b6c0f85ef4e983ca612332a01cbb902df222983645fab2fec5", kill_on_drop: false }` [INFO] [stdout] bf2dbb134b6470b6c0f85ef4e983ca612332a01cbb902df222983645fab2fec5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e983ab4feacfbb705dca2575825b560561f643ed017a209ef1fc3ab3cf7896ad [INFO] running `Command { std: "docker" "start" "-a" "e983ab4feacfbb705dca2575825b560561f643ed017a209ef1fc3ab3cf7896ad", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling mujs v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::compile_library("libmujs.a", &["mujs/one.c"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:4: [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'findlocal': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:166:22: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 166 | static int findlocal(JF, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'here': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:228:17: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 228 | static int here(JF) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'checkdup': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:301:22: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 301 | static void checkdup(JF, js_Ast *list, js_Ast *end) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'ceval': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 509 | static void ceval(JF, js_Ast *fun, js_Ast *args) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'addjump': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:730:21: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'breaktarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'continuetarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'returntarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:5: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c: In function 'DaylightSavingTA': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 44 | static double DaylightSavingTA(double t) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:6: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c: In function 'k_comp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 378 | static int k_comp(int e, int alpha, int gamma) { [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:7: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumpsyntax': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumplist': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 705 | void jsP_dumplist(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:16: [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c: In function 'fmtobject': [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:18: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getownproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getpropertyx': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getenumproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:20: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_insert': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 350 | void js_insert(js_State *J, int idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_isarrayindex': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 437 | int js_isarrayindex(js_State *J, const char *p, int *idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:21: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultalloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 10 | static void *js_defaultalloc(void *actx, void *ptr, int size) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultreport': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 19 | static void js_defaultreport(js_State *J, const char *message) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:22: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'js_runeat': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 14 | int js_runeat(js_State *J, const char *s, int i) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:23: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_toboolean': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 116 | int jsV_toboolean(js_State *J, js_Value *v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: At top level: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=] [INFO] [stderr] warning: mujs@0.0.3: 131 | const char *js_itoa(char *out, int v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/jsarray.c:2, [INFO] [stderr] warning: mujs@0.0.3: from mujs/one.c:1: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]' [INFO] [stderr] warning: mujs@0.0.3: 157 | const char *js_itoa(char buf[32], int a); [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~^~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_stringtonumber': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | double jsV_stringtonumber(js_State *J, const char *s) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_numbertostring': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:24: [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'default_alloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 896 | static void *default_alloc(void *ctx, void *p, int n) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_regexp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 424 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:425:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 425 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_string': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 520 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:521:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 521 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'nextrune': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 114 | case 0: die(g, "unterminated escape sequence"); [INFO] [stderr] warning: mujs@0.0.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:115:17: note: here [INFO] [stderr] warning: mujs@0.0.3: 115 | case 'f': g->yychar = '\f'; return 0; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn to_cstr(self: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:57:51 [INFO] [stdout] | [INFO] [stdout] 57 | fn js_atpanic(J: *const c_void, panic: Option) -> *const c_void; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | finalize: Option); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | fn js_newcfunction(J: *const c_void, func: Option, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | extern fn _panic(js: *const c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn gc(self: &State, report: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn loadstring(self: &State, filename: &str, source: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn call(self: &State, n: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn construct(self: &State, n: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn dostring(self: &State, source: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn throw(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn newerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:429:31 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn newevalerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:434:32 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn newrangeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn newreferenceerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:444:33 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn newsyntaxerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:449:31 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn newtypeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:454:30 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn newurierror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn error(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn evalerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:475:29 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn rangeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:483:33 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn referenceerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn syntaxerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn typeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:507:27 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn urierror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn gettop(self: &State) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn pop(self: &State, n: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn rot(self: &State, n: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:561:23 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn copy(self: &State, idx: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:566:25 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn remove(self: &State, idx: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn newobject(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:603:27 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn newarray(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:608:29 [INFO] [stdout] | [INFO] [stdout] 608 | pub fn newboolean(self: &State, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:616:28 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn newnumber(self: &State, value: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:621:28 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn newstring(self: &State, value: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn newregexp(self: &State, pattern: &str, flags: RegExpFlags) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn isobject(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:660:32 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn pushundefined(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn pushnull(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:670:30 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn pushboolean(self: &State, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn pushnumber(self: &State, value: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:683:29 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn pushstring(self: &State, value: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:703:30 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn hasproperty(self: &State, idx: i32, name: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:711:30 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn setproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:716:30 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn getproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:734:30 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn defproperty(self: &State, idx: i32, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:743:30 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn defaccessor(self: &State, idx: i32, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn delproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:768:28 [INFO] [stdout] | [INFO] [stdout] 768 | pub fn getlength(self: &State, idx: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:773:28 [INFO] [stdout] | [INFO] [stdout] 773 | pub fn setlength(self: &State, idx: i32, length: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:778:27 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn hasindex(self: &State, idx: i32, i: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:786:27 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn getindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:791:27 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn setindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:796:27 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn delindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:801:29 [INFO] [stdout] | [INFO] [stdout] 801 | pub fn pushglobal(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:806:28 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn getglobal(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:811:28 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn setglobal(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:816:28 [INFO] [stdout] | [INFO] [stdout] 816 | pub fn defglobal(self: &State, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | extern fn _newcfunction_trampoline(js: *const c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | extern fn _finalize(_: *const c_void, _: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:856:33 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn newfunction(self: &State, func: F, name: &str, length: i32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:874:28 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn isdefined(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:882:30 [INFO] [stdout] | [INFO] [stdout] 882 | pub fn isundefined(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn isnull(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn isboolean(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:906:27 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn isnumber(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:914:27 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn isstring(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:922:30 [INFO] [stdout] | [INFO] [stdout] 922 | pub fn isprimitive(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:930:27 [INFO] [stdout] | [INFO] [stdout] 930 | pub fn tostring(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:943:28 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn toboolean(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:951:27 [INFO] [stdout] | [INFO] [stdout] 951 | pub fn tonumber(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:975:30 [INFO] [stdout] | [INFO] [stdout] 975 | pub fn getregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:980:30 [INFO] [stdout] | [INFO] [stdout] 980 | pub fn setregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:985:30 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn delregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:991:19 [INFO] [stdout] | [INFO] [stdout] 991 | fn drop(self: &mut State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ------------------------------ not an `extern` block [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: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ---- not an `extern` block [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ------- not an `extern` block [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:831:28 [INFO] [stdout] | [INFO] [stdout] 831 | let func: &mut Box = unsafe { std::mem::transmute(cb_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 831 | let func: &mut Box = unsafe { std::mem::transmute(cb_ptr) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:860:25 [INFO] [stdout] | [INFO] [stdout] 860 | let cb: Box> = Box::new(Box::new(func)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 860 | let cb: Box> = Box::new(Box::new(func)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn to_cstr(self: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:57:51 [INFO] [stdout] | [INFO] [stdout] 57 | fn js_atpanic(J: *const c_void, panic: Option) -> *const c_void; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | finalize: Option); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | fn js_newcfunction(J: *const c_void, func: Option, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / bitflags! { [INFO] [stdout] 142 | | pub struct PropertyAttributes: c_int { [INFO] [stdout] 143 | | /// Read only property attribute [INFO] [stdout] 144 | | /// [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / bitflags! { [INFO] [stdout] 168 | | pub struct StateFlags: c_int { [INFO] [stdout] 169 | | /// Compile and run code using ES5 strict mode. [INFO] [stdout] 170 | | const JS_STRICT = 1; [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (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/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / bitflags! { [INFO] [stdout] 175 | | /// Regular expression (RegExp) flags [INFO] [stdout] 176 | | pub struct RegExpFlags: c_int { [INFO] [stdout] 177 | | /// Global match [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | extern fn _panic(js: *const c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn gc(self: &State, report: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn loadstring(self: &State, filename: &str, source: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn call(self: &State, n: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn construct(self: &State, n: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn dostring(self: &State, source: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn throw(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn newerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:429:31 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn newevalerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:434:32 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn newrangeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn newreferenceerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:444:33 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn newsyntaxerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:449:31 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn newtypeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:454:30 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn newurierror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn error(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn evalerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:475:29 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn rangeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:483:33 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn referenceerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn syntaxerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn typeerror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:507:27 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn urierror(self: &State, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn gettop(self: &State) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn pop(self: &State, n: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn rot(self: &State, n: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:561:23 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn copy(self: &State, idx: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:566:25 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn remove(self: &State, idx: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn newobject(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:603:27 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn newarray(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:608:29 [INFO] [stdout] | [INFO] [stdout] 608 | pub fn newboolean(self: &State, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:616:28 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn newnumber(self: &State, value: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:621:28 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn newstring(self: &State, value: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn newregexp(self: &State, pattern: &str, flags: RegExpFlags) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn isobject(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:660:32 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn pushundefined(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn pushnull(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:670:30 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn pushboolean(self: &State, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn pushnumber(self: &State, value: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:683:29 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn pushstring(self: &State, value: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:703:30 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn hasproperty(self: &State, idx: i32, name: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:711:30 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn setproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:4: [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:716:30 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn getproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'findlocal': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:734:30 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn defproperty(self: &State, idx: i32, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:743:30 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn defaccessor(self: &State, idx: i32, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn delproperty(self: &State, idx: i32, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:768:28 [INFO] [stdout] | [INFO] [stdout] 768 | pub fn getlength(self: &State, idx: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:166:22: note: in expansion of macro 'JF' [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:773:28 [INFO] [stdout] | [INFO] [stdout] 773 | pub fn setlength(self: &State, idx: i32, length: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 166 | static int findlocal(JF, const char *name) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:778:27 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn hasindex(self: &State, idx: i32, i: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stdout] warning: function `js_call` is never used [INFO] [stdout] --> src/lib.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn js_call(J: *const c_void, n: c_int) -> c_int; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'here': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:786:27 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn getindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:791:27 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn setindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:796:27 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn delindex(self: &State, idx: i32, i: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | fn js_atpanic(J: *const c_void, panic: Option) -> *const c_void; [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:228:17: note: in expansion of macro 'JF' [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:801:29 [INFO] [stdout] | [INFO] [stdout] 801 | pub fn pushglobal(self: &State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 228 | static int here(JF) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:806:28 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn getglobal(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | finalize: Option); [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'checkdup': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:811:28 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn setglobal(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:816:28 [INFO] [stdout] | [INFO] [stdout] 816 | pub fn defglobal(self: &State, name: &str, attrs: PropertyAttributes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:65 [INFO] [stdout] | [INFO] [stdout] 98 | fn js_newcfunction(J: *const c_void, func: Option, [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | extern fn _newcfunction_trampoline(js: *const c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:301:22: note: in expansion of macro 'JF' [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | extern fn _finalize(_: *const c_void, _: *mut c_void) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 301 | static void checkdup(JF, js_Ast *list, js_Ast *end) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:856:33 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn newfunction(self: &State, func: F, name: &str, length: i32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:874:28 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn isdefined(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'ceval': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:882:30 [INFO] [stdout] | [INFO] [stdout] 882 | pub fn isundefined(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn isnull(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 509 | static void ceval(JF, js_Ast *fun, js_Ast *args) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn isboolean(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~^~~ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:906:27 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn isnumber(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'addjump': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:914:27 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn isstring(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:922:30 [INFO] [stdout] | [INFO] [stdout] 922 | pub fn isprimitive(self: &State, idx: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:930:27 [INFO] [stdout] | [INFO] [stdout] 930 | pub fn tostring(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:943:28 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn toboolean(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:730:21: note: in expansion of macro 'JF' [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:951:27 [INFO] [stdout] | [INFO] [stdout] 951 | pub fn tonumber(self: &State, idx: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:975:30 [INFO] [stdout] | [INFO] [stdout] 975 | pub fn getregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:980:30 [INFO] [stdout] | [INFO] [stdout] 980 | pub fn setregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'breaktarget': [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:985:30 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn delregistry(self: &State, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:991:19 [INFO] [stdout] | [INFO] [stdout] 991 | fn drop(self: &mut State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'continuetarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'returntarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:5: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c: In function 'DaylightSavingTA': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 44 | static double DaylightSavingTA(double t) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:6: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c: In function 'k_comp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 378 | static int k_comp(int e, int alpha, int gamma) { [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:7: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumpsyntax': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumplist': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 705 | void jsP_dumplist(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:16: [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c: In function 'fmtobject': [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:18: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getownproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getpropertyx': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getenumproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:20: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_insert': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 350 | void js_insert(js_State *J, int idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_isarrayindex': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 437 | int js_isarrayindex(js_State *J, const char *p, int *idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:21: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultalloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 10 | static void *js_defaultalloc(void *actx, void *ptr, int size) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultreport': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 19 | static void js_defaultreport(js_State *J, const char *message) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:22: [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ------------------------------ not an `extern` block [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: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'js_runeat': [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ---- not an `extern` block [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] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[link(name = "mujs", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ------- not an `extern` block [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] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: 14 | int js_runeat(js_State *J, const char *s, int i) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:23: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_toboolean': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 116 | int jsV_toboolean(js_State *J, js_Value *v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: At top level: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=] [INFO] [stderr] warning: mujs@0.0.3: 131 | const char *js_itoa(char *out, int v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/jsarray.c:2, [INFO] [stderr] warning: mujs@0.0.3: from mujs/one.c:1: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]' [INFO] [stderr] warning: mujs@0.0.3: 157 | const char *js_itoa(char buf[32], int a); [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~^~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_stringtonumber': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | double jsV_stringtonumber(js_State *J, const char *s) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_numbertostring': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:24: [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'default_alloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 896 | static void *default_alloc(void *ctx, void *p, int n) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_regexp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 424 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:425:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 425 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_string': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 520 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:521:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 521 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'nextrune': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 114 | case 0: die(g, "unterminated escape sequence"); [INFO] [stderr] warning: mujs@0.0.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:115:17: note: here [INFO] [stderr] warning: mujs@0.0.3: 115 | case 'f': g->yychar = '\f'; return 0; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] error: could not compile `mujs` (lib) due to 69 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:831:28 [INFO] [stdout] | [INFO] [stdout] 831 | let func: &mut Box = unsafe { std::mem::transmute(cb_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 831 | let func: &mut Box = unsafe { std::mem::transmute(cb_ptr) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:860:25 [INFO] [stdout] | [INFO] [stdout] 860 | let cb: Box> = Box::new(Box::new(func)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 860 | let cb: Box> = Box::new(Box::new(func)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | fn js_atpanic(J: *const c_void, panic: Option) -> *const c_void; [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | finalize: Option); [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:65 [INFO] [stdout] | [INFO] [stdout] 98 | fn js_newcfunction(J: *const c_void, func: Option, [INFO] [stdout] | ^ help: convert the identifier to snake case: `j` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:4: [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'findlocal': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:166:22: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 166 | static int findlocal(JF, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'here': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:228:17: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 228 | static int here(JF) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'checkdup': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:301:22: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 301 | static void checkdup(JF, js_Ast *list, js_Ast *end) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'ceval': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 509 | static void ceval(JF, js_Ast *fun, js_Ast *args) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'addjump': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:730:21: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'breaktarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:772:28: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'continuetarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:789:31: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c: In function 'returntarget': [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 9 | #define JF js_State *J, js_Function *F [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jscompile.c:805:29: note: in expansion of macro 'JF' [INFO] [stderr] warning: mujs@0.0.3: 805 | static js_Ast *returntarget(JF, js_Ast *node) [INFO] [stderr] warning: mujs@0.0.3: | ^~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:5: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c: In function 'DaylightSavingTA': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 44 | static double DaylightSavingTA(double t) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:6: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c: In function 'k_comp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 378 | static int k_comp(int e, int alpha, int gamma) { [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:7: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumpsyntax': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c: In function 'jsP_dumplist': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 705 | void jsP_dumplist(js_State *J, js_Ast *prog) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:16: [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c: In function 'fmtobject': [INFO] [stderr] warning: mujs@0.0.3: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:18: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getownproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getpropertyx': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c: In function 'jsV_getenumproperty': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:20: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_insert': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 350 | void js_insert(js_State *J, int idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c: In function 'js_isarrayindex': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 437 | int js_isarrayindex(js_State *J, const char *p, int *idx) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:21: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultalloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 10 | static void *js_defaultalloc(void *actx, void *ptr, int size) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c: In function 'js_defaultreport': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 19 | static void js_defaultreport(js_State *J, const char *message) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:22: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'js_runeat': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 14 | int js_runeat(js_State *J, const char *s, int i) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:23: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_toboolean': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 116 | int jsV_toboolean(js_State *J, js_Value *v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: At top level: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=] [INFO] [stderr] warning: mujs@0.0.3: 131 | const char *js_itoa(char *out, int v) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/jsarray.c:2, [INFO] [stderr] warning: mujs@0.0.3: from mujs/one.c:1: [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]' [INFO] [stderr] warning: mujs@0.0.3: 157 | const char *js_itoa(char buf[32], int a); [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~^~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_stringtonumber': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 183 | double jsV_stringtonumber(js_State *J, const char *s) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c: In function 'jsV_numbertostring': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~~~~~^ [INFO] [stderr] warning: mujs@0.0.3: In file included from mujs/one.c:24: [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'default_alloc': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: mujs@0.0.3: 896 | static void *default_alloc(void *ctx, void *p, int n) [INFO] [stderr] warning: mujs@0.0.3: | ~~~~~~^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_regexp': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 424 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:425:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 425 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c: In function 'Sp_replace_string': [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 520 | case 0: --r; /* end of string; back up and fall through */ [INFO] [stderr] warning: mujs@0.0.3: | ^~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/jsstring.c:521:33: note: here [INFO] [stderr] warning: mujs@0.0.3: 521 | case '$': js_putc(J, &sb, '$'); break; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c: In function 'nextrune': [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: mujs@0.0.3: 114 | case 0: die(g, "unterminated escape sequence"); [INFO] [stderr] warning: mujs@0.0.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: mujs@0.0.3: mujs/regexp.c:115:17: note: here [INFO] [stderr] warning: mujs@0.0.3: 115 | case 'f': g->yychar = '\f'; return 0; [INFO] [stderr] warning: mujs@0.0.3: | ^~~~ [INFO] [stderr] error: could not compile `mujs` (lib test) due to 69 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e983ab4feacfbb705dca2575825b560561f643ed017a209ef1fc3ab3cf7896ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e983ab4feacfbb705dca2575825b560561f643ed017a209ef1fc3ab3cf7896ad", kill_on_drop: false }` [INFO] [stdout] e983ab4feacfbb705dca2575825b560561f643ed017a209ef1fc3ab3cf7896ad