[INFO] fetching crate ironworks 0.4.1... [INFO] checking ironworks-0.4.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ironworks 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ironworks 0.4.1 [INFO] finished tweaking crates.io crate ironworks 0.4.1 [INFO] tweaked toml for crates.io crate ironworks 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ironworks 0.4.1 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] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding binrw v0.8.4 (available: v0.15.0) [INFO] [stderr] Adding enum-as-inner v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding half v1.8.3 (available: v2.7.1) [INFO] [stderr] Adding modular-bitfield v0.11.2 (available: v0.13.0) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.5) [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] 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] 370935f2140b88209c294e6baca1cf4131fbd6b652706330afa76ba0e4bb5a59 [INFO] running `Command { std: "docker" "start" "-a" "370935f2140b88209c294e6baca1cf4131fbd6b652706330afa76ba0e4bb5a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "370935f2140b88209c294e6baca1cf4131fbd6b652706330afa76ba0e4bb5a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370935f2140b88209c294e6baca1cf4131fbd6b652706330afa76ba0e4bb5a59", kill_on_drop: false }` [INFO] [stdout] 370935f2140b88209c294e6baca1cf4131fbd6b652706330afa76ba0e4bb5a59 [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] 44ff29a4142be8225afa25c032419ddfff034fb3d56f9f834905568293e0eb76 [INFO] running `Command { std: "docker" "start" "-a" "44ff29a4142be8225afa25c032419ddfff034fb3d56f9f834905568293e0eb76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling binrw_derive v0.8.4 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking binrw v0.8.4 [INFO] [stderr] Checking ironworks v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMapCacheExt` and `HashMapCache` [INFO] [stdout] --> src/utility/mod.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map_cache::{HashMapCache, HashMapCacheExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionCacheExt` and `OptionCache` [INFO] [stdout] --> src/utility/mod.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub use option_cache::{OptionCache, OptionCacheExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMapCacheExt` and `HashMapCache` [INFO] [stdout] --> src/utility/mod.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map_cache::{HashMapCache, HashMapCacheExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionCacheExt` and `OptionCache` [INFO] [stdout] --> src/utility/mod.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub use option_cache::{OptionCache, OptionCacheExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HashMapCache` is never used [INFO] [stdout] --> src/utility/hash_map_cache.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type HashMapCache = Mutex>>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashMapCacheExt` is never used [INFO] [stdout] --> src/utility/hash_map_cache.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait HashMapCacheExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `OptionCache` is never used [INFO] [stdout] --> src/utility/option_cache.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type OptionCache = Mutex>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionCacheExt` is never used [INFO] [stdout] --> src/utility/option_cache.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait OptionCacheExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/hash_map_cache.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | / cache [INFO] [stdout] 44 | | .try_get_or_insert(0, || -> Result { [INFO] [stdout] 45 | | count += 1; [INFO] [stdout] 46 | | Ok(0) [INFO] [stdout] 47 | | }) [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: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | .try_get_or_insert(0, || -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 45 | | count += 1; [INFO] [stdout] 46 | | Ok(0) [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(0) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/hash_map_cache.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / cache [INFO] [stdout] 50 | | .try_get_or_insert(1, || -> Result { [INFO] [stdout] 51 | | count += 1; [INFO] [stdout] 52 | | Ok(1) [INFO] [stdout] 53 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | .try_get_or_insert(1, || -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 51 | | count += 1; [INFO] [stdout] 52 | | Ok(1) [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(1) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/hash_map_cache.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let value = cache [INFO] [stdout] | _____________________^ [INFO] [stdout] 56 | | .try_get_or_insert(1, || -> Result { [INFO] [stdout] 57 | | count += 1; [INFO] [stdout] 58 | | Ok(2) [INFO] [stdout] 59 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | .try_get_or_insert(1, || -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 57 | | count += 1; [INFO] [stdout] 58 | | Ok(2) [INFO] [stdout] 59 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(2) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/hash_map_cache.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let value = cache [INFO] [stdout] | _____________________^ [INFO] [stdout] 71 | | .try_get_or_insert(1, || -> Result { Ok(1) }) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | .try_get_or_insert(1, || -> Result { Ok(1) }) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/hash_map_cache.rs:71:57 [INFO] [stdout] | [INFO] [stdout] 71 | .try_get_or_insert(1, || -> Result { Ok(1) }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/option_cache.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | / cache [INFO] [stdout] 35 | | .try_get_or_insert(|| -> Result { [INFO] [stdout] 36 | | count += 1; [INFO] [stdout] 37 | | Ok(1) [INFO] [stdout] 38 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | .try_get_or_insert(|| -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 36 | | count += 1; [INFO] [stdout] 37 | | Ok(1) [INFO] [stdout] 38 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(1) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/option_cache.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let value = cache [INFO] [stdout] | _____________________^ [INFO] [stdout] 41 | | .try_get_or_insert(|| -> Result { [INFO] [stdout] 42 | | count += 1; [INFO] [stdout] 43 | | Ok(2) [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | .try_get_or_insert(|| -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 42 | | count += 1; [INFO] [stdout] 43 | | Ok(2) [INFO] [stdout] 44 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(2) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utility/option_cache.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let value = cache [INFO] [stdout] | _____________________^ [INFO] [stdout] 56 | | .try_get_or_insert(|| -> Result { Ok(1) }) [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | .try_get_or_insert(|| -> Result { Ok(1) }) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utility/option_cache.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | .try_get_or_insert(|| -> Result { Ok(1) }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ironworks` (lib test) due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44ff29a4142be8225afa25c032419ddfff034fb3d56f9f834905568293e0eb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ff29a4142be8225afa25c032419ddfff034fb3d56f9f834905568293e0eb76", kill_on_drop: false }` [INFO] [stdout] 44ff29a4142be8225afa25c032419ddfff034fb3d56f9f834905568293e0eb76