[INFO] fetching crate fcplug-callee 0.2.4... [INFO] checking fcplug-callee-0.2.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate fcplug-callee 0.2.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate fcplug-callee 0.2.4 [INFO] finished tweaking crates.io crate fcplug-callee 0.2.4 [INFO] tweaked toml for crates.io crate fcplug-callee 0.2.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fcplug-callee 0.2.4 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 100 packages to latest compatible versions [INFO] [stderr] Adding fcplug-build v0.2.4 (available: v0.4.5) [INFO] [stderr] Adding flatbuffers v23.5.26 (available: v25.9.23) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.7.2) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f1827829836f4c08b61061ae161e7386cf4f2f044b29019b21c9f418357962b9 [INFO] running `Command { std: "docker" "start" "-a" "f1827829836f4c08b61061ae161e7386cf4f2f044b29019b21c9f418357962b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1827829836f4c08b61061ae161e7386cf4f2f044b29019b21c9f418357962b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1827829836f4c08b61061ae161e7386cf4f2f044b29019b21c9f418357962b9", kill_on_drop: false }` [INFO] [stdout] f1827829836f4c08b61061ae161e7386cf4f2f044b29019b21c9f418357962b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8342637cf814c60aeb7498705db274d6e65e8e145d429641f824d8a937068af4 [INFO] running `Command { std: "docker" "start" "-a" "8342637cf814c60aeb7498705db274d6e65e8e145d429641f824d8a937068af4", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling flatc-rust v0.2.0 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling fcplug-macros v0.2.4 [INFO] [stderr] Checking defer-lite v1.0.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling fcplug-build v0.2.4 [INFO] [stderr] Compiling fcplug-callee v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/flatbuf.rs:100:75 [INFO] [stdout] | [INFO] [stdout] 100 | fn try_into_buffer(mut self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 101 | | let b = self.mut_finished_buffer(); [INFO] [stdout] 102 | | let mut buf = LeakBuffer { [INFO] [stdout] 103 | | free_type: OriginType::FlatBuffer, [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(buf) [INFO] [stdout] 113 | | } [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/flatbuf.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/basic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / { [INFO] [stdout] 15 | | Ok(buf.to_owned()) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/basic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(buf.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/basic.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / { [INFO] [stdout] 27 | | Ok(buf) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/basic.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/basic.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / { [INFO] [stdout] 38 | | Ok(unsafe { std::str::from_utf8_unchecked(buf) }) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/basic.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(unsafe { std::str::from_utf8_unchecked(buf) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut [u8], Infallible> [INFO] [stdout] --> src/basic.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / { [INFO] [stdout] 50 | | Ok(buf) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut [u8], Infallible> [INFO] [stdout] --> src/basic.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut str, Infallible> [INFO] [stdout] --> src/basic.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / { [INFO] [stdout] 61 | | Ok(unsafe { std::str::from_utf8_unchecked_mut(buf) }) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut str, Infallible> [INFO] [stdout] --> src/basic.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(unsafe { std::str::from_utf8_unchecked_mut(buf) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:72:71 [INFO] [stdout] | [INFO] [stdout] 72 | fn try_into_buffer(self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 73 | | Ok(LeakBuffer::from_vec(self)) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(LeakBuffer::from_vec(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:81:71 [INFO] [stdout] | [INFO] [stdout] 81 | fn try_into_buffer(self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 82 | | Ok(LeakBuffer::from_vec(self.into_bytes())) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(LeakBuffer::from_vec(self.into_bytes())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fcplug-callee` (lib) due to 16 previous errors [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/flatbuf.rs:100:75 [INFO] [stdout] | [INFO] [stdout] 100 | fn try_into_buffer(mut self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 101 | | let b = self.mut_finished_buffer(); [INFO] [stdout] 102 | | let mut buf = LeakBuffer { [INFO] [stdout] 103 | | free_type: OriginType::FlatBuffer, [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(buf) [INFO] [stdout] 113 | | } [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/flatbuf.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/basic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / { [INFO] [stdout] 15 | | Ok(buf.to_owned()) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/basic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(buf.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/basic.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / { [INFO] [stdout] 27 | | Ok(buf) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/basic.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/basic.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / { [INFO] [stdout] 38 | | Ok(unsafe { std::str::from_utf8_unchecked(buf) }) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/basic.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(unsafe { std::str::from_utf8_unchecked(buf) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut [u8], Infallible> [INFO] [stdout] --> src/basic.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / { [INFO] [stdout] 50 | | Ok(buf) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut [u8], Infallible> [INFO] [stdout] --> src/basic.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(buf) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut str, Infallible> [INFO] [stdout] --> src/basic.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / { [INFO] [stdout] 61 | | Ok(unsafe { std::str::from_utf8_unchecked_mut(buf) }) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut str, Infallible> [INFO] [stdout] --> src/basic.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(unsafe { std::str::from_utf8_unchecked_mut(buf) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:72:71 [INFO] [stdout] | [INFO] [stdout] 72 | fn try_into_buffer(self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 73 | | Ok(LeakBuffer::from_vec(self)) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(LeakBuffer::from_vec(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:81:71 [INFO] [stdout] | [INFO] [stdout] 81 | fn try_into_buffer(self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 82 | | Ok(LeakBuffer::from_vec(self.into_bytes())) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/basic.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(LeakBuffer::from_vec(self.into_bytes())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fcplug-callee` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "8342637cf814c60aeb7498705db274d6e65e8e145d429641f824d8a937068af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8342637cf814c60aeb7498705db274d6e65e8e145d429641f824d8a937068af4", kill_on_drop: false }` [INFO] [stdout] 8342637cf814c60aeb7498705db274d6e65e8e145d429641f824d8a937068af4