[INFO] fetching crate error_mancer 0.4.3... [INFO] checking error_mancer-0.4.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate error_mancer 0.4.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate error_mancer 0.4.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate error_mancer 0.4.3 [INFO] tweaked toml for crates.io crate error_mancer 0.4.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate error_mancer 0.4.3 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 error_mancer 0.4.3 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c8175a1020e5951ffd2cdba95dcc036ea4d86c651ca326ff3b05714417e584b4 [INFO] running `Command { std: "docker" "start" "-a" "c8175a1020e5951ffd2cdba95dcc036ea4d86c651ca326ff3b05714417e584b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8175a1020e5951ffd2cdba95dcc036ea4d86c651ca326ff3b05714417e584b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8175a1020e5951ffd2cdba95dcc036ea4d86c651ca326ff3b05714417e584b4", kill_on_drop: false }` [INFO] [stdout] c8175a1020e5951ffd2cdba95dcc036ea4d86c651ca326ff3b05714417e584b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] db78a39ff310a8c9ae6d6fc16c4014db0276f41a8a17eee6e43d56bf44a2bcc6 [INFO] running `Command { std: "docker" "start" "-a" "db78a39ff310a8c9ae6d6fc16c4014db0276f41a8a17eee6e43d56bf44a2bcc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling error_mancer_macros v0.4.3 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking error_mancer v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stdout] warning: struct `Err1` is never constructed [INFO] [stdout] --> tests/derive.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Err1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> tests/derive.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn bar() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bar` is never constructed [INFO] [stdout] --> tests/derive.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Bar; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Err1` is never constructed [INFO] [stdout] --> tests/name.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Err1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> tests/basic.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `errors` (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: ControlFlow, i32> [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn foo() -> Result { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 11 | | Ok(10) [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(10) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(foo().unwrap(), 10); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `error_mancer` (test "basic") due to 6 previous errors; 1 warning 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] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [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] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `errors` (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: ControlFlow, i32> [INFO] [stdout] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | async fn async_works() -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 10 | | Ok(foo().await) [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(foo().await) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/async.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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] --> tests/async.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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] --> tests/async.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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] --> tests/async.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(async_works().await, Ok(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: ControlFlow, i32> [INFO] [stdout] --> tests/anyhow.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[errors] [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] --> tests/anyhow.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `errors` (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] --> tests/anyhow.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | fn no_errors_foo() -> Result { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 6 | | Ok(10) [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/anyhow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(10) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> tests/anyhow.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/anyhow.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `errors` (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] --> tests/anyhow.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn double(x: i32) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 16 | | Ok(x * 2) [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/anyhow.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(x * 2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> tests/anyhow.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/anyhow.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[errors] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `errors` (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] --> tests/anyhow.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn foo(&self) -> Result { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 34 | | Ok(10) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/anyhow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(10) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `error_mancer` (test "async") due to 17 previous errors [INFO] [stderr] error: could not compile `error_mancer` (test "anyhow") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "db78a39ff310a8c9ae6d6fc16c4014db0276f41a8a17eee6e43d56bf44a2bcc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db78a39ff310a8c9ae6d6fc16c4014db0276f41a8a17eee6e43d56bf44a2bcc6", kill_on_drop: false }` [INFO] [stdout] db78a39ff310a8c9ae6d6fc16c4014db0276f41a8a17eee6e43d56bf44a2bcc6