[INFO] cloning repository https://github.com/meskill/challenge-transaction-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meskill/challenge-transaction-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeskill%2Fchallenge-transaction-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeskill%2Fchallenge-transaction-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e79c9d2d4146c80b01216116cfb11b3db360fd3 [INFO] checking meskill/challenge-transaction-engine 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%2Fmeskill%2Fchallenge-transaction-engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/meskill/challenge-transaction-engine [INFO] finished tweaking git repo https://github.com/meskill/challenge-transaction-engine [INFO] tweaked toml for git repo https://github.com/meskill/challenge-transaction-engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meskill/challenge-transaction-engine 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/meskill/challenge-transaction-engine 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6f4bb2cd71b7a31d9a9ca6efb91eebcc704eaf9e11dbbb92da4c6bf98f3a57d1 [INFO] running `Command { std: "docker" "start" "-a" "6f4bb2cd71b7a31d9a9ca6efb91eebcc704eaf9e11dbbb92da4c6bf98f3a57d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f4bb2cd71b7a31d9a9ca6efb91eebcc704eaf9e11dbbb92da4c6bf98f3a57d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f4bb2cd71b7a31d9a9ca6efb91eebcc704eaf9e11dbbb92da4c6bf98f3a57d1", kill_on_drop: false }` [INFO] [stdout] 6f4bb2cd71b7a31d9a9ca6efb91eebcc704eaf9e11dbbb92da4c6bf98f3a57d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e785595c5b42134f61cd233ee39d9ad6b3173175897938d4b29fca419d3383c0 [INFO] running `Command { std: "docker" "start" "-a" "e785595c5b42134f61cd233ee39d9ad6b3173175897938d4b29fca419d3383c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling rust_decimal_macros v1.38.0 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling bon-macros v3.7.2 [INFO] [stderr] Checking test-log v0.2.18 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking bon v3.7.2 [INFO] [stderr] Checking challenge-transaction-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<&mut client::Client, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:23:94 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_or_create_client(&mut self, client: ClientId) -> Result<&mut Client, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 24 | | let client = self [INFO] [stdout] 25 | | .clients [INFO] [stdout] 26 | | .entry(client) [INFO] [stdout] ... | [INFO] [stdout] 29 | | Ok(client) [INFO] [stdout] 30 | | } [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<&mut client::Client, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(client) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:37:86 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_transaction(&self, tx: TxId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 38 | | Ok(self.transactions.get(&tx)) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(self.transactions.get(&tx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:41:78 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_dispute(&self, tx: TxId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 42 | | Ok(self.disputes.get(&tx)) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(self.disputes.get(&tx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:50:85 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_all_clients(&self) -> Result, Self::Error> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 51 | | Ok(self.clients.values()) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(self.clients.values()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `challenge-transaction-engine` (lib) due to 8 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<&mut client::Client, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:23:94 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_or_create_client(&mut self, client: ClientId) -> Result<&mut Client, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 24 | | let client = self [INFO] [stdout] 25 | | .clients [INFO] [stdout] 26 | | .entry(client) [INFO] [stdout] ... | [INFO] [stdout] 29 | | Ok(client) [INFO] [stdout] 30 | | } [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<&mut client::Client, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(client) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:37:86 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_transaction(&self, tx: TxId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 38 | | Ok(self.transactions.get(&tx)) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(self.transactions.get(&tx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:41:78 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_dispute(&self, tx: TxId) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 42 | | Ok(self.disputes.get(&tx)) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(self.disputes.get(&tx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:50:85 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_all_clients(&self) -> Result, Self::Error> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 51 | | Ok(self.clients.values()) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/transaction_engine/store/in_memory.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(self.clients.values()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `challenge-transaction-engine` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "e785595c5b42134f61cd233ee39d9ad6b3173175897938d4b29fca419d3383c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e785595c5b42134f61cd233ee39d9ad6b3173175897938d4b29fca419d3383c0", kill_on_drop: false }` [INFO] [stdout] e785595c5b42134f61cd233ee39d9ad6b3173175897938d4b29fca419d3383c0