[INFO] cloning repository https://github.com/zagi/currency_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zagi/currency_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzagi%2Fcurrency_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzagi%2Fcurrency_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bb34abb93bd05c9458d82f94d12b22a8e3d2f0f [INFO] testing zagi/currency_cli against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzagi%2Fcurrency_cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zagi/currency_cli [INFO] finished tweaking git repo https://github.com/zagi/currency_cli [INFO] tweaked toml for git repo https://github.com/zagi/currency_cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zagi/currency_cli on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zagi/currency_cli 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded smallvec v1.11.2 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] [stderr] Downloaded ryu v1.0.17 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded clap v4.5.3 [INFO] [stderr] Downloaded reqwest v0.11.26 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded tokio v1.36.0 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62add280bfab9faf4a5c507476a73c0157b410ab4910881758c78cf605677ae1 [INFO] running `Command { std: "docker" "start" "-a" "62add280bfab9faf4a5c507476a73c0157b410ab4910881758c78cf605677ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62add280bfab9faf4a5c507476a73c0157b410ab4910881758c78cf605677ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62add280bfab9faf4a5c507476a73c0157b410ab4910881758c78cf605677ae1", kill_on_drop: false }` [INFO] [stdout] 62add280bfab9faf4a5c507476a73c0157b410ab4910881758c78cf605677ae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c04d16f0f4183886bb4023cd8bedbb85ea8e35a2a179f70e1d7dc68ae17acc7 [INFO] running `Command { std: "docker" "start" "-a" "1c04d16f0f4183886bb4023cd8bedbb85ea8e35a2a179f70e1d7dc68ae17acc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.26 [INFO] [stderr] Compiling currency v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CacheItem` and `Rates` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::{CacheItem, Rates}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/main.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "1c04d16f0f4183886bb4023cd8bedbb85ea8e35a2a179f70e1d7dc68ae17acc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c04d16f0f4183886bb4023cd8bedbb85ea8e35a2a179f70e1d7dc68ae17acc7", kill_on_drop: false }` [INFO] [stdout] 1c04d16f0f4183886bb4023cd8bedbb85ea8e35a2a179f70e1d7dc68ae17acc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e3e55268826fe6bf6479d1138c4940ff250379e8f42d0d57ddb1fae7cd64e36 [INFO] running `Command { std: "docker" "start" "-a" "2e3e55268826fe6bf6479d1138c4940ff250379e8f42d0d57ddb1fae7cd64e36", kill_on_drop: false }` [INFO] [stderr] Compiling currency v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "2e3e55268826fe6bf6479d1138c4940ff250379e8f42d0d57ddb1fae7cd64e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3e55268826fe6bf6479d1138c4940ff250379e8f42d0d57ddb1fae7cd64e36", kill_on_drop: false }` [INFO] [stdout] 2e3e55268826fe6bf6479d1138c4940ff250379e8f42d0d57ddb1fae7cd64e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c76e6d2910586feebc61ebadf08e7a757fdf26cb5c0a76cca28292e40a8b347c [INFO] running `Command { std: "docker" "start" "-a" "c76e6d2910586feebc61ebadf08e7a757fdf26cb5c0a76cca28292e40a8b347c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/currency-a33fb78d38628b21) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_cache_logic ... ok [INFO] [stdout] test tests::test_exchange_rate_conversion ... ok [INFO] [stdout] test tests::test_network_error_handling ... ok [INFO] [stdout] test tests::test_rate_not_found_handling ... ok [INFO] [stdout] test tests::test_invalid_currency_code_handling ... ok [INFO] [stdout] test tests::test_listing_exchange_rates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c76e6d2910586feebc61ebadf08e7a757fdf26cb5c0a76cca28292e40a8b347c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76e6d2910586feebc61ebadf08e7a757fdf26cb5c0a76cca28292e40a8b347c", kill_on_drop: false }` [INFO] [stdout] c76e6d2910586feebc61ebadf08e7a757fdf26cb5c0a76cca28292e40a8b347c