[INFO] fetching crate mujs 0.0.3... [INFO] checking mujs-0.0.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mujs 0.0.3 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mujs 0.0.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b848ca58736723803266844f9988fe7786fc4978a23b30d1cd26ccbb94341bef [INFO] running `Command { std: "docker" "start" "-a" "b848ca58736723803266844f9988fe7786fc4978a23b30d1cd26ccbb94341bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b848ca58736723803266844f9988fe7786fc4978a23b30d1cd26ccbb94341bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b848ca58736723803266844f9988fe7786fc4978a23b30d1cd26ccbb94341bef", kill_on_drop: false }` [INFO] [stdout] b848ca58736723803266844f9988fe7786fc4978a23b30d1cd26ccbb94341bef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3c210a6fc8aeacb1fd05640f0c258262db191bfba19840bb74430c62b914c4f [INFO] running `Command { std: "docker" "start" "-a" "b3c210a6fc8aeacb1fd05640f0c258262db191bfba19840bb74430c62b914c4f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling mujs v0.0.3 (/opt/rustwide/workdir) [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] 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] 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] 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)]` 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: `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: 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)]` 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: `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] 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] 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)]` 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: 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)]` on by default [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)]` 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] [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)]` 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)]` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "b3c210a6fc8aeacb1fd05640f0c258262db191bfba19840bb74430c62b914c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c210a6fc8aeacb1fd05640f0c258262db191bfba19840bb74430c62b914c4f", kill_on_drop: false }` [INFO] [stdout] b3c210a6fc8aeacb1fd05640f0c258262db191bfba19840bb74430c62b914c4f