[INFO] cloning repository https://github.com/teknologi-umum/kartel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teknologi-umum/kartel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteknologi-umum%2Fkartel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteknologi-umum%2Fkartel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0de6d1d8415d1df2d4ff7b0c288d75d9c58be057 [INFO] testing teknologi-umum/kartel against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteknologi-umum%2Fkartel" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/teknologi-umum/kartel [INFO] finished tweaking git repo https://github.com/teknologi-umum/kartel [INFO] tweaked toml for git repo https://github.com/teknologi-umum/kartel written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teknologi-umum/kartel on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teknologi-umum/kartel 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f75bbf64471e6f59a1e7b365675768357969aaa164f4184f78868b96c6370f [INFO] running `Command { std: "docker" "start" "-a" "53f75bbf64471e6f59a1e7b365675768357969aaa164f4184f78868b96c6370f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f75bbf64471e6f59a1e7b365675768357969aaa164f4184f78868b96c6370f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f75bbf64471e6f59a1e7b365675768357969aaa164f4184f78868b96c6370f", kill_on_drop: false }` [INFO] [stdout] 53f75bbf64471e6f59a1e7b365675768357969aaa164f4184f78868b96c6370f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ab746e43a9694be5933020dbe8dc7f1125fac9677b434af710ee6a5107448093 [INFO] running `Command { std: "docker" "start" "-a" "ab746e43a9694be5933020dbe8dc7f1125fac9677b434af710ee6a5107448093", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rust_decimal_macros v1.39.0 [INFO] [stderr] Compiling serde_with v3.16.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.5.1 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling env-file-reader v0.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling configrs v0.1.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling teloxide-core v0.13.0 [INFO] [stderr] Compiling teloxide v0.17.0 [INFO] [stderr] Compiling kartel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | commands::Command::Convert(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | commands::Command::PM(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | commands::Command::Zakat(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | commands::Command::Stock(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | commands::Command::RemindMe(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | commands::Command::CPI(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | commands::Command::SpongeBob(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsClientError` is never used [INFO] [stdout] --> src/error.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait AsClientError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "ab746e43a9694be5933020dbe8dc7f1125fac9677b434af710ee6a5107448093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab746e43a9694be5933020dbe8dc7f1125fac9677b434af710ee6a5107448093", kill_on_drop: false }` [INFO] [stdout] ab746e43a9694be5933020dbe8dc7f1125fac9677b434af710ee6a5107448093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 597711958a52ae5b579a0d4e0cbaddbd7954fb2883910e0b953fb68898eef084 [INFO] running `Command { std: "docker" "start" "-a" "597711958a52ae5b579a0d4e0cbaddbd7954fb2883910e0b953fb68898eef084", kill_on_drop: false }` [INFO] [stderr] Compiling kartel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/handlers/forex_test.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let expected = Utc.ymd(2022, 2, 2).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/handlers/forex_test.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | let expected = Utc.ymd(2022, 2, 2).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/handlers/forex_test.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | let expected = Utc.ymd(2025, 12, 8).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/handlers/forex_test.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | let expected = Utc.ymd(2025, 12, 8).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | commands::Command::Convert(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | commands::Command::PM(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | commands::Command::Zakat(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | commands::Command::Stock(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | commands::Command::RemindMe(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | commands::Command::CPI(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | commands::Command::SpongeBob(args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsClientError` is never used [INFO] [stdout] --> src/error.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait AsClientError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "597711958a52ae5b579a0d4e0cbaddbd7954fb2883910e0b953fb68898eef084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597711958a52ae5b579a0d4e0cbaddbd7954fb2883910e0b953fb68898eef084", kill_on_drop: false }` [INFO] [stdout] 597711958a52ae5b579a0d4e0cbaddbd7954fb2883910e0b953fb68898eef084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 649d91e4cba5f668a30b00d909f669ff862462c55894fafe42301f8e2bab0186 [INFO] running `Command { std: "docker" "start" "-a" "649d91e4cba5f668a30b00d909f669ff862462c55894fafe42301f8e2bab0186", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/handlers/forex_test.rs:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | let expected = Utc.ymd(2022, 2, 2).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/handlers/forex_test.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | let expected = Utc.ymd(2022, 2, 2).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/handlers/forex_test.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | let expected = Utc.ymd(2025, 12, 8).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/handlers/forex_test.rs:117:41 [INFO] [stderr] | [INFO] [stderr] 117 | let expected = Utc.ymd(2025, 12, 8).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:99:36 [INFO] [stderr] | [INFO] [stderr] 99 | commands::Command::Convert(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:107:31 [INFO] [stderr] | [INFO] [stderr] 107 | commands::Command::PM(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:115:34 [INFO] [stderr] | [INFO] [stderr] 115 | commands::Command::Zakat(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:123:34 [INFO] [stderr] | [INFO] [stderr] 123 | commands::Command::Stock(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:131:37 [INFO] [stderr] | [INFO] [stderr] 131 | commands::Command::RemindMe(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | commands::Command::CPI(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | commands::Command::SpongeBob(args) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: trait `AsClientError` is never used [INFO] [stderr] --> src/error.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | pub trait AsClientError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kartel` (bin "kartel" test) generated 12 warnings (run `cargo fix --bin "kartel" -p kartel --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/kartel/10103084d0c42eb5/deps/kartel-10103084d0c42eb5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test handlers::forex_test::invalid_format_no_separator ... ok [INFO] [stdout] test handlers::forex_test::invalid_format_single_currency ... ok [INFO] [stdout] test handlers::forex_test::invalid_format_invalid_separator ... ok [INFO] [stdout] test handlers::forex_test::argument_parsing_test ... ok [INFO] [stdout] test handlers::forex_test::invalid_format_wrong_length ... ok [INFO] [stdout] test handlers::forex_test::valid_currency_no_date ... ok [INFO] [stdout] test handlers::forex_test::valid_currency_mixed_case_with_date ... ok [INFO] [stdout] test handlers::forex_test::invalid_currency_format ... ok [INFO] [stdout] test handlers::forex_test::mixed_case_parsing_test ... ok [INFO] [stdout] test handlers::forex_test::valid_currency_uppercase_with_date ... ok [INFO] [stdout] test handlers::forex_test::lowercase_parsing_test ... ok [INFO] [stdout] test handlers::forex_test::invalid_date_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "649d91e4cba5f668a30b00d909f669ff862462c55894fafe42301f8e2bab0186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649d91e4cba5f668a30b00d909f669ff862462c55894fafe42301f8e2bab0186", kill_on_drop: false }` [INFO] [stdout] 649d91e4cba5f668a30b00d909f669ff862462c55894fafe42301f8e2bab0186