[INFO] fetching crate goscript-vm 0.1.0... [INFO] checking goscript-vm-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate goscript-vm 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate goscript-vm 0.1.0 [INFO] finished tweaking crates.io crate goscript-vm 0.1.0 [INFO] tweaked toml for crates.io crate goscript-vm 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate goscript-vm 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.5.0) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.6.1) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding slotmap v0.4.3 (available: v1.0.7) [INFO] [stderr] Adding time-test v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fffea054417776f0dd84712d92856baba9432c9c40d45b2f2ccaeec7eff73388 [INFO] running `Command { std: "docker" "start" "-a" "fffea054417776f0dd84712d92856baba9432c9c40d45b2f2ccaeec7eff73388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fffea054417776f0dd84712d92856baba9432c9c40d45b2f2ccaeec7eff73388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffea054417776f0dd84712d92856baba9432c9c40d45b2f2ccaeec7eff73388", kill_on_drop: false }` [INFO] [stdout] fffea054417776f0dd84712d92856baba9432c9c40d45b2f2ccaeec7eff73388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33e931225f52cb29f8cc6cbd9ced923b15cb616ba7d3e4fd6442dea32b31efe3 [INFO] running `Command { std: "docker" "start" "-a" "33e931225f52cb29f8cc6cbd9ced923b15cb616ba7d3e4fd6442dea32b31efe3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking slotmap v0.4.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking goscript-parser v0.1.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time-test v0.2.3 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking goscript-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/value.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1367 | unsafe { shift_int!(t, self, b, checked_shl) } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `shift_int` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `shift_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/value.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1372 | unsafe { shift_int!(t, self, b, checked_shr) } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `shift_int` [INFO] [stdout] = note: this error originates in the macro `shift_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vm_util.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:690:47 [INFO] [stdout] | [INFO] [stdout] 690 | let (unwrapped, ok) = unwrap_recv_val!(chan, val, objs.metas, gcv); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `unwrap_recv_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vm_util.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:1005:67 [INFO] [stdout] | [INFO] [stdout] 1005 | ... let (unwrapped, ok) = unwrap_recv_val!( [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 1006 | | ... c.as_channel(), [INFO] [stdout] 1007 | | ... val, [INFO] [stdout] 1008 | | ... objs.metas, [INFO] [stdout] 1009 | | ... gcv [INFO] [stdout] 1010 | | ... ); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `unwrap_recv_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/value.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1367 | unsafe { shift_int!(t, self, b, checked_shl) } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `shift_int` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `shift_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/value.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1372 | unsafe { shift_int!(t, self, b, checked_shr) } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `shift_int` [INFO] [stdout] = note: this error originates in the macro `shift_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vm_util.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:690:47 [INFO] [stdout] | [INFO] [stdout] 690 | let (unwrapped, ok) = unwrap_recv_val!(chan, val, objs.metas, gcv); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `unwrap_recv_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vm_util.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:1005:67 [INFO] [stdout] | [INFO] [stdout] 1005 | ... let (unwrapped, ok) = unwrap_recv_val!( [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 1006 | | ... c.as_channel(), [INFO] [stdout] 1007 | | ... val, [INFO] [stdout] 1008 | | ... objs.metas, [INFO] [stdout] 1009 | | ... gcv [INFO] [stdout] 1010 | | ... ); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `unwrap_recv_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/objects.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1317 | pub struct PackageVal { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 1318 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let uv: u32 = unsafe { std::mem::transmute(imm) }; [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | let u0: u8 = unsafe { std::mem::transmute(imm0 as i8) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:332:32 [INFO] [stdout] | [INFO] [stdout] 332 | let u1: u32 = unsafe { std::mem::transmute(imm1) }; [INFO] [stdout] | -------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | let val8: u8 = unsafe { std::mem::transmute(index) }; [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | let ival: i8 = unsafe { std::mem::transmute(v) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | unsafe { std::mem::transmute((self.val & 0xffff_ffff) as u32) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let i0: i8 = unsafe { std::mem::transmute((all >> 24) as u8) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | let i1 = unsafe { std::mem::transmute(all) }; [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn iter(&self) -> StringIter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn iter(&self) -> StringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn borrow_data_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn borrow_data_mut(&self) -> RefMut<'_, GosHashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn borrow_data(&self) -> Ref { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | pub fn borrow_data(&self) -> Ref<'_, GosHashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn borrow_data_mut(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | pub fn borrow_data_mut(&self) -> std::cell::RefMut<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn borrow_data(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | pub fn borrow_data(&self) -> std::cell::Ref<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn borrow(&self) -> SliceRef { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | pub fn borrow(&self) -> SliceRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn borrow_data_mut(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 563 | pub fn borrow_data_mut(&self) -> std::cell::RefMut<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:571:24 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn borrow_data(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 571 | pub fn borrow_data(&self) -> std::cell::Ref<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:688:19 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn new(s: &SliceObj) -> SliceRef { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 688 | pub fn new(s: &SliceObj) -> SliceRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter(&self) -> SliceIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter(&self) -> SliceIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1351:20 [INFO] [stdout] | [INFO] [stdout] 1351 | pub fn var_mut(&self, fn_member_index: OpIndex) -> RefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1351 | pub fn var_mut(&self, fn_member_index: OpIndex) -> RefMut<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1373:19 [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn member(&self, i: OpIndex) -> Ref { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn member(&self, i: OpIndex) -> Ref<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1378:23 [INFO] [stdout] | [INFO] [stdout] 1378 | pub fn member_mut(&self, i: OpIndex) -> RefMut { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1378 | pub fn member_mut(&self, i: OpIndex) -> RefMut<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/vm.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | drop(frame); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CallFrame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 911 - drop(frame); [INFO] [stdout] 911 + let _ = frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/vm.rs:1111:37 [INFO] [stdout] | [INFO] [stdout] 1111 | ... drop(frame); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CallFrame` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1111 - drop(frame); [INFO] [stdout] 1111 + let _ = frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gc.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn borrow_data(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn borrow_data(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/objects.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1317 | pub struct PackageVal { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 1318 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | let uv: u32 = unsafe { std::mem::transmute(imm) }; [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | let u0: u8 = unsafe { std::mem::transmute(imm0 as i8) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:332:32 [INFO] [stdout] | [INFO] [stdout] 332 | let u1: u32 = unsafe { std::mem::transmute(imm1) }; [INFO] [stdout] | -------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | let val8: u8 = unsafe { std::mem::transmute(index) }; [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | let ival: i8 = unsafe { std::mem::transmute(v) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | unsafe { std::mem::transmute((self.val & 0xffff_ffff) as u32) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let i0: i8 = unsafe { std::mem::transmute((all >> 24) as u8) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | let i1 = unsafe { std::mem::transmute(all) }; [INFO] [stdout] | -------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn iter(&self) -> StringIter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn iter(&self) -> StringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn borrow_data_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 268 | pub fn borrow_data_mut(&self) -> RefMut<'_, GosHashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn borrow_data(&self) -> Ref { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | pub fn borrow_data(&self) -> Ref<'_, GosHashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn borrow_data_mut(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | pub fn borrow_data_mut(&self) -> std::cell::RefMut<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn borrow_data(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | pub fn borrow_data(&self) -> std::cell::Ref<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn borrow(&self) -> SliceRef { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | pub fn borrow(&self) -> SliceRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn borrow_data_mut(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 563 | pub fn borrow_data_mut(&self) -> std::cell::RefMut<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goscript-vm` (lib test) due to 8 previous errors; 25 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:571:24 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn borrow_data(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 571 | pub fn borrow_data(&self) -> std::cell::Ref<'_, GosVec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:688:19 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn new(s: &SliceObj) -> SliceRef { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 688 | pub fn new(s: &SliceObj) -> SliceRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter(&self) -> SliceIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter(&self) -> SliceIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1351:20 [INFO] [stdout] | [INFO] [stdout] 1351 | pub fn var_mut(&self, fn_member_index: OpIndex) -> RefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1351 | pub fn var_mut(&self, fn_member_index: OpIndex) -> RefMut<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1373:19 [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn member(&self, i: OpIndex) -> Ref { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn member(&self, i: OpIndex) -> Ref<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:1378:23 [INFO] [stdout] | [INFO] [stdout] 1378 | pub fn member_mut(&self, i: OpIndex) -> RefMut { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1378 | pub fn member_mut(&self, i: OpIndex) -> RefMut<'_, GosValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/vm.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | drop(frame); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CallFrame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 911 - drop(frame); [INFO] [stdout] 911 + let _ = frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/vm.rs:1111:37 [INFO] [stdout] | [INFO] [stdout] 1111 | ... drop(frame); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CallFrame` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1111 - drop(frame); [INFO] [stdout] 1111 + let _ = frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gc.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn borrow_data(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn borrow_data(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goscript-vm` (lib) due to 8 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33e931225f52cb29f8cc6cbd9ced923b15cb616ba7d3e4fd6442dea32b31efe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e931225f52cb29f8cc6cbd9ced923b15cb616ba7d3e4fd6442dea32b31efe3", kill_on_drop: false }` [INFO] [stdout] 33e931225f52cb29f8cc6cbd9ced923b15cb616ba7d3e4fd6442dea32b31efe3