[INFO] fetching crate okane 0.15.0... [INFO] checking okane-0.15.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate okane 0.15.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate okane 0.15.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate okane 0.15.0 [INFO] tweaked toml for crates.io crate okane 0.15.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate okane 0.15.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate okane 0.15.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2727db5bd8aebb8947a10f7c4c6b56fd33cfadddcba70ad652210339cb91bf52 [INFO] running `Command { std: "docker" "start" "-a" "2727db5bd8aebb8947a10f7c4c6b56fd33cfadddcba70ad652210339cb91bf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2727db5bd8aebb8947a10f7c4c6b56fd33cfadddcba70ad652210339cb91bf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2727db5bd8aebb8947a10f7c4c6b56fd33cfadddcba70ad652210339cb91bf52", kill_on_drop: false }` [INFO] [stdout] 2727db5bd8aebb8947a10f7c4c6b56fd33cfadddcba70ad652210339cb91bf52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e99d35a3659b38df5b4d82b7460271b9079b7adec013119ef7f8b1f1666aff [INFO] running `Command { std: "docker" "start" "-a" "14e99d35a3659b38df5b4d82b7460271b9079b7adec013119ef7f8b1f1666aff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling okane-core v0.15.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking annotate-snippets v0.11.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking dtor v0.0.6 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking okane-golden v0.1.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking ctor v0.4.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bounded-static-derive v0.8.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking bounded-static v0.8.0 [INFO] [stderr] Checking serde_with v3.13.0 [INFO] [stderr] Checking okane v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/import/single_entry.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | fn amount_with_sign(amount: &OwnedAmount, sign: Decimal) -> BorrowedAmount { [INFO] [stdout] | ^^^^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | fn amount_with_sign(amount: &OwnedAmount, sign: Decimal) -> BorrowedAmount<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot canonicalize base dir due No such file or directory (os error 2) [INFO] [stdout] --> tests/test_balance.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[files("single_commodity.ledger")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot canonicalize base dir due No such file or directory (os error 2) [INFO] [stdout] --> tests/test_balance.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | #[files("multi_commodity.ledger")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot canonicalize base dir due No such file or directory (os error 2) [INFO] [stdout] --> tests/test_balance.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | #[files("multi_commodity.ledger")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> tests/test_balance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> tests/test_balance.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::Display, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser as _` [INFO] [stdout] --> tests/test_balance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::Parser as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `okane::cmd` [INFO] [stdout] --> tests/test_balance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use okane::cmd; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `okane` (test "test_balance") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/import/single_entry.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | fn amount_with_sign(amount: &OwnedAmount, sign: Decimal) -> BorrowedAmount { [INFO] [stdout] | ^^^^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | fn amount_with_sign(amount: &OwnedAmount, sign: Decimal) -> BorrowedAmount<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/import/single_entry.rs:369:55 [INFO] [stdout] | [INFO] [stdout] 369 | fn syntax_amount(value: PrettyDecimal, commodity: &str) -> syntax::expr::ValueExpr { [INFO] [stdout] | ^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 369 | fn syntax_amount(value: PrettyDecimal, commodity: &str) -> syntax::expr::ValueExpr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14e99d35a3659b38df5b4d82b7460271b9079b7adec013119ef7f8b1f1666aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e99d35a3659b38df5b4d82b7460271b9079b7adec013119ef7f8b1f1666aff", kill_on_drop: false }` [INFO] [stdout] 14e99d35a3659b38df5b4d82b7460271b9079b7adec013119ef7f8b1f1666aff