[INFO] fetching crate goscript-codegen 0.1.0... [INFO] testing goscript-codegen-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate goscript-codegen 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate goscript-codegen 0.1.0 [INFO] finished tweaking crates.io crate goscript-codegen 0.1.0 [INFO] tweaked toml for crates.io crate goscript-codegen 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate goscript-codegen 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded goscript-vm v0.1.0 [INFO] [stderr] Downloaded goscript-parser v0.1.0 [INFO] [stderr] Downloaded time-test v0.2.3 [INFO] [stderr] Downloaded goscript-types v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352c224dd47da07d4daa57b42bf78d6869b86399cf637b6047bf558661e15e59 [INFO] running `Command { std: "docker" "start" "-a" "352c224dd47da07d4daa57b42bf78d6869b86399cf637b6047bf558661e15e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352c224dd47da07d4daa57b42bf78d6869b86399cf637b6047bf558661e15e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352c224dd47da07d4daa57b42bf78d6869b86399cf637b6047bf558661e15e59", kill_on_drop: false }` [INFO] [stdout] 352c224dd47da07d4daa57b42bf78d6869b86399cf637b6047bf558661e15e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 425a6d64c6f934ca9d2e6b014b553b07e86c9e26054943a6f1782dbd0a8f2b91 [INFO] running `Command { std: "docker" "start" "-a" "425a6d64c6f934ca9d2e6b014b553b07e86c9e26054943a6f1782dbd0a8f2b91", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slotmap v0.4.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling goscript-parser v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-test v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling goscript-types v0.1.0 [INFO] [stderr] Compiling goscript-vm v0.1.0 [INFO] [stderr] Compiling goscript-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/branch.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/emit.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter<'_> { [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/codegen.rs:1071:13 [INFO] [stdout] | [INFO] [stdout] 1071 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [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] 1071 - drop(func); [INFO] [stdout] 1071 + let _ = func; [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/codegen.rs:1730:9 [INFO] [stdout] | [INFO] [stdout] 1730 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1730 - drop(func); [INFO] [stdout] 1730 + let _ = func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: goscript-vm v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "425a6d64c6f934ca9d2e6b014b553b07e86c9e26054943a6f1782dbd0a8f2b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425a6d64c6f934ca9d2e6b014b553b07e86c9e26054943a6f1782dbd0a8f2b91", kill_on_drop: false }` [INFO] [stdout] 425a6d64c6f934ca9d2e6b014b553b07e86c9e26054943a6f1782dbd0a8f2b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9c3d5a4c028266c452c3e9a23e23e1d2d96bc73e82dc77f2a9b576a0be87998f [INFO] running `Command { std: "docker" "start" "-a" "9c3d5a4c028266c452c3e9a23e23e1d2d96bc73e82dc77f2a9b576a0be87998f", kill_on_drop: false }` [INFO] [stderr] Compiling goscript-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/branch.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/emit.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter<'_> { [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/codegen.rs:1071:13 [INFO] [stdout] | [INFO] [stdout] 1071 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [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] 1071 - drop(func); [INFO] [stdout] 1071 + let _ = func; [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/codegen.rs:1730:9 [INFO] [stdout] | [INFO] [stdout] 1730 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1730 - drop(func); [INFO] [stdout] 1730 + let _ = func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/branch.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comm_type(&self, i: usize) -> &CommType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/emit.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(f: &mut FunctionVal) -> Emitter<'_> { [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/codegen.rs:1071:13 [INFO] [stdout] | [INFO] [stdout] 1071 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [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] 1071 - drop(func); [INFO] [stdout] 1071 + let _ = func; [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/codegen.rs:1730:9 [INFO] [stdout] | [INFO] [stdout] 1730 | drop(func); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut goscript_vm::objects::FunctionVal` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1730 - drop(func); [INFO] [stdout] 1730 + let _ = func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: goscript-vm v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9c3d5a4c028266c452c3e9a23e23e1d2d96bc73e82dc77f2a9b576a0be87998f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3d5a4c028266c452c3e9a23e23e1d2d96bc73e82dc77f2a9b576a0be87998f", kill_on_drop: false }` [INFO] [stdout] 9c3d5a4c028266c452c3e9a23e23e1d2d96bc73e82dc77f2a9b576a0be87998f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2e5564138014c9684fe0678352486df5c8786a018b0415dd19caf870d6916995 [INFO] running `Command { std: "docker" "start" "-a" "2e5564138014c9684fe0678352486df5c8786a018b0415dd19caf870d6916995", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/branch.rs:223:22 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn comm_type(&self, i: usize) -> &CommType { [INFO] [stderr] | ^^^^^ --------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 223 | pub fn comm_type(&self, i: usize) -> &CommType<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/emit.rs:88:19 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn new(f: &mut FunctionVal) -> Emitter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 88 | pub fn new(f: &mut FunctionVal) -> Emitter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/codegen.rs:1071:13 [INFO] [stderr] | [INFO] [stderr] 1071 | drop(func); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut goscript_vm::objects::FunctionVal` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1071 - drop(func); [INFO] [stderr] 1071 + let _ = func; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/codegen.rs:1730:9 [INFO] [stderr] | [INFO] [stderr] 1730 | drop(func); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut goscript_vm::objects::FunctionVal` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 1730 - drop(func); [INFO] [stderr] 1730 + let _ = func; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `goscript-codegen` (lib) generated 4 warnings (run `cargo fix --lib -p goscript-codegen` to apply 2 suggestions) [INFO] [stderr] warning: `goscript-codegen` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: goscript-vm v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/goscript_codegen-36331c6dd6b498af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e5564138014c9684fe0678352486df5c8786a018b0415dd19caf870d6916995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5564138014c9684fe0678352486df5c8786a018b0415dd19caf870d6916995", kill_on_drop: false }` [INFO] [stdout] 2e5564138014c9684fe0678352486df5c8786a018b0415dd19caf870d6916995