[INFO] fetching crate arg_combinators 0.6.0... [INFO] checking arg_combinators-0.6.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate arg_combinators 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate arg_combinators 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate arg_combinators 0.6.0 [INFO] tweaked toml for crates.io crate arg_combinators 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arg_combinators 0.6.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] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 81d205e9c7fda29d1a1494958a3e8697fa0d8613ca8e4dabff331e7681434244 [INFO] running `Command { std: "docker" "start" "-a" "81d205e9c7fda29d1a1494958a3e8697fa0d8613ca8e4dabff331e7681434244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81d205e9c7fda29d1a1494958a3e8697fa0d8613ca8e4dabff331e7681434244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d205e9c7fda29d1a1494958a3e8697fa0d8613ca8e4dabff331e7681434244", kill_on_drop: false }` [INFO] [stdout] 81d205e9c7fda29d1a1494958a3e8697fa0d8613ca8e4dabff331e7681434244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 23c75ef1930c589d6680dd1dfad469e7b0fbd28d84ce6468c5a1447e582b5379 [INFO] running `Command { std: "docker" "start" "-a" "23c75ef1930c589d6680dd1dfad469e7b0fbd28d84ce6468c5a1447e582b5379", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking arg_combinators v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arg.rs:297:73 [INFO] [stdout] | [INFO] [stdout] 297 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 298 | | Ok(matches.opt_present(self.common.long.as_str())) [INFO] [stdout] 299 | | } [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/arg.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(matches.opt_present(self.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:330:73 [INFO] [stdout] | [INFO] [stdout] 330 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 331 | | Ok(matches.opt_str(self.common.long.as_str())) [INFO] [stdout] 332 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | Ok(matches.opt_str(self.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arg.rs:356:73 [INFO] [stdout] | [INFO] [stdout] 356 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 357 | | Ok(matches.opt_count(self.flag.common.long.as_str())) [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arg.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Ok(matches.opt_count(self.flag.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:387:73 [INFO] [stdout] | [INFO] [stdout] 387 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 388 | | Ok(matches.opt_strs(self.opt.common.long.as_str())) [INFO] [stdout] 389 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Ok(matches.opt_strs(self.opt.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:401:73 [INFO] [stdout] | [INFO] [stdout] 401 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 402 | | Ok(matches.free.clone()) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | Ok(matches.free.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result<::Item, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:189:73 [INFO] [stdout] | [INFO] [stdout] 189 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 190 | | Ok((self.a.get(matches), self.b.get(matches))) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result<::Item, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Ok((self.a.get(matches), self.b.get(matches))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:697:43 [INFO] [stdout] | [INFO] [stdout] 697 | let (a, b) = Never::result_ok(r); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:797:43 [INFO] [stdout] | [INFO] [stdout] 797 | let (a, b) = Never::result_ok(r); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arg_combinators` (lib) due to 10 previous errors; 4 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/arg.rs:297:73 [INFO] [stdout] | [INFO] [stdout] 297 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 298 | | Ok(matches.opt_present(self.common.long.as_str())) [INFO] [stdout] 299 | | } [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/arg.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(matches.opt_present(self.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:330:73 [INFO] [stdout] | [INFO] [stdout] 330 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 331 | | Ok(matches.opt_str(self.common.long.as_str())) [INFO] [stdout] 332 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | Ok(matches.opt_str(self.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arg.rs:356:73 [INFO] [stdout] | [INFO] [stdout] 356 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 357 | | Ok(matches.opt_count(self.flag.common.long.as_str())) [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arg.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Ok(matches.opt_count(self.flag.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:387:73 [INFO] [stdout] | [INFO] [stdout] 387 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 388 | | Ok(matches.opt_strs(self.opt.common.long.as_str())) [INFO] [stdout] 389 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Ok(matches.opt_strs(self.opt.common.long.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:401:73 [INFO] [stdout] | [INFO] [stdout] 401 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 402 | | Ok(matches.free.clone()) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, util::Never> [INFO] [stdout] --> src/arg.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | Ok(matches.free.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result<::Item, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:189:73 [INFO] [stdout] | [INFO] [stdout] 189 | fn get(&self, matches: &Matches) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 190 | | Ok((self.a.get(matches), self.b.get(matches))) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result<::Item, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Ok((self.a.get(matches), self.b.get(matches))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result, ::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:697:43 [INFO] [stdout] | [INFO] [stdout] 697 | let (a, b) = Never::result_ok(r); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result<(Result::Error>, Result<::Item, ::Error>), util::Never> [INFO] [stdout] --> src/ext.rs:797:43 [INFO] [stdout] | [INFO] [stdout] 797 | let (a, b) = Never::result_ok(r); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arg_combinators` (lib test) due to 10 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23c75ef1930c589d6680dd1dfad469e7b0fbd28d84ce6468c5a1447e582b5379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c75ef1930c589d6680dd1dfad469e7b0fbd28d84ce6468c5a1447e582b5379", kill_on_drop: false }` [INFO] [stdout] 23c75ef1930c589d6680dd1dfad469e7b0fbd28d84ce6468c5a1447e582b5379