[INFO] cloning repository https://github.com/alasco-tech/alasco-money [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alasco-tech/alasco-money" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falasco-tech%2Falasco-money", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falasco-tech%2Falasco-money'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1af0cf3b0cb90af9d93bc8ab0d3f5cd03559e40 [INFO] checking alasco-tech/alasco-money 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%2Falasco-tech%2Falasco-money" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alasco-tech/alasco-money [INFO] finished tweaking git repo https://github.com/alasco-tech/alasco-money [INFO] tweaked toml for git repo https://github.com/alasco-tech/alasco-money written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alasco-tech/alasco-money 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/alasco-tech/alasco-money 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-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] c91d351a1114608a8a7a6c049e0aebf7779c787386f4f0c39196359fd7f2432b [INFO] running `Command { std: "docker" "start" "-a" "c91d351a1114608a8a7a6c049e0aebf7779c787386f4f0c39196359fd7f2432b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91d351a1114608a8a7a6c049e0aebf7779c787386f4f0c39196359fd7f2432b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91d351a1114608a8a7a6c049e0aebf7779c787386f4f0c39196359fd7f2432b", kill_on_drop: false }` [INFO] [stdout] c91d351a1114608a8a7a6c049e0aebf7779c787386f4f0c39196359fd7f2432b [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] 7bd8b701cacdd3d1aff5bf41f67beed298bfdc05461f35e2274f524d1441b1bc [INFO] running `Command { std: "docker" "start" "-a" "7bd8b701cacdd3d1aff5bf41f67beed298bfdc05461f35e2274f524d1441b1bc", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking alasco-money v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn round(&self, n: Option) -> Self { [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/money.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn for_json(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:99:52 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_equal_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | fn is_lower_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | fn is_lower_or_equal_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn rounded_to_cents(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | fn rounded_to_money_field_precision(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/money_vat.rs:414:69 [INFO] [stdout] | [INFO] [stdout] 414 | fn safe_ratio(dividend: Option, divisor: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/money_vat.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:648:27 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:652:31 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:656:57 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[rust_decimal::Decimal; 5], Infallible> [INFO] [stdout] --> src/money_vat.rs:661:30 [INFO] [stdout] | [INFO] [stdout] 661 | fn german_vat_rates() -> [Decimal; 5] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[rust_decimal::Decimal; 9], Infallible> [INFO] [stdout] --> src/money_vat.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 666 | fn known_vat_rates() -> [Decimal; 9] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:222:57 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alasco-money` (lib) due to 21 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/money.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn round(&self, n: Option) -> Self { [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/money.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn for_json(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:288:31 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:99:52 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_equal_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | fn is_lower_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | fn is_lower_or_equal_up_to_cents(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn rounded_to_cents(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | fn rounded_to_money_field_precision(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/money_vat.rs:414:69 [INFO] [stdout] | [INFO] [stdout] 414 | fn safe_ratio(dividend: Option, divisor: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/money_vat.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:648:27 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:652:31 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat.rs:656:57 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[rust_decimal::Decimal; 5], Infallible> [INFO] [stdout] --> src/money_vat.rs:661:30 [INFO] [stdout] | [INFO] [stdout] 661 | fn german_vat_rates() -> [Decimal; 5] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[rust_decimal::Decimal; 9], Infallible> [INFO] [stdout] --> src/money_vat.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 666 | fn known_vat_rates() -> [Decimal; 9] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/money_vat_ratio.rs:222:57 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn __deepcopy__(&self, _memo: Bound) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alasco-money` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "7bd8b701cacdd3d1aff5bf41f67beed298bfdc05461f35e2274f524d1441b1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd8b701cacdd3d1aff5bf41f67beed298bfdc05461f35e2274f524d1441b1bc", kill_on_drop: false }` [INFO] [stdout] 7bd8b701cacdd3d1aff5bf41f67beed298bfdc05461f35e2274f524d1441b1bc