[INFO] fetching crate rhai 1.22.2... [INFO] testing rhai-1.22.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate rhai 1.22.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rhai 1.22.2 [INFO] finished tweaking crates.io crate rhai 1.22.2 [INFO] tweaked toml for crates.io crate rhai 1.22.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rhai 1.22.2 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] crate crates.io crate rhai 1.22.2 already has a lockfile, it will not be regenerated [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] Downloading crates ... [INFO] [stderr] Downloaded core-error v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 81b49d7313869ad50a39bdc9815e0843dbdb59cd9202fb6fccc91c7300352fd1 [INFO] running `Command { std: "docker" "start" "-a" "81b49d7313869ad50a39bdc9815e0843dbdb59cd9202fb6fccc91c7300352fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81b49d7313869ad50a39bdc9815e0843dbdb59cd9202fb6fccc91c7300352fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b49d7313869ad50a39bdc9815e0843dbdb59cd9202fb6fccc91c7300352fd1", kill_on_drop: false }` [INFO] [stdout] 81b49d7313869ad50a39bdc9815e0843dbdb59cd9202fb6fccc91c7300352fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5ae82dcbb97e9567fb0a304998b630329ecc93fde11083ea7ca6c47cf6f3c610 [INFO] running `Command { std: "docker" "start" "-a" "5ae82dcbb97e9567fb0a304998b630329ecc93fde11083ea7ca6c47cf6f3c610", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling rhai v1.22.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `binary_and` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | pub const fn binary_and(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_or` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | pub const fn binary_or(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_xor` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | pub const fn binary_xor(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_zero` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn is_zero(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_odd` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub const fn is_odd(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | pub const fn is_even(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/register.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock { [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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/module/resolvers/file.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope { [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/packages/iter_basic.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 53 | pub add: fn(T, T) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.27s [INFO] running `Command { std: "docker" "inspect" "5ae82dcbb97e9567fb0a304998b630329ecc93fde11083ea7ca6c47cf6f3c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae82dcbb97e9567fb0a304998b630329ecc93fde11083ea7ca6c47cf6f3c610", kill_on_drop: false }` [INFO] [stdout] 5ae82dcbb97e9567fb0a304998b630329ecc93fde11083ea7ca6c47cf6f3c610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5a8793950a8855bed438bdc671d52b0eae0be3ccd74ecb61d5151eabda2af174 [INFO] running `Command { std: "docker" "start" "-a" "5a8793950a8855bed438bdc671d52b0eae0be3ccd74ecb61d5151eabda2af174", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stdout] warning: function `binary_and` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | pub const fn binary_and(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_or` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | pub const fn binary_or(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_xor` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | pub const fn binary_xor(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_zero` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn is_zero(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_odd` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub const fn is_odd(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | pub const fn is_even(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/register.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock { [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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/module/resolvers/file.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope { [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/packages/iter_basic.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 53 | pub add: fn(T, T) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling rhai v1.22.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `binary_and` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | pub const fn binary_and(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_or` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | pub const fn binary_or(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_xor` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | pub const fn binary_xor(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_zero` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn is_zero(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_odd` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub const fn is_odd(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/packages/arithmetic.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | pub const fn is_even(x: $arg_type) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/func/register.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock { [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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/module/resolvers/file.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope { [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | pub const fn scope(&self) -> &Scope<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/packages/iter_basic.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 53 | pub add: fn(T, T) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.05s [INFO] running `Command { std: "docker" "inspect" "5a8793950a8855bed438bdc671d52b0eae0be3ccd74ecb61d5151eabda2af174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8793950a8855bed438bdc671d52b0eae0be3ccd74ecb61d5151eabda2af174", kill_on_drop: false }` [INFO] [stdout] 5a8793950a8855bed438bdc671d52b0eae0be3ccd74ecb61d5151eabda2af174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dd017044ea75e31dba40433af431c26fe9fe3adbfb2d38146478bdb13f872fa3 [INFO] running `Command { std: "docker" "start" "-a" "dd017044ea75e31dba40433af431c26fe9fe3adbfb2d38146478bdb13f872fa3", kill_on_drop: false }` [INFO] [stderr] warning: function `binary_and` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:117:30 [INFO] [stderr] | [INFO] [stderr] 117 | pub const fn binary_and(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `binary_or` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:121:30 [INFO] [stderr] | [INFO] [stderr] 121 | pub const fn binary_or(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `binary_xor` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:125:30 [INFO] [stderr] | [INFO] [stderr] 125 | pub const fn binary_xor(x: $arg_type, y: $arg_type) -> $arg_type { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `is_zero` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:130:30 [INFO] [stderr] | [INFO] [stderr] 130 | pub const fn is_zero(x: $arg_type) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `is_odd` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:135:30 [INFO] [stderr] | [INFO] [stderr] 135 | pub const fn is_odd(x: $arg_type) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `is_even` is never used [INFO] [stderr] --> src/packages/arithmetic.rs:140:30 [INFO] [stderr] | [INFO] [stderr] 140 | pub const fn is_even(x: $arg_type) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | gen_arithmetic_functions!(arith_basic => INT); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gen_arithmetic_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ast/ast.rs:661:27 [INFO] [stderr] | [INFO] [stderr] 661 | pub fn iter_functions(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/func/native.rs:534:30 [INFO] [stderr] | [INFO] [stderr] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/func/native.rs:576:31 [INFO] [stderr] | [INFO] [stderr] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/func/register.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock { [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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/module/resolvers/file.rs:208:24 [INFO] [stderr] | [INFO] [stderr] 208 | pub const fn scope(&self) -> &Scope { [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 208 | pub const fn scope(&self) -> &Scope<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/packages/iter_basic.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 53 | pub add: fn(T, T) -> Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/dynamic.rs:1791:38 [INFO] [stderr] | [INFO] [stderr] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/dynamic.rs:1827:39 [INFO] [stderr] | [INFO] [stderr] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rhai` (lib) generated 14 warnings (run `cargo fix --lib -p rhai` to apply 7 suggestions) [INFO] [stderr] warning: `rhai` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rhai-6c6b944074aebe78) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::check_struct_sizes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rhai-run.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rhai_run-525efd3e56f4974a) [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" "dd017044ea75e31dba40433af431c26fe9fe3adbfb2d38146478bdb13f872fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd017044ea75e31dba40433af431c26fe9fe3adbfb2d38146478bdb13f872fa3", kill_on_drop: false }` [INFO] [stdout] dd017044ea75e31dba40433af431c26fe9fe3adbfb2d38146478bdb13f872fa3