[INFO] cloning repository https://github.com/YouKnow-sys/saamt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YouKnow-sys/saamt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouKnow-sys%2Fsaamt-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouKnow-sys%2Fsaamt-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c24da70b83ec38557e2e0ba73e41738767991d4d [INFO] checking YouKnow-sys/saamt-rs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouKnow-sys%2Fsaamt-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YouKnow-sys/saamt-rs [INFO] finished tweaking git repo https://github.com/YouKnow-sys/saamt-rs [INFO] tweaked toml for git repo https://github.com/YouKnow-sys/saamt-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YouKnow-sys/saamt-rs 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 git repo https://github.com/YouKnow-sys/saamt-rs 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f560965f1922cc3ddf0a78f038f3f83d01118e5d39b96f71fd588f1dcb0ef170 [INFO] running `Command { std: "docker" "start" "-a" "f560965f1922cc3ddf0a78f038f3f83d01118e5d39b96f71fd588f1dcb0ef170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f560965f1922cc3ddf0a78f038f3f83d01118e5d39b96f71fd588f1dcb0ef170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f560965f1922cc3ddf0a78f038f3f83d01118e5d39b96f71fd588f1dcb0ef170", kill_on_drop: false }` [INFO] [stdout] f560965f1922cc3ddf0a78f038f3f83d01118e5d39b96f71fd588f1dcb0ef170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] be86c561a52152093964b8596e78b097190dec60c5894fd5c826bf0cd0782c1a [INFO] running `Command { std: "docker" "start" "-a" "be86c561a52152093964b8596e78b097190dec60c5894fd5c826bf0cd0782c1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling syn v2.0.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking saamt-core v0.1.4 (/opt/rustwide/workdir/saamt-core) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> saamt-core/src/config/lookuptable/mod.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(|&(_, e)| (e.index == idx)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - .filter(|&(_, e)| (e.index == idx)) [INFO] [stdout] 62 + .filter(|&(_, e)| e.index == idx) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> saamt-core/src/config/lookuptable/mod.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(|&(_, e)| (e.index == idx)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - .filter(|&(_, e)| (e.index == idx)) [INFO] [stdout] 62 + .filter(|&(_, e)| e.index == idx) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/config/bankslot/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | #[br(count = num_slots as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/reporter.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | reporter: &mut P, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> ProgressReporterIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 41 | ) -> ProgressReporterIter<'_, P, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/bank.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn raw_sounds(&self) -> RawSounds { [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] 204 | pub fn raw_sounds(&self) -> RawSounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/platforms/pc.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pc_sounds(&self) -> PCSounds { [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] 84 | pub fn pc_sounds(&self) -> PCSounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/platforms/ps2.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn ps2_sounds(&self) -> PS2Sounds { [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] 227 | pub fn ps2_sounds(&self) -> PS2Sounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/sfx/structures.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[br(count = num_sounds as usize, map = |se: Vec| generate_sizes(se, buf_len))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/utils/vag/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn decoder(&self) -> VAG2WAVDecoder { [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] 110 | pub fn decoder(&self) -> VAG2WAVDecoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/utils/vag/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | #[br(count = (size - 16) as usize / size_of::())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saamt-core` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/config/bankslot/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | #[br(count = num_slots as usize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/reporter.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | reporter: &mut P, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> ProgressReporterIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 41 | ) -> ProgressReporterIter<'_, P, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/bank.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn raw_sounds(&self) -> RawSounds { [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] 204 | pub fn raw_sounds(&self) -> RawSounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/platforms/pc.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pc_sounds(&self) -> PCSounds { [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] 84 | pub fn pc_sounds(&self) -> PCSounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/sfx/platforms/ps2.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn ps2_sounds(&self) -> PS2Sounds { [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] 227 | pub fn ps2_sounds(&self) -> PS2Sounds<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/sfx/structures.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[br(count = num_sounds as usize, map = |se: Vec| generate_sizes(se, buf_len))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> saamt-core/src/utils/vag/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn decoder(&self) -> VAG2WAVDecoder { [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] 110 | pub fn decoder(&self) -> VAG2WAVDecoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> saamt-core/src/utils/vag/mod.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | #[br(count = (size - 16) as usize / size_of::())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saamt-core` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be86c561a52152093964b8596e78b097190dec60c5894fd5c826bf0cd0782c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be86c561a52152093964b8596e78b097190dec60c5894fd5c826bf0cd0782c1a", kill_on_drop: false }` [INFO] [stdout] be86c561a52152093964b8596e78b097190dec60c5894fd5c826bf0cd0782c1a