[INFO] fetching crate lucia-lang 0.2.0... [INFO] checking lucia-lang-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate lucia-lang 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate lucia-lang 0.2.0 [INFO] finished tweaking crates.io crate lucia-lang 0.2.0 [INFO] tweaked toml for crates.io crate lucia-lang 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lucia-lang 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding gc-arena v0.3.3 (available: v0.5.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ff458bc31d4cf6c6b38eb1547d6394b04e35ea3714c8d79fad79d972e563c6b8 [INFO] running `Command { std: "docker" "start" "-a" "ff458bc31d4cf6c6b38eb1547d6394b04e35ea3714c8d79fad79d972e563c6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff458bc31d4cf6c6b38eb1547d6394b04e35ea3714c8d79fad79d972e563c6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff458bc31d4cf6c6b38eb1547d6394b04e35ea3714c8d79fad79d972e563c6b8", kill_on_drop: false }` [INFO] [stdout] ff458bc31d4cf6c6b38eb1547d6394b04e35ea3714c8d79fad79d972e563c6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 42146d2fa430b9c07b942dc3a603e5381c290019778dfa4bc64e71c37e3e9fa8 [INFO] running `Command { std: "docker" "start" "-a" "42146d2fa430b9c07b942dc3a603e5381c290019778dfa4bc64e71c37e3e9fa8", kill_on_drop: false }` [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling gc-arena-derive v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking gc-arena v0.3.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking lucia-lang v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `indexmap::IndexSet::::remove`: `remove` disrupts the set order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/compiler/analyzer.rs:562:43 [INFO] [stdout] | [INFO] [stdout] 562 | base_func.local_names.remove(name); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexSet::::remove`: `remove` disrupts the set order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/compiler/analyzer.rs:633:43 [INFO] [stdout] | [INFO] [stdout] 633 | base_func.local_names.remove(name); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexSet::::remove`: `remove` disrupts the set order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/compiler/analyzer.rs:562:43 [INFO] [stdout] | [INFO] [stdout] 562 | base_func.local_names.remove(name); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexSet::::remove`: `remove` disrupts the set order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/compiler/analyzer.rs:633:43 [INFO] [stdout] | [INFO] [stdout] 633 | base_func.local_names.remove(name); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/objects/table.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | entries.map.remove(&key); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/objects/table.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | entries.map.remove(&key); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/objects/conversion.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(i) = <$i>::try_from(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | impl_int_from!(i64, u64, i32, u32, i16, u16, i8, u8, isize, usize); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_int_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/objects/conversion.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(i) = <$i>::try_from(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | impl_int_from!(i64, u64, i32, u32, i16, u16, i8, u8, isize, usize); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_int_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/objects/callback.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | struct CB(i64); [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/objects/conversion.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(i) = <$i>::try_from(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | impl_int_from!(i64, u64, i32, u32, i16, u16, i8, u8, isize, usize); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_int_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/objects/conversion.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(i) = <$i>::try_from(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | impl_int_from!(i64, u64, i32, u32, i16, u16, i8, u8, isize, usize); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_int_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucia-lang` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lucia-lang` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "42146d2fa430b9c07b942dc3a603e5381c290019778dfa4bc64e71c37e3e9fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42146d2fa430b9c07b942dc3a603e5381c290019778dfa4bc64e71c37e3e9fa8", kill_on_drop: false }` [INFO] [stdout] 42146d2fa430b9c07b942dc3a603e5381c290019778dfa4bc64e71c37e3e9fa8