[INFO] fetching crate mujs 0.0.3...
[INFO] testing mujs-0.0.3 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate mujs 0.0.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate mujs 0.0.3 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c3857f86ea798d1028ca38e7df90dd7e61bf9134b40a30bc93a9e2898dc5e9e
[INFO] running `Command { std: "docker" "start" "-a" "5c3857f86ea798d1028ca38e7df90dd7e61bf9134b40a30bc93a9e2898dc5e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c3857f86ea798d1028ca38e7df90dd7e61bf9134b40a30bc93a9e2898dc5e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c3857f86ea798d1028ca38e7df90dd7e61bf9134b40a30bc93a9e2898dc5e9e", kill_on_drop: false }`
[INFO] [stdout] 5c3857f86ea798d1028ca38e7df90dd7e61bf9134b40a30bc93a9e2898dc5e9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 079c42eaf7704a79cb28a3dc0a922828c2a4352b8449d4e15405ac39ff81fe82
[INFO] running `Command { std: "docker" "start" "-a" "079c42eaf7704a79cb28a3dc0a922828c2a4352b8449d4e15405ac39ff81fe82", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling 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] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/one.c:4:
[INFO] [stderr] warning: mujs/jscompile.c: In function 'findlocal':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:166:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   166 | static int findlocal(JF, const char *name)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'here':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:228:17: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   228 | static int here(JF)
[INFO] [stderr] warning:       |                 ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'checkdup':
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:301:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   301 | static void checkdup(JF, js_Ast *list, js_Ast *end)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'ceval':
[INFO] [stderr] warning: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter]
[INFO] [stderr] warning:   509 | static void ceval(JF, js_Ast *fun, js_Ast *args)
[INFO] [stderr] warning:       |                       ~~~~~~~~^~~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'addjump':
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:730:21: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst)
[INFO] [stderr] warning:       |                     ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'breaktarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'continuetarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'returntarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: In file included from mujs/one.c:5:
[INFO] [stderr] warning: mujs/jsdate.c: In function 'DaylightSavingTA':
[INFO] [stderr] warning: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter]
[INFO] [stderr] warning:    44 | static double DaylightSavingTA(double t)
[INFO] [stderr] warning:       |                                ~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:6:
[INFO] [stderr] warning: mujs/jsdtoa.c: In function 'k_comp':
[INFO] [stderr] warning: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter]
[INFO] [stderr] warning:   378 | static int k_comp(int e, int alpha, int gamma) {
[INFO] [stderr] warning:       |                                     ~~~~^~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:7:
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumpsyntax':
[INFO] [stderr] warning: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumplist':
[INFO] [stderr] warning: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   705 | void jsP_dumplist(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:16:
[INFO] [stderr] warning: mujs/json.c: In function 'fmtobject':
[INFO] [stderr] warning: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter]
[INFO] [stderr] warning:   209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level)
[INFO] [stderr] warning:       |                                                    ~~~~~~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:18:
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getownproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                                 ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getpropertyx':
[INFO] [stderr] warning: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own)
[INFO] [stderr] warning:       |                               ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                              ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getenumproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                                         ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:20:
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_insert':
[INFO] [stderr] warning: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter]
[INFO] [stderr] warning:   350 | void js_insert(js_State *J, int idx)
[INFO] [stderr] warning:       |                             ~~~~^~~
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_isarrayindex':
[INFO] [stderr] warning: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   437 | int js_isarrayindex(js_State *J, const char *p, int *idx)
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:21:
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultalloc':
[INFO] [stderr] warning: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter]
[INFO] [stderr] warning:    10 | static void *js_defaultalloc(void *actx, void *ptr, int size)
[INFO] [stderr] warning:       |                              ~~~~~~^~~~
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultreport':
[INFO] [stderr] warning: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:    19 | static void js_defaultreport(js_State *J, const char *message)
[INFO] [stderr] warning:       |                              ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stderr] warning: mujs/jsstring.c: In function 'js_runeat':
[INFO] [stderr] warning: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:    14 | int js_runeat(js_State *J, const char *s, int i)
[INFO] [stderr] warning:       |               ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_toboolean':
[INFO] [stderr] warning: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   116 | int jsV_toboolean(js_State *J, js_Value *v)
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsvalue.c: At top level:
[INFO] [stderr] warning: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=]
[INFO] [stderr] warning:   131 | const char *js_itoa(char *out, int v)
[INFO] [stderr] warning:       |                     ~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/jsarray.c:2,
[INFO] [stderr] warning:                  from mujs/one.c:1:
[INFO] [stderr] warning: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]'
[INFO] [stderr] warning:   157 | const char *js_itoa(char buf[32], int a);
[INFO] [stderr] warning:       |                     ~~~~~^~~~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_stringtonumber':
[INFO] [stderr] warning: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | double jsV_stringtonumber(js_State *J, const char *s)
[INFO] [stderr] warning:       |                           ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_numbertostring':
[INFO] [stderr] warning: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f)
[INFO] [stderr] warning:       |                                ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'default_alloc':
[INFO] [stderr] warning: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter]
[INFO] [stderr] warning:   896 | static void *default_alloc(void *ctx, void *p, int n)
[INFO] [stderr] warning:       |                            ~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_regexp':
[INFO] [stderr] warning: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   424 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:425:33: note: here
[INFO] [stderr] warning:   425 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_string':
[INFO] [stderr] warning: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   520 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:521:33: note: here
[INFO] [stderr] warning:   521 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'nextrune':
[INFO] [stderr] warning: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   114 |                 case 0: die(g, "unterminated escape sequence");
[INFO] [stderr] warning:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: mujs/regexp.c:115:17: note: here
[INFO] [stderr] warning:   115 |                 case 'f': g->yychar = '\f'; return 0;
[INFO] [stderr] warning:       |                 ^~~~
[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] 164 | |     }
[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] 164 | |     }
[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] 164 | |     }
[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] 190 | |     }
[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] 190 | |     }
[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] 190 | |     }
[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: 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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:831:28
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let func: &mut Box<FnMut(&State)> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let func: &mut Box<dyn FnMut(&State)> = 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<FnMut(&State)>> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 860 |         let cb: Box<Box<dyn FnMut(&State)>> = Box::new(Box::new(func));
[INFO] [stdout]     |                         +++
[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: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:295:56
[INFO] [stdout]     |
[INFO] [stdout] 295 | ...                   filename.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                       --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:296:54
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...                   source.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                       ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:394:80
[INFO] [stdout]     |
[INFO] [stdout] 394 |         match unsafe {js_dostring((*self.ptr).state, source.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                      ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:425:76
[INFO] [stdout]     |
[INFO] [stdout] 425 |         unsafe { js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:430:80
[INFO] [stdout]     |
[INFO] [stdout] 430 |         unsafe { js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:435:81
[INFO] [stdout]     |
[INFO] [stdout] 435 |         unsafe { js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                      -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:440:85
[INFO] [stdout]     |
[INFO] [stdout] 440 |         unsafe { js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                          -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:445:82
[INFO] [stdout]     |
[INFO] [stdout] 445 |         unsafe { js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:450:80
[INFO] [stdout]     |
[INFO] [stdout] 450 |         unsafe { js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:455:79
[INFO] [stdout]     |
[INFO] [stdout] 455 |         unsafe { js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:461:71
[INFO] [stdout]     |
[INFO] [stdout] 461 |             js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                            -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:469:75
[INFO] [stdout]     |
[INFO] [stdout] 469 |             js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:477:76
[INFO] [stdout]     |
[INFO] [stdout] 477 |             js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:485:80
[INFO] [stdout]     |
[INFO] [stdout] 485 |             js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:493:77
[INFO] [stdout]     |
[INFO] [stdout] 493 |             js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:501:75
[INFO] [stdout]     |
[INFO] [stdout] 501 |             js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:509:74
[INFO] [stdout]     |
[INFO] [stdout] 509 |             js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                               -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:622:75
[INFO] [stdout]     |
[INFO] [stdout] 622 |         unsafe { js_newstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                  ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:648:77
[INFO] [stdout]     |
[INFO] [stdout] 648 |         unsafe { js_newregexp((*self.ptr).state, pattern.to_cstr().unwrap().as_ptr(), flags.bits) };
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:684:76
[INFO] [stdout]     |
[INFO] [stdout] 684 |         unsafe { js_pushstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                   ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:704:87
[INFO] [stdout]     |
[INFO] [stdout] 704 |         match unsafe { js_hasproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                               ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:712:81
[INFO] [stdout]     |
[INFO] [stdout] 712 |         unsafe { js_setproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:717:81
[INFO] [stdout]     |
[INFO] [stdout] 717 |         unsafe { js_getproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:735:81
[INFO] [stdout]     |
[INFO] [stdout] 735 |         unsafe { js_defproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:744:81
[INFO] [stdout]     |
[INFO] [stdout] 744 |         unsafe { js_defaccessor((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:749:81
[INFO] [stdout]     |
[INFO] [stdout] 749 |         unsafe { js_delproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:807:74
[INFO] [stdout]     |
[INFO] [stdout] 807 |         unsafe { js_getglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:812:74
[INFO] [stdout]     |
[INFO] [stdout] 812 |         unsafe { js_setglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:817:74
[INFO] [stdout]     |
[INFO] [stdout] 817 |         unsafe { js_defglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr(), attrs.bits) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:827:67
[INFO] [stdout]     |
[INFO] [stdout] 827 |             js_getproperty(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                    ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:828:66
[INFO] [stdout]     |
[INFO] [stdout] 828 |             js_touserdata(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:864:53
[INFO] [stdout]     |
[INFO] [stdout] 864 | ...                   name.to_cstr().unwrap().as_ptr(),length);
[INFO] [stdout]     |                       ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:866:77
[INFO] [stdout]     |
[INFO] [stdout] 866 |             js_newuserdata((*self.ptr).state,CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                              ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:868:82
[INFO] [stdout]     |
[INFO] [stdout] 868 |             js_defproperty((*self.ptr).state, -2, CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:976:76
[INFO] [stdout]     |
[INFO] [stdout] 976 |         unsafe { js_getregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:981:76
[INFO] [stdout]     |
[INFO] [stdout] 981 |         unsafe { js_setregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:986:76
[INFO] [stdout]     |
[INFO] [stdout] 986 |         unsafe { js_delregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.31s
[INFO] running `Command { std: "docker" "inspect" "079c42eaf7704a79cb28a3dc0a922828c2a4352b8449d4e15405ac39ff81fe82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "079c42eaf7704a79cb28a3dc0a922828c2a4352b8449d4e15405ac39ff81fe82", kill_on_drop: false }`
[INFO] [stdout] 079c42eaf7704a79cb28a3dc0a922828c2a4352b8449d4e15405ac39ff81fe82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a851ea4aa5655286b44c32e8932d302eb49b03f43c1e6fa5168df8f35b1e8e2
[INFO] running `Command { std: "docker" "start" "-a" "7a851ea4aa5655286b44c32e8932d302eb49b03f43c1e6fa5168df8f35b1e8e2", kill_on_drop: false }`
[INFO] [stderr] warning: In file included from mujs/one.c:4:
[INFO] [stderr] warning: mujs/jscompile.c: In function 'findlocal':
[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/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:166:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   166 | static int findlocal(JF, const char *name)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'here':
[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] 164 | |     }
[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] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[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] 164 | |     }
[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] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[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] 164 | |     }
[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] [stderr] warning:       |            ~~~~~~~~~~^
[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] [stderr] warning: mujs/jscompile.c:228:17: note: in expansion of macro 'JF'
[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] [stderr] warning:   228 | static int here(JF)
[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] [stderr] warning:       |                 ^~
[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] 190 | |     }
[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] [stderr] warning: mujs/jscompile.c: In function 'checkdup':
[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] 190 | |     }
[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] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[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] 190 | |     }
[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] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[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] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[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/jscompile.c:301:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   301 | static void checkdup(JF, js_Ast *list, js_Ast *end)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'ceval':
[INFO] [stderr] warning: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter]
[INFO] [stderr] warning:   509 | static void ceval(JF, js_Ast *fun, js_Ast *args)
[INFO] [stderr] warning:       |                       ~~~~~~~~^~~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'addjump':
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:730:21: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst)
[INFO] [stderr] warning:       |                     ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'breaktarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'continuetarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'returntarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: In file included from mujs/one.c:5:
[INFO] [stderr] warning: mujs/jsdate.c: In function 'DaylightSavingTA':
[INFO] [stderr] warning: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter]
[INFO] [stderr] warning:    44 | static double DaylightSavingTA(double t)
[INFO] [stderr] warning:       |                                ~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:6:
[INFO] [stderr] warning: mujs/jsdtoa.c: In function 'k_comp':
[INFO] [stderr] warning: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter]
[INFO] [stderr] warning:   378 | static int k_comp(int e, int alpha, int gamma) {
[INFO] [stderr] warning:       |                                     ~~~~^~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:7:
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumpsyntax':
[INFO] [stderr] warning: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumplist':
[INFO] [stderr] warning: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   705 | void jsP_dumplist(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:16:
[INFO] [stderr] warning: mujs/json.c: In function 'fmtobject':
[INFO] [stderr] warning: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter]
[INFO] [stderr] warning:   209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level)
[INFO] [stderr] warning:       |                                                    ~~~~~~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:18:
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getownproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                                 ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getpropertyx':
[INFO] [stderr] warning: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own)
[INFO] [stderr] warning:       |                               ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name)
[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:       |                              ~~~~~~~~~~^
[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<FnMut(&State)> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let func: &mut Box<dyn FnMut(&State)> = unsafe { std::mem::transmute(cb_ptr) };
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getenumproperty':
[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<FnMut(&State)>> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 860 |         let cb: Box<Box<dyn FnMut(&State)>> = Box::new(Box::new(func));
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter]
[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] [stderr] warning:   194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:295:56
[INFO] [stdout]     |
[INFO] [stdout] 295 | ...                   filename.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                       --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                                         ~~~~~~~~~~^
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:296:54
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...                   source.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                       ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/one.c:20:
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:394:80
[INFO] [stdout]     |
[INFO] [stdout] 394 |         match unsafe {js_dostring((*self.ptr).state, source.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                      ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_insert':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:425:76
[INFO] [stdout]     |
[INFO] [stdout] 425 |         unsafe { js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:430:80
[INFO] [stdout]     |
[INFO] [stdout] 430 |         unsafe { js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:   350 | void js_insert(js_State *J, int idx)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:435:81
[INFO] [stdout]     |
[INFO] [stdout] 435 |         unsafe { js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                      -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                             ~~~~^~~
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:440:85
[INFO] [stdout]     |
[INFO] [stdout] 440 |         unsafe { js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                          -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_isarrayindex':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:445:82
[INFO] [stdout]     |
[INFO] [stdout] 445 |         unsafe { js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:450:80
[INFO] [stdout]     |
[INFO] [stdout] 450 |         unsafe { js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:   437 | int js_isarrayindex(js_State *J, const char *p, int *idx)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:455:79
[INFO] [stdout]     |
[INFO] [stdout] 455 |         unsafe { js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:461:71
[INFO] [stdout]     |
[INFO] [stdout] 461 |             js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                            -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/one.c:21:
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:469:75
[INFO] [stdout]     |
[INFO] [stdout] 469 |             js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultalloc':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:477:76
[INFO] [stdout]     |
[INFO] [stdout] 477 |             js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:485:80
[INFO] [stdout]     |
[INFO] [stdout] 485 |             js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:    10 | static void *js_defaultalloc(void *actx, void *ptr, int size)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:493:77
[INFO] [stdout]     |
[INFO] [stdout] 493 |             js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                              ~~~~~~^~~~
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:501:75
[INFO] [stdout]     |
[INFO] [stdout] 501 |             js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultreport':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:509:74
[INFO] [stdout]     |
[INFO] [stdout] 509 |             js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                               -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:622:75
[INFO] [stdout]     |
[INFO] [stdout] 622 |         unsafe { js_newstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                  ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:    19 | static void js_defaultreport(js_State *J, const char *message)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:648:77
[INFO] [stdout]     |
[INFO] [stdout] 648 |         unsafe { js_newregexp((*self.ptr).state, pattern.to_cstr().unwrap().as_ptr(), flags.bits) };
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                              ~~~~~~~~~~^
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:684:76
[INFO] [stdout]     |
[INFO] [stdout] 684 |         unsafe { js_pushstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                   ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:704:87
[INFO] [stdout]     |
[INFO] [stdout] 704 |         match unsafe { js_hasproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                               ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstring.c: In function 'js_runeat':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:712:81
[INFO] [stdout]     |
[INFO] [stdout] 712 |         unsafe { js_setproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:717:81
[INFO] [stdout]     |
[INFO] [stdout] 717 |         unsafe { js_getproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:    14 | int js_runeat(js_State *J, const char *s, int i)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:735:81
[INFO] [stdout]     |
[INFO] [stdout] 735 |         unsafe { js_defproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |               ~~~~~~~~~~^
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:744:81
[INFO] [stdout]     |
[INFO] [stdout] 744 |         unsafe { js_defaccessor((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:749:81
[INFO] [stdout]     |
[INFO] [stdout] 749 |         unsafe { js_delproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_toboolean':
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:807:74
[INFO] [stdout]     |
[INFO] [stdout] 807 |         unsafe { js_getglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:812:74
[INFO] [stdout]     |
[INFO] [stdout] 812 |         unsafe { js_setglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:   116 | int jsV_toboolean(js_State *J, js_Value *v)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:817:74
[INFO] [stdout]     |
[INFO] [stdout] 817 |         unsafe { js_defglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr(), attrs.bits) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:827:67
[INFO] [stdout]     |
[INFO] [stdout] 827 |             js_getproperty(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                    ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsvalue.c: At top level:
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:828:66
[INFO] [stdout]     |
[INFO] [stdout] 828 |             js_touserdata(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=]
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:864:53
[INFO] [stdout]     |
[INFO] [stdout] 864 | ...                   name.to_cstr().unwrap().as_ptr(),length);
[INFO] [stdout]     |                       ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:   131 | const char *js_itoa(char *out, int v)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:866:77
[INFO] [stdout]     |
[INFO] [stdout] 866 |             js_newuserdata((*self.ptr).state,CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                              ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning:       |                     ~~~~~~^~~
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:868:82
[INFO] [stdout]     |
[INFO] [stdout] 868 |             js_defproperty((*self.ptr).state, -2, CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: In file included from mujs/jsarray.c:2,
[INFO] [stderr] warning:                  from mujs/one.c:1:
[INFO] [stderr] warning: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]'
[INFO] [stderr] warning:   157 | const char *js_itoa(char buf[32], int a);
[INFO] [stderr] warning:       |                     ~~~~~^~~~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_stringtonumber':
[INFO] [stderr] warning: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | double jsV_stringtonumber(js_State *J, const char *s)
[INFO] [stderr] warning:       |                           ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_numbertostring':
[INFO] [stderr] warning: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f)
[INFO] [stderr] warning:       |                                ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'default_alloc':
[INFO] [stderr] warning: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter]
[INFO] [stderr] warning:   896 | static void *default_alloc(void *ctx, void *p, int n)
[INFO] [stderr] warning:       |                            ~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_regexp':
[INFO] [stderr] warning: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   424 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:425:33: note: here
[INFO] [stderr] warning:   425 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_string':
[INFO] [stderr] warning: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   520 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:521:33: note: here
[INFO] [stderr] warning:   521 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'nextrune':
[INFO] [stderr] warning: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   114 |                 case 0: die(g, "unterminated escape sequence");
[INFO] [stderr] warning:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: mujs/regexp.c:115:17: note: here
[INFO] [stderr] warning:   115 |                 case 'f': g->yychar = '\f'; return 0;
[INFO] [stderr] warning:       |                 ^~~~
[INFO] [stderr]    Compiling mujs v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:976:76
[INFO] [stdout]     |
[INFO] [stdout] 976 |         unsafe { js_getregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:981:76
[INFO] [stdout]     |
[INFO] [stdout] 981 |         unsafe { js_setregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:986:76
[INFO] [stdout]     |
[INFO] [stdout] 986 |         unsafe { js_delregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[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] 164 | |     }
[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] 164 | |     }
[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] 164 | |     }
[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] 190 | |     }
[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] 190 | |     }
[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] 190 | |     }
[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: 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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:831:28
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let func: &mut Box<FnMut(&State)> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let func: &mut Box<dyn FnMut(&State)> = 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<FnMut(&State)>> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 860 |         let cb: Box<Box<dyn FnMut(&State)>> = Box::new(Box::new(func));
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:295:56
[INFO] [stdout]     |
[INFO] [stdout] 295 | ...                   filename.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                       --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:296:54
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...                   source.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                       ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:394:80
[INFO] [stdout]     |
[INFO] [stdout] 394 |         match unsafe {js_dostring((*self.ptr).state, source.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                      ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:425:76
[INFO] [stdout]     |
[INFO] [stdout] 425 |         unsafe { js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:430:80
[INFO] [stdout]     |
[INFO] [stdout] 430 |         unsafe { js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:435:81
[INFO] [stdout]     |
[INFO] [stdout] 435 |         unsafe { js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                      -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:440:85
[INFO] [stdout]     |
[INFO] [stdout] 440 |         unsafe { js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                          -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:445:82
[INFO] [stdout]     |
[INFO] [stdout] 445 |         unsafe { js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:450:80
[INFO] [stdout]     |
[INFO] [stdout] 450 |         unsafe { js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:455:79
[INFO] [stdout]     |
[INFO] [stdout] 455 |         unsafe { js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:461:71
[INFO] [stdout]     |
[INFO] [stdout] 461 |             js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                            -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:469:75
[INFO] [stdout]     |
[INFO] [stdout] 469 |             js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:477:76
[INFO] [stdout]     |
[INFO] [stdout] 477 |             js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:485:80
[INFO] [stdout]     |
[INFO] [stdout] 485 |             js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                     |
[INFO] [stdout]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:493:77
[INFO] [stdout]     |
[INFO] [stdout] 493 |             js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:501:75
[INFO] [stdout]     |
[INFO] [stdout] 501 |             js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:509:74
[INFO] [stdout]     |
[INFO] [stdout] 509 |             js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                               -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:622:75
[INFO] [stdout]     |
[INFO] [stdout] 622 |         unsafe { js_newstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                  ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:648:77
[INFO] [stdout]     |
[INFO] [stdout] 648 |         unsafe { js_newregexp((*self.ptr).state, pattern.to_cstr().unwrap().as_ptr(), flags.bits) };
[INFO] [stdout]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:684:76
[INFO] [stdout]     |
[INFO] [stdout] 684 |         unsafe { js_pushstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                   ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:704:87
[INFO] [stdout]     |
[INFO] [stdout] 704 |         match unsafe { js_hasproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) } {
[INFO] [stdout]     |                                                               ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:712:81
[INFO] [stdout]     |
[INFO] [stdout] 712 |         unsafe { js_setproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:717:81
[INFO] [stdout]     |
[INFO] [stdout] 717 |         unsafe { js_getproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:735:81
[INFO] [stdout]     |
[INFO] [stdout] 735 |         unsafe { js_defproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:744:81
[INFO] [stdout]     |
[INFO] [stdout] 744 |         unsafe { js_defaccessor((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:749:81
[INFO] [stdout]     |
[INFO] [stdout] 749 |         unsafe { js_delproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stdout]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:807:74
[INFO] [stdout]     |
[INFO] [stdout] 807 |         unsafe { js_getglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:812:74
[INFO] [stdout]     |
[INFO] [stdout] 812 |         unsafe { js_setglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:817:74
[INFO] [stdout]     |
[INFO] [stdout] 817 |         unsafe { js_defglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr(), attrs.bits) }
[INFO] [stdout]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:827:67
[INFO] [stdout]     |
[INFO] [stdout] 827 |             js_getproperty(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr());
[INFO] [stdout]     |                                    ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:828:66
[INFO] [stdout]     |
[INFO] [stdout] 828 |             js_touserdata(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr())
[INFO] [stdout]     |                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:864:53
[INFO] [stdout]     |
[INFO] [stdout] 864 | ...                   name.to_cstr().unwrap().as_ptr(),length);
[INFO] [stdout]     |                       ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:866:77
[INFO] [stdout]     |
[INFO] [stdout] 866 |             js_newuserdata((*self.ptr).state,CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                              ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:868:82
[INFO] [stdout]     |
[INFO] [stdout] 868 |             js_defproperty((*self.ptr).state, -2, CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stdout]     |                                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:976:76
[INFO] [stdout]     |
[INFO] [stdout] 976 |         unsafe { js_getregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:981:76
[INFO] [stdout]     |
[INFO] [stdout] 981 |         unsafe { js_setregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/lib.rs:986:76
[INFO] [stdout]     |
[INFO] [stdout] 986 |         unsafe { js_delregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stdout]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 51 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "7a851ea4aa5655286b44c32e8932d302eb49b03f43c1e6fa5168df8f35b1e8e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a851ea4aa5655286b44c32e8932d302eb49b03f43c1e6fa5168df8f35b1e8e2", kill_on_drop: false }`
[INFO] [stdout] 7a851ea4aa5655286b44c32e8932d302eb49b03f43c1e6fa5168df8f35b1e8e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ba78df60a84d5cd42a90bf987a12bd7e32b3ac73f167c7520c262b607231a0b8
[INFO] running `Command { std: "docker" "start" "-a" "ba78df60a84d5cd42a90bf987a12bd7e32b3ac73f167c7520c262b607231a0b8", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stderr]  --> build.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 |     gcc::compile_library("libmujs.a", &["mujs/one.c"]);
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mujs` (build script) generated 1 warning
[INFO] [stderr] warning: In file included from mujs/one.c:4:
[INFO] [stderr] warning: mujs/jscompile.c: In function 'findlocal':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:166:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   166 | static int findlocal(JF, const char *name)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'here':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:228:17: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   228 | static int here(JF)
[INFO] [stderr] warning:       |                 ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'checkdup':
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:301:22: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   301 | static void checkdup(JF, js_Ast *list, js_Ast *end)
[INFO] [stderr] warning:       |                      ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'ceval':
[INFO] [stderr] warning: mujs/jscompile.c:509:31: warning: unused parameter 'fun' [-Wunused-parameter]
[INFO] [stderr] warning:   509 | static void ceval(JF, js_Ast *fun, js_Ast *args)
[INFO] [stderr] warning:       |                       ~~~~~~~~^~~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'addjump':
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:730:21: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   730 | static void addjump(JF, enum js_AstType type, js_Ast *target, int inst)
[INFO] [stderr] warning:       |                     ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'breaktarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:772:28: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   772 | static js_Ast *breaktarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                            ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'continuetarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:789:31: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   789 | static js_Ast *continuetarget(JF, js_Ast *node, const char *label)
[INFO] [stderr] warning:       |                               ^~
[INFO] [stderr] warning: mujs/jscompile.c: In function 'returntarget':
[INFO] [stderr] warning: mujs/jscompile.c:9:22: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |            ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: mujs/jscompile.c:9:38: warning: unused parameter 'F' [-Wunused-parameter]
[INFO] [stderr] warning:     9 | #define JF js_State *J, js_Function *F
[INFO] [stderr] warning:       |                         ~~~~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jscompile.c:805:29: note: in expansion of macro 'JF'
[INFO] [stderr] warning:   805 | static js_Ast *returntarget(JF, js_Ast *node)
[INFO] [stderr] warning:       |                             ^~
[INFO] [stderr] warning: In file included from mujs/one.c:5:
[INFO] [stderr] warning: mujs/jsdate.c: In function 'DaylightSavingTA':
[INFO] [stderr] warning: mujs/jsdate.c:44:39: warning: unused parameter 't' [-Wunused-parameter]
[INFO] [stderr] warning:    44 | static double DaylightSavingTA(double t)
[INFO] [stderr] warning:       |                                ~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:6:
[INFO] [stderr] warning: mujs/jsdtoa.c: In function 'k_comp':
[INFO] [stderr] warning: mujs/jsdtoa.c:378:41: warning: unused parameter 'gamma' [-Wunused-parameter]
[INFO] [stderr] warning:   378 | static int k_comp(int e, int alpha, int gamma) {
[INFO] [stderr] warning:       |                                     ~~~~^~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:7:
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumpsyntax':
[INFO] [stderr] warning: mujs/jsdump.c:624:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   624 | void jsP_dumpsyntax(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsdump.c: In function 'jsP_dumplist':
[INFO] [stderr] warning: mujs/jsdump.c:705:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   705 | void jsP_dumplist(js_State *J, js_Ast *prog)
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:16:
[INFO] [stderr] warning: mujs/json.c: In function 'fmtobject':
[INFO] [stderr] warning: mujs/json.c:209:63: warning: unused parameter 'obj' [-Wunused-parameter]
[INFO] [stderr] warning:   209 | static void fmtobject(js_State *J, js_Buffer **sb, js_Object *obj, const char *gap, int level)
[INFO] [stderr] warning:       |                                                    ~~~~~~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:18:
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getownproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:165:43: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   165 | js_Property *jsV_getownproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                                 ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getpropertyx':
[INFO] [stderr] warning: mujs/jsproperty.c:170:41: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   170 | js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own)
[INFO] [stderr] warning:       |                               ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:183:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                              ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsproperty.c: In function 'jsV_getenumproperty':
[INFO] [stderr] warning: mujs/jsproperty.c:194:51: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   194 | static js_Property *jsV_getenumproperty(js_State *J, js_Object *obj, const char *name)
[INFO] [stderr] warning:       |                                         ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:20:
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_insert':
[INFO] [stderr] warning: mujs/jsrun.c:350:33: warning: unused parameter 'idx' [-Wunused-parameter]
[INFO] [stderr] warning:   350 | void js_insert(js_State *J, int idx)
[INFO] [stderr] warning:       |                             ~~~~^~~
[INFO] [stderr] warning: mujs/jsrun.c: In function 'js_isarrayindex':
[INFO] [stderr] warning: mujs/jsrun.c:437:31: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   437 | int js_isarrayindex(js_State *J, const char *p, int *idx)
[INFO] [stderr] warning:       |                     ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:21:
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultalloc':
[INFO] [stderr] warning: mujs/jsstate.c:10:36: warning: unused parameter 'actx' [-Wunused-parameter]
[INFO] [stderr] warning:    10 | static void *js_defaultalloc(void *actx, void *ptr, int size)
[INFO] [stderr] warning:       |                              ~~~~~~^~~~
[INFO] [stderr] warning: mujs/jsstate.c: In function 'js_defaultreport':
[INFO] [stderr] warning: mujs/jsstate.c:19:40: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:    19 | static void js_defaultreport(js_State *J, const char *message)
[INFO] [stderr] warning:       |                              ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stderr] warning: mujs/jsstring.c: In function 'js_runeat':
[INFO] [stderr] warning: mujs/jsstring.c:14:25: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:    14 | int js_runeat(js_State *J, const char *s, int i)
[INFO] [stderr] warning:       |               ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_toboolean':
[INFO] [stderr] warning: mujs/jsvalue.c:116:29: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   116 | int jsV_toboolean(js_State *J, js_Value *v)
[INFO] [stderr] warning:       |                   ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsvalue.c: At top level:
[INFO] [stderr] warning: mujs/jsvalue.c:131:27: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=]
[INFO] [stderr] warning:   131 | const char *js_itoa(char *out, int v)
[INFO] [stderr] warning:       |                     ~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/jsarray.c:2,
[INFO] [stderr] warning:                  from mujs/one.c:1:
[INFO] [stderr] warning: mujs/jsvalue.h:157:26: note: previously declared as an array 'char[32]'
[INFO] [stderr] warning:   157 | const char *js_itoa(char buf[32], int a);
[INFO] [stderr] warning:       |                     ~~~~~^~~~~~~
[INFO] [stderr] warning: In file included from mujs/one.c:23:
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_stringtonumber':
[INFO] [stderr] warning: mujs/jsvalue.c:183:37: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   183 | double jsV_stringtonumber(js_State *J, const char *s)
[INFO] [stderr] warning:       |                           ~~~~~~~~~~^
[INFO] [stderr] warning: mujs/jsvalue.c: In function 'jsV_numbertostring':
[INFO] [stderr] warning: mujs/jsvalue.c:227:42: warning: unused parameter 'J' [-Wunused-parameter]
[INFO] [stderr] warning:   227 | const char *jsV_numbertostring(js_State *J, char buf[32], double f)
[INFO] [stderr] warning:       |                                ~~~~~~~~~~^
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'default_alloc':
[INFO] [stderr] warning: mujs/regexp.c:896:34: warning: unused parameter 'ctx' [-Wunused-parameter]
[INFO] [stderr] warning:   896 | static void *default_alloc(void *ctx, void *p, int n)
[INFO] [stderr] warning:       |                            ~~~~~~^~~
[INFO] [stderr] warning: In file included from mujs/one.c:22:
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_regexp':
[INFO] [stderr] warning: mujs/jsstring.c:424:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   424 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:425:33: note: here
[INFO] [stderr] warning:   425 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: mujs/jsstring.c: In function 'Sp_replace_string':
[INFO] [stderr] warning: mujs/jsstring.c:520:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   520 |                                 case 0: --r; /* end of string; back up and fall through */
[INFO] [stderr] warning:       |                                         ^~~
[INFO] [stderr] warning: mujs/jsstring.c:521:33: note: here
[INFO] [stderr] warning:   521 |                                 case '$': js_putc(J, &sb, '$'); break;
[INFO] [stderr] warning:       |                                 ^~~~
[INFO] [stderr] warning: In file included from mujs/one.c:24:
[INFO] [stderr] warning: mujs/regexp.c: In function 'nextrune':
[INFO] [stderr] warning: mujs/regexp.c:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning:   114 |                 case 0: die(g, "unterminated escape sequence");
[INFO] [stderr] warning:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: mujs/regexp.c:115:17: note: here
[INFO] [stderr] warning:   115 |                 case 'f': g->yychar = '\f'; return 0;
[INFO] [stderr] warning:       |                 ^~~~
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/lib.rs:141:1
[INFO] [stderr]     |
[INFO] [stderr] 141 | / bitflags! {
[INFO] [stderr] 142 | |     pub struct PropertyAttributes: c_int {
[INFO] [stderr] 143 | |         /// Read only property attribute
[INFO] [stderr] 144 | |         ///
[INFO] [stderr] ...   |
[INFO] [stderr] 164 | |     }
[INFO] [stderr] 165 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/lib.rs:141:1
[INFO] [stderr]     |
[INFO] [stderr] 141 | / bitflags! {
[INFO] [stderr] 142 | |     pub struct PropertyAttributes: c_int {
[INFO] [stderr] 143 | |         /// Read only property attribute
[INFO] [stderr] 144 | |         ///
[INFO] [stderr] ...   |
[INFO] [stderr] 164 | |     }
[INFO] [stderr] 165 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/lib.rs:167:1
[INFO] [stderr]     |
[INFO] [stderr] 167 | / bitflags! {
[INFO] [stderr] 168 | |     pub struct StateFlags: c_int {
[INFO] [stderr] 169 | |         /// Compile and run code using ES5 strict mode.
[INFO] [stderr] 170 | |         const JS_STRICT = 1;
[INFO] [stderr] 171 | |     }
[INFO] [stderr] 172 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/lib.rs:174:1
[INFO] [stderr]     |
[INFO] [stderr] 174 | / bitflags! {
[INFO] [stderr] 175 | |     /// Regular expression (RegExp) flags
[INFO] [stderr] 176 | |     pub struct RegExpFlags: c_int {
[INFO] [stderr] 177 | |         /// Global match
[INFO] [stderr] ...   |
[INFO] [stderr] 190 | |     }
[INFO] [stderr] 191 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: attribute should be applied to an `extern` block with non-Rust ABI
[INFO] [stderr]   --> src/lib.rs:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[link(name = "mujs", kind="static")]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 29 | use std::ffi::{CStr, CString};
[INFO] [stderr]    | ------------------------------ not an `extern` block
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: attribute should be applied to an `extern` block with non-Rust ABI
[INFO] [stderr]   --> src/lib.rs:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[link(name = "mujs", kind="static")]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 29 | use std::ffi::{CStr, CString};
[INFO] [stderr]    |                ---- not an `extern` block
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] 
[INFO] [stderr] warning: attribute should be applied to an `extern` block with non-Rust ABI
[INFO] [stderr]   --> src/lib.rs:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[link(name = "mujs", kind="static")]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 29 | use std::ffi::{CStr, CString};
[INFO] [stderr]    |                      ------- not an `extern` block
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:831:28
[INFO] [stderr]     |
[INFO] [stderr] 831 |         let func: &mut Box<FnMut(&State)> = unsafe { std::mem::transmute(cb_ptr) };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 831 |         let func: &mut Box<dyn FnMut(&State)> = unsafe { std::mem::transmute(cb_ptr) };
[INFO] [stderr]     |                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:860:25
[INFO] [stderr]     |
[INFO] [stderr] 860 |         let cb: Box<Box<FnMut(&State)>> = Box::new(Box::new(func));
[INFO] [stderr]     |                         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 860 |         let cb: Box<Box<dyn FnMut(&State)>> = Box::new(Box::new(func));
[INFO] [stderr]     |                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: function `js_call` is never used
[INFO] [stderr]   --> src/lib.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn js_call(J: *const c_void, n: c_int) -> c_int;
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:295:56
[INFO] [stderr]     |
[INFO] [stderr] 295 | ...                   filename.to_cstr().unwrap().as_ptr(),
[INFO] [stderr]     |                       --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:296:54
[INFO] [stderr]     |
[INFO] [stderr] 296 | ...                   source.to_cstr().unwrap().as_ptr())
[INFO] [stderr]     |                       ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:394:80
[INFO] [stderr]     |
[INFO] [stderr] 394 |         match unsafe {js_dostring((*self.ptr).state, source.to_cstr().unwrap().as_ptr()) } {
[INFO] [stderr]     |                                                      ------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                      |
[INFO] [stderr]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:425:76
[INFO] [stderr]     |
[INFO] [stderr] 425 |         unsafe { js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) };
[INFO] [stderr]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                 |
[INFO] [stderr]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:430:80
[INFO] [stderr]     |
[INFO] [stderr] 430 |         unsafe { js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                     |
[INFO] [stderr]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:435:81
[INFO] [stderr]     |
[INFO] [stderr] 435 |         unsafe { js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                      -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                      |
[INFO] [stderr]     |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:440:85
[INFO] [stderr]     |
[INFO] [stderr] 440 |         unsafe { js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                          -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                          |
[INFO] [stderr]     |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:445:82
[INFO] [stderr]     |
[INFO] [stderr] 445 |         unsafe { js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                       |
[INFO] [stderr]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:450:80
[INFO] [stderr]     |
[INFO] [stderr] 450 |         unsafe { js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                     |
[INFO] [stderr]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:455:79
[INFO] [stderr]     |
[INFO] [stderr] 455 |         unsafe { js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                    |
[INFO] [stderr]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:461:71
[INFO] [stderr]     |
[INFO] [stderr] 461 |             js_newerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                            -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                            |
[INFO] [stderr]     |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:469:75
[INFO] [stderr]     |
[INFO] [stderr] 469 |             js_newevalerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                |
[INFO] [stderr]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:477:76
[INFO] [stderr]     |
[INFO] [stderr] 477 |             js_newrangeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                 |
[INFO] [stderr]     |                                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:485:80
[INFO] [stderr]     |
[INFO] [stderr] 485 |             js_newreferenceerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                     |
[INFO] [stderr]     |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:493:77
[INFO] [stderr]     |
[INFO] [stderr] 493 |             js_newsyntaxerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:501:75
[INFO] [stderr]     |
[INFO] [stderr] 501 |             js_newtypeerror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                                -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                |
[INFO] [stderr]     |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:509:74
[INFO] [stderr]     |
[INFO] [stderr] 509 |             js_newurierror((*self.ptr).state, message.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                               -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                               |
[INFO] [stderr]     |                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:622:75
[INFO] [stderr]     |
[INFO] [stderr] 622 |         unsafe { js_newstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) };
[INFO] [stderr]     |                                                  ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:648:77
[INFO] [stderr]     |
[INFO] [stderr] 648 |         unsafe { js_newregexp((*self.ptr).state, pattern.to_cstr().unwrap().as_ptr(), flags.bits) };
[INFO] [stderr]     |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:684:76
[INFO] [stderr]     |
[INFO] [stderr] 684 |         unsafe { js_pushstring((*self.ptr).state, value.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                   ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:704:87
[INFO] [stderr]     |
[INFO] [stderr] 704 |         match unsafe { js_hasproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) } {
[INFO] [stderr]     |                                                               ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                               |
[INFO] [stderr]     |                                                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:712:81
[INFO] [stderr]     |
[INFO] [stderr] 712 |         unsafe { js_setproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stderr]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:717:81
[INFO] [stderr]     |
[INFO] [stderr] 717 |         unsafe { js_getproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stderr]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:735:81
[INFO] [stderr]     |
[INFO] [stderr] 735 |         unsafe { js_defproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stderr]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:744:81
[INFO] [stderr]     |
[INFO] [stderr] 744 |         unsafe { js_defaccessor((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr(), attrs.bits) };
[INFO] [stderr]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:749:81
[INFO] [stderr]     |
[INFO] [stderr] 749 |         unsafe { js_delproperty((*self.ptr).state, idx, name.to_cstr().unwrap().as_ptr()) };
[INFO] [stderr]     |                                                         ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:807:74
[INFO] [stderr]     |
[INFO] [stderr] 807 |         unsafe { js_getglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:812:74
[INFO] [stderr]     |
[INFO] [stderr] 812 |         unsafe { js_setglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:817:74
[INFO] [stderr]     |
[INFO] [stderr] 817 |         unsafe { js_defglobal((*self.ptr).state, name.to_cstr().unwrap().as_ptr(), attrs.bits) }
[INFO] [stderr]     |                                                  ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:827:67
[INFO] [stderr]     |
[INFO] [stderr] 827 |             js_getproperty(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr());
[INFO] [stderr]     |                                    ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:828:66
[INFO] [stderr]     |
[INFO] [stderr] 828 |             js_touserdata(js, -1, CLOSURE_TAG.to_cstr().unwrap().as_ptr())
[INFO] [stderr]     |                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:864:53
[INFO] [stderr]     |
[INFO] [stderr] 864 | ...                   name.to_cstr().unwrap().as_ptr(),length);
[INFO] [stderr]     |                       ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:866:77
[INFO] [stderr]     |
[INFO] [stderr] 866 |             js_newuserdata((*self.ptr).state,CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stderr]     |                                              ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                              |
[INFO] [stderr]     |                                              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:868:82
[INFO] [stderr]     |
[INFO] [stderr] 868 |             js_defproperty((*self.ptr).state, -2, CLOSURE_TAG.to_cstr().unwrap().as_ptr(),
[INFO] [stderr]     |                                                   ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:976:76
[INFO] [stderr]     |
[INFO] [stderr] 976 |         unsafe { js_getregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                    |
[INFO] [stderr]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:981:76
[INFO] [stderr]     |
[INFO] [stderr] 981 |         unsafe { js_setregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                    |
[INFO] [stderr]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/lib.rs:986:76
[INFO] [stderr]     |
[INFO] [stderr] 986 |         unsafe { js_delregistry((*self.ptr).state, name.to_cstr().unwrap().as_ptr()) }
[INFO] [stderr]     |                                                    ----------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                                    |
[INFO] [stderr]     |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: `mujs` (lib) generated 52 warnings (5 duplicates) (run `cargo fix --lib -p mujs` to apply 2 suggestions)
[INFO] [stderr] warning: `mujs` (lib test) generated 51 warnings (51 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mujs-8615c0f0a54a42ca)
[INFO] [stdout] 
[INFO] [stdout] running 108 tests
[INFO] [stdout] test tests::call_garbage_collector ... ok
[INFO] [stdout] test tests::call_with_success ... ok
[INFO] [stdout] test tests::construct_with_success ... ok
[INFO] [stdout] test tests::copy_of_item_copies_on_stack ... ok
[INFO] [stdout] test tests::call_with_runtime_error ... ok
[INFO] [stdout] test tests::create_new_state ... ok
[INFO] [stdout] test tests::defproperty_read_only_on_object ... ok
[INFO] [stderr] ReferenceError: 'mystic' is not defined
[INFO] [stdout] test tests::defglobal_on_state_is_writeable ... ok
[INFO] [stderr] SyntaxError: [string]:1: unexpected token: (identifier) (expected ';')
[INFO] [stdout] test tests::copy_one_item_on_stack ... ok
[INFO] [stdout] test tests::defglobal_on_state_readonly ... ok
[INFO] [stdout] test tests::delproperty_on_configurable_property ... ok
[INFO] [stdout] test tests::dostring_with_runtime_error ... ok
[INFO] [stdout] test tests::dostring_with_success ... ok
[INFO] [stdout] test tests::defproperty_on_object ... ok
[INFO] [stdout] test tests::delproperty_on_not_configurable_property ... ok
[INFO] [stdout] test tests::dostring_with_broken_script ... ok
[INFO] [stdout] test tests::delindex_on_non_empty_array ... ok
[INFO] [stdout] test tests::getindex_on_existing_index ... ok
[INFO] [stdout] test tests::getlength_on_empty_array ... ok
[INFO] [stdout] test tests::getlength_on_non_empty_array ... ok
[INFO] [stdout] test tests::getproperty_on_object_with_existing_property ... ok
[INFO] [stdout] test tests::getproperty_on_object_with_non_existing_property ... ok
[INFO] [stdout] test tests::getregistry_unknown_name ... ok
[INFO] [stdout] test tests::getregistry_with_existing_name ... ok
[INFO] [stdout] test tests::delindex_on_empty_array ... ok
[INFO] [stdout] test tests::gettop_with_empty_stack ... ok
[INFO] [stdout] test tests::gettop_with_five_items_on_stack ... ok
[INFO] [stdout] test tests::getglobal_from_script ... ok
[INFO] [stdout] test tests::getindex_on_empty_array ... ok
[INFO] [stdout] test tests::gettop_with_one_item_on_stack ... ok
[INFO] [stdout] test tests::hasindex_on_empty_array ... ok
[INFO] [stdout] test tests::hasindex_on_existing_index ... ok
[INFO] [stdout] test tests::isboolean_on_boolean_is_true ... ok
[INFO] [stdout] test tests::hasindex_on_non_array ... ok
[INFO] [stdout] test tests::hasindex_on_non_existing_index ... ok
[INFO] [stdout] test tests::hasproperty_on_object_with_existing_property ... ok
[INFO] [stdout] test tests::evalerror_should_panic - should panic ... ok
[INFO] [stdout] test tests::error_should_panic - should panic ... ok
[INFO] [stdout] test tests::isboolean_on_number_is_false ... ok
[INFO] [stdout] test tests::isnull_on_undefined_is_false ... ok
[INFO] [stdout] test tests::isdefined_on_number_is_true ... ok
[INFO] [stdout] test tests::isdefined_on_undefined_is_false ... ok
[INFO] [stdout] test tests::isnull_on_null_is_true ... ok
[INFO] [stdout] test tests::isnumber_on_boolean_is_false ... ok
[INFO] [stdout] test tests::hasproperty_on_object_with_non_existing_property ... ok
[INFO] [stdout] test tests::isprimitive_on_object_is_false ... ok
[INFO] [stdout] test tests::isprimitive_on_undefined_is_true ... ok
[INFO] [stdout] test tests::loadstring_with_broken_script ... ok
[INFO] [stdout] test tests::loadstring_with_complete_script ... ok
[INFO] [stdout] test tests::newarray_with_three_items ... ok
[INFO] [stdout] test tests::newboolean_validate_as_string ... ok
[INFO] [stdout] test tests::newerror_verify_as_string ... ok
[INFO] [stdout] test tests::newevalerror_verify_as_string ... ok
[INFO] [stdout] test tests::isnumber_on_number_is_true ... ok
[INFO] [stdout] test tests::isstring_on_string_is_true ... ok
[INFO] [stdout] test tests::isstring_on_boolean_is_false ... ok
[INFO] [stdout] test tests::isundefined_on_undefined_is_true ... ok
[INFO] [stdout] test tests::isobject_on_number_is_false ... ok
[INFO] [stdout] test tests::isundefined_on_number_is_false ... ok
[INFO] [stdout] test tests::isobject_on_object_is_true ... ok
[INFO] [stdout] test tests::newrangeerror_verify_as_string ... ok
[INFO] [stdout] test tests::newregexp_test_non_matching_string ... ok
[INFO] [stdout] test tests::newsyntaxerror_verify_as_string ... ok
[INFO] [stdout] test tests::newreferenceerror_verify_as_string ... ok
[INFO] [stdout] test tests::newstring_validate_as_string ... ok
[INFO] [stdout] test tests::newnumber_validate_as_string ... ok
[INFO] [stdout] test tests::newregexp_test_matching_string ... ok
[INFO] [stdout] test tests::newtypeerror_verify_as_string ... ok
[INFO] [stdout] test tests::panic_are_handled - should panic ... ok
[INFO] [stdout] test tests::pop_with_empty_stack ... ok
[INFO] [stdout] test tests::pushnull_verify_as_string ... ok
[INFO] [stdout] test tests::pushboolean_verify_as_string ... ok
[INFO] [stdout] test tests::newurierror_verify_as_string ... ok
[INFO] [stdout] test tests::pushnumber_verify_as_string ... ok
[INFO] [stdout] test tests::pop_one_of_two_items_on_stack ... ok
[INFO] [stdout] test tests::pushundefined_verify_as_string ... ok
[INFO] [stdout] test tests::rangeerror_should_panic - should panic ... ok
[INFO] [stdout] test tests::pushstring_utf8 ... ok
[INFO] [stdout] test tests::remove_bottom_item_with_two_items_on_stack ... ok
[INFO] [stdout] test tests::pop_one_and_only_item_on_stack ... ok
[INFO] [stdout] test tests::referenceerror_should_panic - should panic ... ok
[INFO] [stdout] test tests::pushstring_ascii ... ok
[INFO] [stdout] test tests::remove_one_item_with_empty_stack_raises_stack_error - should panic ... ok
[INFO] [stdout] test tests::remove_top_item_with_two_items_on_stack ... ok
[INFO] [stdout] test tests::rot_of_item_of_two_items_on_stack ... ok
[INFO] [stdout] test tests::setglobal_on_state ... ok
[INFO] [stdout] test tests::setproperty_on_object_as_number_value ... ok
[INFO] [stdout] test tests::setproperty_on_object_non_existing_property ... ok
[INFO] [stdout] test tests::rot_of_two_items_on_stack ... ok
[INFO] [stdout] test tests::setproperty_on_object_changing_to_number_value ... ok
[INFO] [stdout] test tests::rot_of_one_item_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_false_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_true_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_null_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_positive_number_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_undefined_on_stack ... ok
[INFO] [stdout] test tests::tonumber_with_invalid_string_on_stack ... ok
[INFO] [stdout] test tests::toboolean_with_zero_number_on_stack ... ok
[INFO] [stdout] test tests::tonumber_with_negative_number_on_stack ... ok
[INFO] [stdout] test tests::tonumber_with_valid_string_on_stack ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/mujs-8615c0f0a54a42ca` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "ba78df60a84d5cd42a90bf987a12bd7e32b3ac73f167c7520c262b607231a0b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba78df60a84d5cd42a90bf987a12bd7e32b3ac73f167c7520c262b607231a0b8", kill_on_drop: false }`
[INFO] [stdout] ba78df60a84d5cd42a90bf987a12bd7e32b3ac73f167c7520c262b607231a0b8
