[INFO] fetching crate spotter 0.1.4... [INFO] testing spotter-0.1.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate spotter 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate spotter 0.1.4 [INFO] finished tweaking crates.io crate spotter 0.1.4 [INFO] tweaked toml for crates.io crate spotter 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spotter 0.1.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spotter 0.1.4 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded prettytable-rs v0.10.0 [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.3 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded tower-http v0.6.5 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae3532975a74434b4af4f41907eb9bd6e25732195cb48fbcbd799900ed050517 [INFO] running `Command { std: "docker" "start" "-a" "ae3532975a74434b4af4f41907eb9bd6e25732195cb48fbcbd799900ed050517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae3532975a74434b4af4f41907eb9bd6e25732195cb48fbcbd799900ed050517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3532975a74434b4af4f41907eb9bd6e25732195cb48fbcbd799900ed050517", kill_on_drop: false }` [INFO] [stdout] ae3532975a74434b4af4f41907eb9bd6e25732195cb48fbcbd799900ed050517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76a4241b4e9e9b56de1a9f8fe7cdc366f9dccd5cf0827718139ee0431545ee01 [INFO] running `Command { std: "docker" "start" "-a" "76a4241b4e9e9b56de1a9f8fe7cdc366f9dccd5cf0827718139ee0431545ee01", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling spotter v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.24s [INFO] running `Command { std: "docker" "inspect" "76a4241b4e9e9b56de1a9f8fe7cdc366f9dccd5cf0827718139ee0431545ee01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a4241b4e9e9b56de1a9f8fe7cdc366f9dccd5cf0827718139ee0431545ee01", kill_on_drop: false }` [INFO] [stdout] 76a4241b4e9e9b56de1a9f8fe7cdc366f9dccd5cf0827718139ee0431545ee01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cecad140b3ae86616f89a36bda01913799c15fc380d1ec624f35e18dc784d470 [INFO] running `Command { std: "docker" "start" "-a" "cecad140b3ae86616f89a36bda01913799c15fc380d1ec624f35e18dc784d470", kill_on_drop: false }` [INFO] [stderr] Compiling spotter v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "cecad140b3ae86616f89a36bda01913799c15fc380d1ec624f35e18dc784d470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cecad140b3ae86616f89a36bda01913799c15fc380d1ec624f35e18dc784d470", kill_on_drop: false }` [INFO] [stdout] cecad140b3ae86616f89a36bda01913799c15fc380d1ec624f35e18dc784d470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87f354bbdc39d48b356617d7bb40e5b5bc7bb4cde0e98bb7a94b9a755227f0d1 [INFO] running `Command { std: "docker" "start" "-a" "87f354bbdc39d48b356617d7bb40e5b5bc7bb4cde0e98bb7a94b9a755227f0d1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spotter-c228a16ada53ca33) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test aws::tests::test_extract_json_from_callback ... ok [INFO] [stdout] test cli::tests::test_cli_help ... ok [INFO] [stdout] test cli::tests::test_cli_default_values ... ok [INFO] [stdout] test cli::tests::test_cli_with_instance_type ... ok [INFO] [stdout] test cli::tests::test_cli_with_region ... ok [INFO] [stdout] test cli::tests::test_cli_with_multiple_args ... ok [INFO] [stdout] test cli::tests::test_cli_validate_invalid_region ... ok [INFO] [stdout] test display::tests::test_instance_info_creation ... ok [INFO] [stdout] test cli::tests::test_validate_region_invalid ... ok [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+------------------+--------------------+---------+ [INFO] [stdout] | Instance Type | Region | Interruption Rate | Memory (GB) | Cores | Linux Spot Price | Windows Spot Price | Savings | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+------------------+--------------------+---------+ [INFO] [stdout] | m5.large | us-east-1 | < 5% | 8 | 2 | 0.123 | 0.456 | 80% | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+------------------+--------------------+---------+ [INFO] [stdout] | t3.medium | us-east-1 | 5-10% | 4 | 2 | 0.042 | 0.073 | +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] | Instance Type | Region | Interruption Rate | Memory (GB) | Cores | Savings | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] | m5.large | us-east-1 | < 5% | 8 | 2 | 80% | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] | t3.medium | us-east-1 | 5-10% | 4 | 2 | 70% | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] 70% | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+------------------+--------------------+---------+ [INFO] [stdout] test cli::tests::test_validate_region_valid ... ok [INFO] [stdout] test display::tests::test_display_spot_data_no_filter ... ok [INFO] [stdout] test display::tests::test_display_spot_data_with_spot_price ... ok [INFO] [stdout] test cli::tests::test_cli_validate_valid_region ... ok [INFO] [stdout] test cli::tests::test_cli_with_spot_price ... ok [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] | Instance Type | Region | Interruption Rate | Memory (GB) | Cores | Savings | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] | m5.large | us-east-1 | < 5% | 8 | 2 | 80% | [INFO] [stdout] +---------------+-----------+-------------------+-------------+-------+---------+ [INFO] [stdout] test display::tests::test_display_spot_data_with_filter ... ok [INFO] [stdout] test cli::tests::test_cli_validate_default_region ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87f354bbdc39d48b356617d7bb40e5b5bc7bb4cde0e98bb7a94b9a755227f0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f354bbdc39d48b356617d7bb40e5b5bc7bb4cde0e98bb7a94b9a755227f0d1", kill_on_drop: false }` [INFO] [stdout] 87f354bbdc39d48b356617d7bb40e5b5bc7bb4cde0e98bb7a94b9a755227f0d1