[INFO] cloning repository https://github.com/genzj/phone-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/genzj/phone-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenzj%2Fphone-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenzj%2Fphone-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 490a47cca557976d39955ddf8ada07425ea918b3 [INFO] testing genzj/phone-monitor against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenzj%2Fphone-monitor" "/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/genzj/phone-monitor [INFO] finished tweaking git repo https://github.com/genzj/phone-monitor [INFO] tweaked toml for git repo https://github.com/genzj/phone-monitor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/genzj/phone-monitor on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/genzj/phone-monitor 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac-sha256 v1.1.8 [INFO] [stderr] Downloaded aws-smithy-compression v0.0.2 [INFO] [stderr] Downloaded aws-types v1.3.4 [INFO] [stderr] Downloaded aws-smithy-json v0.61.2 [INFO] [stderr] Downloaded aws-sigv4 v1.2.7 [INFO] [stderr] Downloaded aws-sdk-sso v1.54.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.55.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.55.0 [INFO] [stderr] Downloaded aws-config v1.5.14 [INFO] [stderr] Downloaded uuid v1.12.0 [INFO] [stderr] Downloaded aws-runtime v1.5.4 [INFO] [stderr] Downloaded aws-smithy-runtime v1.7.7 [INFO] [stderr] Downloaded aws-smithy-types v1.2.12 [INFO] [stderr] Downloaded aws-smithy-http v0.60.12 [INFO] [stderr] Downloaded aws-smithy-async v1.2.4 [INFO] [stderr] Downloaded mockito v1.6.1 [INFO] [stderr] Downloaded aws-sdk-cloudwatch v1.60.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83e3d55a404797b3065a1125187ff6d3edb3a757f4a09c9c1856ccd5e427bfe0 [INFO] running `Command { std: "docker" "start" "-a" "83e3d55a404797b3065a1125187ff6d3edb3a757f4a09c9c1856ccd5e427bfe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e3d55a404797b3065a1125187ff6d3edb3a757f4a09c9c1856ccd5e427bfe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e3d55a404797b3065a1125187ff6d3edb3a757f4a09c9c1856ccd5e427bfe0", kill_on_drop: false }` [INFO] [stdout] 83e3d55a404797b3065a1125187ff6d3edb3a757f4a09c9c1856ccd5e427bfe0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce75e18f802e80b24f87a268f5715bb9f13aa12eecce2f6de125565071e510d4 [INFO] running `Command { std: "docker" "start" "-a" "ce75e18f802e80b24f87a268f5715bb9f13aa12eecce2f6de125565071e510d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling aws-types v1.3.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hmac-sha256 v1.1.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling aws-smithy-async v1.2.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling aws-smithy-types v1.2.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Compiling aws-smithy-json v0.61.2 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling aws-credential-types v1.2.1 [INFO] [stderr] Compiling aws-smithy-http v0.60.12 [INFO] [stderr] Compiling aws-smithy-compression v0.0.2 [INFO] [stderr] Compiling aws-sigv4 v1.2.7 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.7.7 [INFO] [stderr] Compiling aws-runtime v1.5.4 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.55.0 [INFO] [stderr] Compiling aws-sdk-sso v1.54.0 [INFO] [stderr] Compiling aws-sdk-sts v1.55.0 [INFO] [stderr] Compiling aws-sdk-cloudwatch v1.60.0 [INFO] [stderr] Compiling aws-config v1.5.14 [INFO] [stderr] Compiling phone-monitor v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "ce75e18f802e80b24f87a268f5715bb9f13aa12eecce2f6de125565071e510d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce75e18f802e80b24f87a268f5715bb9f13aa12eecce2f6de125565071e510d4", kill_on_drop: false }` [INFO] [stdout] ce75e18f802e80b24f87a268f5715bb9f13aa12eecce2f6de125565071e510d4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4185b480f35e4195b013ad5d0a0a8db62883b4b83829007f8669c539afcadeb [INFO] running `Command { std: "docker" "start" "-a" "f4185b480f35e4195b013ad5d0a0a8db62883b4b83829007f8669c539afcadeb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling mockito v1.6.1 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.7.7 [INFO] [stderr] Compiling aws-runtime v1.5.4 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.55.0 [INFO] [stderr] Compiling aws-sdk-sso v1.54.0 [INFO] [stderr] Compiling aws-sdk-sts v1.55.0 [INFO] [stderr] Compiling aws-sdk-cloudwatch v1.60.0 [INFO] [stderr] Compiling aws-config v1.5.14 [INFO] [stderr] Compiling phone-monitor v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.74s [INFO] running `Command { std: "docker" "inspect" "f4185b480f35e4195b013ad5d0a0a8db62883b4b83829007f8669c539afcadeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4185b480f35e4195b013ad5d0a0a8db62883b4b83829007f8669c539afcadeb", kill_on_drop: false }` [INFO] [stdout] f4185b480f35e4195b013ad5d0a0a8db62883b4b83829007f8669c539afcadeb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bee0dbcfa434876ae018e0bb818df7d99a4495b990eb385da49b7b2fc153f0ef [INFO] running `Command { std: "docker" "start" "-a" "bee0dbcfa434876ae018e0bb818df7d99a4495b990eb385da49b7b2fc153f0ef", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/phone_monitor-1a8dd77d274b279a) [INFO] [stdout] running 9 tests [INFO] [stdout] test test::test_api_locator ... ok [INFO] [stdout] test phone::tests::test_sign ... ok [INFO] [stdout] test test::verify_cli ... ok [INFO] [stdout] test report::test::test_create_metric_data ... ok [INFO] [stdout] test test::test_api_locator_from_env ... ok [INFO] [stdout] test phone::tests::test_invalid_signature_response ... ok [INFO] [stdout] test phone::tests::test_query_config ... ok [INFO] [stdout] test phone::tests::test_query_battery ... ok [INFO] [stdout] test test::test_query_always_return ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bee0dbcfa434876ae018e0bb818df7d99a4495b990eb385da49b7b2fc153f0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee0dbcfa434876ae018e0bb818df7d99a4495b990eb385da49b7b2fc153f0ef", kill_on_drop: false }` [INFO] [stdout] bee0dbcfa434876ae018e0bb818df7d99a4495b990eb385da49b7b2fc153f0ef