[INFO] fetching crate rhai 1.22.2... [INFO] testing rhai-1.22.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rhai 1.22.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rhai 1.22.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99632a2dfb7ae69c9f3d9eb9a6ca6e95fbe893210c7f776f9ca2124ffacdaeec [INFO] running `Command { std: "docker" "start" "-a" "99632a2dfb7ae69c9f3d9eb9a6ca6e95fbe893210c7f776f9ca2124ffacdaeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99632a2dfb7ae69c9f3d9eb9a6ca6e95fbe893210c7f776f9ca2124ffacdaeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99632a2dfb7ae69c9f3d9eb9a6ca6e95fbe893210c7f776f9ca2124ffacdaeec", kill_on_drop: false }` [INFO] [stdout] 99632a2dfb7ae69c9f3d9eb9a6ca6e95fbe893210c7f776f9ca2124ffacdaeec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f349c6fea0ee5d7f9b7f6af3c9aca2f731d478d24161b82114ddc31d4bf447 [INFO] running `Command { std: "docker" "start" "-a" "f8f349c6fea0ee5d7f9b7f6af3c9aca2f731d478d24161b82114ddc31d4bf447", kill_on_drop: false }` [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 smallvec v1.15.0 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.101 [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.01s [INFO] running `Command { std: "docker" "inspect" "f8f349c6fea0ee5d7f9b7f6af3c9aca2f731d478d24161b82114ddc31d4bf447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f349c6fea0ee5d7f9b7f6af3c9aca2f731d478d24161b82114ddc31d4bf447", kill_on_drop: false }` [INFO] [stdout] f8f349c6fea0ee5d7f9b7f6af3c9aca2f731d478d24161b82114ddc31d4bf447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89708083df33f4ace37fd25725b191297369af53daa467ee62f2b080ee88a6cd [INFO] running `Command { std: "docker" "start" "-a" "89708083df33f4ace37fd25725b191297369af53daa467ee62f2b080ee88a6cd", 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/ast.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn iter_functions(&self) -> impl Iterator { [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] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn locked_read(value: &Locked) -> Option> { [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] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/func/native.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn locked_write(value: &Locked) -> Option> { [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] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1791:38 [INFO] [stdout] | [INFO] [stdout] 1791 | pub fn read_lock(&self) -> Option> { [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] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/dynamic.rs:1827:39 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn write_lock(&mut self) -> Option> { [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] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.36s [INFO] running `Command { std: "docker" "inspect" "89708083df33f4ace37fd25725b191297369af53daa467ee62f2b080ee88a6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89708083df33f4ace37fd25725b191297369af53daa467ee62f2b080ee88a6cd", kill_on_drop: false }` [INFO] [stdout] 89708083df33f4ace37fd25725b191297369af53daa467ee62f2b080ee88a6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02d1d6b0e3addc4efe06d7d763d3719fa86808b7ee6f8d823c29e9b1e7368fa1 [INFO] running `Command { std: "docker" "start" "-a" "02d1d6b0e3addc4efe06d7d763d3719fa86808b7ee6f8d823c29e9b1e7368fa1", 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ast/ast.rs:661:27 [INFO] [stderr] | [INFO] [stderr] 661 | pub fn iter_functions(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 661 | pub fn iter_functions(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/func/native.rs:534:30 [INFO] [stderr] | [INFO] [stderr] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 534 | pub fn locked_read(value: &Locked) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/func/native.rs:576:31 [INFO] [stderr] | [INFO] [stderr] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 576 | pub fn locked_write(value: &Locked) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn by_ref(data: &mut Dynamic) -> DynamicWriteLock<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/dynamic.rs:1791:38 [INFO] [stderr] | [INFO] [stderr] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1791 | pub fn read_lock(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/dynamic.rs:1827:39 [INFO] [stderr] | [INFO] [stderr] 1827 | pub fn write_lock(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhai-a069cbb640da4ca1) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rhai-run.rs (/opt/rustwide/target/debug/deps/rhai_run-4e94051276fb48ce) [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests rhai [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.00s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 133 tests [INFO] [stdout] test src/api/build_type.rs - api::build_type::CustomType (line 20) ... ok [INFO] [stdout] test src/api/call_fn.rs - api::call_fn::Engine::call_fn_with_options (line 135) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval_ast (line 141) ... ok [INFO] [stdout] test src/api/call_fn.rs - api::call_fn::Engine::call_fn (line 88) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval_with_scope (line 44) ... ok [INFO] [stdout] test src/api/compile.rs - api::compile::Engine::compile_expression_with_scope (line 270) ... ok [INFO] [stdout] test src/api/compile.rs - api::compile::Engine::compile_expression (line 246) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval (line 19) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval_expression_with_scope (line 98) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::eval (line 265) ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::eval_file_with_scope (line 150) - compile ... ok [INFO] [stdout] test src/api/compile.rs - api::compile::Engine::compile_with_scope (line 42) ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::eval_file (line 122) - compile ... ok [INFO] [stdout] test src/api/compile.rs - api::compile::Engine::compile_scripts_with_scope (line 168) ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::compile_file_with_scope (line 87) - compile ... ok [INFO] [stdout] test src/api/compile.rs - api::compile::Engine::compile (line 13) ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::run_file (line 179) - compile ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::run_file_with_scope (line 207) - compile ... ok [INFO] [stdout] test src/api/files.rs - api::files::eval_file (line 234) - compile ... ok [INFO] [stdout] test src/api/events.rs - api::events::Engine::on_debug (line 293) ... ok [INFO] [stdout] test src/api/files.rs - api::files::Engine::compile_file (line 54) - compile ... ok [INFO] [stdout] test src/api/files.rs - api::files::run_file (line 251) - compile ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval_ast_with_scope (line 163) ... ok [INFO] [stdout] test src/api/eval.rs - api::eval::Engine::eval_expression (line 80) ... ok [INFO] [stdout] test src/api/events.rs - api::events::Engine::on_print (line 253) ... ok [INFO] [stdout] test src/api/mod.rs - api::Engine::register_custom_operator (line 176) ... ok [INFO] [stdout] test src/api/mod.rs - api::Engine::disable_symbol (line 112) ... ok [INFO] [stdout] test src/api/mod.rs - api::Engine::disable_symbol (line 128) ... ok [INFO] [stdout] test src/api/events.rs - api::events::Engine::on_def_var (line 95) ... ok [INFO] [stdout] test src/api/mod.rs - api::Engine::is_symbol_disabled (line 151) ... ok [INFO] [stdout] test src/api/json.rs - api::json::Engine::parse_json (line 32) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_indexer_get (line 439) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_indexer_get_set (line 563) ... ok [INFO] [stdout] test src/api/events.rs - api::events::Engine::on_var (line 39) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_static_module (line 647) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_fn (line 42) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_get (line 271) ... ok [INFO] [stdout] test src/api/events.rs - api::events::Engine::on_progress (line 210) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_set (line 319) ... ok [INFO] [stdout] test src/api/run.rs - api::run::Engine::run (line 14) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_get_set (line 372) ... ok [INFO] [stdout] test src/api/run.rs - api::run::Engine::run_with_scope (line 39) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_indexer_set (line 500) ... ok [INFO] [stdout] test src/api/run.rs - api::run::run (line 150) ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::combine (line 335) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_type (line 138) ... ok [INFO] [stdout] test src/api/register.rs - api::register::Engine::register_type_with_name (line 182) ... ok [INFO] [stdout] test src/api/run.rs - api::run::Engine::run_ast_with_scope (line 100) ... ok [INFO] [stdout] test src/api/run.rs - api::run::Engine::run_ast (line 78) ... ok [INFO] [stdout] test src/config/hashing.rs - config::hashing (line 9) ... ok [INFO] [stdout] test src/lib.rs - (line 27) - compile ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::combine_filtered (line 521) ... ok [INFO] [stdout] test src/eval/target.rs - eval::target::Target (line 94) ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::merge_filtered (line 391) ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::retain_functions (line 616) ... ok [INFO] [stdout] test src/engine.rs - engine::Engine (line 76) ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::iter_literal_variables (line 690) ... ok [INFO] [stdout] test src/ast/ast.rs - ast::ast::AST::merge (line 282) ... ok [INFO] [stdout] test src/func/func_args.rs - func::func_args::FuncArgs::parse (line 19) ... ok [INFO] [stdout] test src/config/hashing.rs - config::hashing::set_hashing_seed (line 47) ... ok [INFO] [stdout] test src/func/func_trait.rs - func::func_trait::Func::create_from_ast (line 25) ... ok [INFO] [stdout] test src/module/mod.rs - module::FuncRegistration::new (line 223) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::contains_fn (line 1437) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::contains_sub_module (line 1376) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::contains_var (line 1177) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::clear_id (line 834) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::get_sub_module (line 1393) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::get_var (line 1209) ... ok [INFO] [stdout] test src/func/func_trait.rs - func::func_trait::Func::create_from_script (line 58) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::eval_ast_as_new (line 2263) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::id (line 792) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::new (line 762) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::get_custom_type_display_by_name (line 1018) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_getter_fn (line 1629) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::get_var_value (line 1193) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::get_custom_type_display (line 1041) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::is_empty (line 1080) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_custom_type (line 927) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::is_indexed (line 1113) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_custom_type_raw (line 967) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_indexer_get_fn (line 1773) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_getter_setter_fn (line 1715) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_sub_module (line 1412) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_native_fn (line 1586) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_id (line 817) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_indexer_set_fn (line 1827) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_setter_fn (line 1675) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_indexer_get_set_fn (line 1876) ... ok [INFO] [stdout] test src/module/mod.rs - module::Module::set_var (line 1227) ... ok [INFO] [stdout] test src/module/resolvers/dummy.rs - module::resolvers::dummy::DummyModuleResolver::new (line 25) ... ok [INFO] [stdout] test src/module/resolvers/dummy.rs - module::resolvers::dummy::DummyModuleResolver (line 9) ... ok [INFO] [stdout] test src/module/resolvers/file.rs - module::resolvers::file::FileModuleResolver (line 37) ... ok [INFO] [stdout] test src/types/dynamic.rs - types::dynamic::Dynamic::cast (line 1625) ... ok [INFO] [stdout] test src/module/resolvers/file.rs - module::resolvers::file::FileModuleResolver::new_with_path_and_extension (line 150) ... ok [INFO] [stdout] test src/packages/mod.rs - packages::def_package (line 114) ... ok [INFO] [stdout] test src/packages/mod.rs - packages::Package::register_into_engine (line 63) ... ok [INFO] [stdout] test src/module/resolvers/stat.rs - module::resolvers::stat::StaticModuleResolver (line 17) ... ok [INFO] [stdout] test src/module/resolvers/file.rs - module::resolvers::file::FileModuleResolver::new_with_path (line 103) ... ok [INFO] [stdout] test src/types/dynamic.rs - types::dynamic::Dynamic::clone_cast (line 1675) ... ok [INFO] [stdout] test src/module/resolvers/collection.rs - module::resolvers::collection::ModuleResolversCollection (line 14) ... ok [INFO] [stdout] test src/module/resolvers/file.rs - module::resolvers::file::FileModuleResolver::new (line 80) ... ok [INFO] [stdout] test src/module/resolvers/stat.rs - module::resolvers::stat::StaticModuleResolver::new (line 38) ... ok [INFO] [stdout] test src/packages/mod.rs - packages::Package::register_into_engine_as (line 83) ... ok [INFO] [stdout] test src/module/resolvers/file.rs - module::resolvers::file::FileModuleResolver::new_with_extension (line 124) ... ok [INFO] [stdout] test src/module/resolvers/collection.rs - module::resolvers::collection::ModuleResolversCollection::new (line 34) ... ok [INFO] [stdout] test src/types/dynamic.rs - types::dynamic::Dynamic::try_cast (line 1466) ... ok [INFO] [stdout] test src/types/immutable_string.rs - types::immutable_string::ImmutableString::ptr_eq (line 758) ... ok [INFO] [stdout] test src/types/immutable_string.rs - types::immutable_string::ImmutableString (line 24) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::clear (line 205) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::get (line 693) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::contains (line 458) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope (line 31) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::get_value_mut (line 544) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::get_value_ref (line 511) ... ok [INFO] [stdout] test src/types/dynamic.rs - types::dynamic::Dynamic::from (line 1330) ... ok [INFO] [stdout] test src/types/fn_ptr.rs - types::fn_ptr::FnPtr::call (line 220) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::get_mut (line 773) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::is_constant (line 581) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::is_empty (line 249) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::get_value (line 486) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::iter (line 881) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::push_dynamic (line 287) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::len (line 231) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::new (line 161) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::rewind (line 425) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::push (line 267) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::with_capacity (line 183) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::pop (line 374) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::set_or_push (line 607) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::remove (line 735) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::push_constant_dynamic (line 333) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::push_constant (line 306) ... ok [INFO] [stdout] test src/types/scope.rs - types::scope::Scope<'_>::set_value (line 655) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 133 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.66s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02d1d6b0e3addc4efe06d7d763d3719fa86808b7ee6f8d823c29e9b1e7368fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d1d6b0e3addc4efe06d7d763d3719fa86808b7ee6f8d823c29e9b1e7368fa1", kill_on_drop: false }` [INFO] [stdout] 02d1d6b0e3addc4efe06d7d763d3719fa86808b7ee6f8d823c29e9b1e7368fa1