[INFO] fetching crate poet-rhai 0.2.0... [INFO] checking poet-rhai-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate poet-rhai 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate poet-rhai 0.2.0 [INFO] finished tweaking crates.io crate poet-rhai 0.2.0 [INFO] tweaked toml for crates.io crate poet-rhai 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poet-rhai 0.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poet-rhai 0.2.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66194802248ab75cf46935c0fd9624d799d6de7e6805c44ac52ed17b37227d01 [INFO] running `Command { std: "docker" "start" "-a" "66194802248ab75cf46935c0fd9624d799d6de7e6805c44ac52ed17b37227d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66194802248ab75cf46935c0fd9624d799d6de7e6805c44ac52ed17b37227d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66194802248ab75cf46935c0fd9624d799d6de7e6805c44ac52ed17b37227d01", kill_on_drop: false }` [INFO] [stdout] 66194802248ab75cf46935c0fd9624d799d6de7e6805c44ac52ed17b37227d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55e1446d9bc1f0e163b8d11a4a121154f5fa9eea91762280499323ea86569426 [INFO] running `Command { std: "docker" "start" "-a" "55e1446d9bc1f0e163b8d11a4a121154f5fa9eea91762280499323ea86569426", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Compiling poet_rhai_codegen v3.1.0 [INFO] [stderr] Checking poet-rhai v0.2.0 (/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: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/packages/iter_basic.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | 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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/packages/time_basic.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | subtract_inner(timestamp, u64::try_from(seconds.unsigned_abs()).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/packages/time_basic.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | add_inner(timestamp, u64::try_from(seconds.unsigned_abs()).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/packages/iter_basic.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | 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] [stderr] error: could not compile `poet-rhai` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/packages/time_basic.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | subtract_inner(timestamp, u64::try_from(seconds.unsigned_abs()).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/packages/time_basic.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | add_inner(timestamp, u64::try_from(seconds.unsigned_abs()).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poet-rhai` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55e1446d9bc1f0e163b8d11a4a121154f5fa9eea91762280499323ea86569426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e1446d9bc1f0e163b8d11a4a121154f5fa9eea91762280499323ea86569426", kill_on_drop: false }` [INFO] [stdout] 55e1446d9bc1f0e163b8d11a4a121154f5fa9eea91762280499323ea86569426