[INFO] cloning repository https://github.com/gomasy/switchbot-webui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gomasy/switchbot-webui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomasy%2Fswitchbot-webui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomasy%2Fswitchbot-webui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bf9a3e4ad3d378b9405b48dddb71dba71b83b27 [INFO] testing gomasy/switchbot-webui against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomasy%2Fswitchbot-webui" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gomasy/switchbot-webui [INFO] finished tweaking git repo https://github.com/gomasy/switchbot-webui [INFO] tweaked toml for git repo https://github.com/gomasy/switchbot-webui written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gomasy/switchbot-webui on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gomasy/switchbot-webui 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmov v0.5.4 [INFO] [stderr] Downloaded hybrid-array v0.4.15 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.79 [INFO] [stderr] Downloaded js-sys v0.3.106 [INFO] [stderr] Downloaded tokio-tungstenite v0.29.0 [INFO] [stderr] Downloaded rustls-platform-verifier-android v0.2.0 [INFO] [stderr] Downloaded uuid v1.27.0 [INFO] [stderr] Downloaded tungstenite v0.29.0 [INFO] [stderr] Downloaded rand v0.9.5 [INFO] [stderr] Downloaded combine v4.6.8 [INFO] [stderr] Downloaded webpki-root-certs v1.0.9 [INFO] [stderr] Downloaded zerocopy-derive v0.8.59 [INFO] [stderr] Downloaded tower-http v0.7.1 [INFO] [stderr] Downloaded zerocopy v0.8.59 [INFO] [stderr] Downloaded simd_cesu8 v1.2.0 [INFO] [stderr] Downloaded web-sys v0.3.106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7 [INFO] running `Command { std: "docker" "start" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Compiling libc v0.2.190 [INFO] [stderr] Compiling find-msvc-tools v0.1.14 [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling smallvec v1.16.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.59 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling hybrid-array v0.4.15 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling http-body-util v0.1.5 [INFO] [stderr] Compiling ipnet v2.12.2 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling base64 v0.23.1 [INFO] [stderr] Compiling cmov v0.5.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.4 [INFO] [stderr] Compiling core_detect v1.0.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling block-buffer v0.12.1 [INFO] [stderr] Compiling encoding_rs v0.8.42 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling multiversion_no_op v1.0.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling switchbot-webui v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cpufeatures v0.3.1 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.4 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling uuid v1.27.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling cc v1.6.0 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling tokio v1.53.2 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling tungstenite v0.29.0 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-tungstenite v0.29.0 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling h2 v0.4.19 [INFO] [stderr] Compiling tower-http v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.103.15 [INFO] [stderr] Compiling hyper v1.11.1 [INFO] [stderr] Compiling hyper-util v0.1.21 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling tokio-rustls v0.26.6 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.1 [INFO] [stderr] Compiling hyper-rustls v0.27.10 [INFO] [stderr] Compiling reqwest v0.13.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling switchbot-webui v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests backend/main.rs (/opt/rustwide/target/debug/deps/switchbot_webui-077fd9d869e573dc) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test static_files::tests::hashed_bundles_are_recognized ... ok [INFO] [stdout] test tests::accepts_only_same_origin_state_changes ... ok [INFO] [stdout] test tests::canonicalizes_webhook_url_and_path_together ... ok [INFO] [stdout] test tests::clears_the_cookie_with_the_attributes_it_set ... ok [INFO] [stdout] test static_files::tests::stable_names_are_not ... ok [INFO] [stdout] test tests::accepts_websockets_only_from_the_requested_origin ... ok [INFO] [stdout] test static_files::tests::only_a_hash_shaped_segment_counts ... ok [INFO] [stdout] test tests::marks_the_session_cookie_secure_only_over_tls ... ok [INFO] [stdout] test static_files::tests::a_hashed_bundle_is_served_immutable ... ok [INFO] [stdout] test tests::expires_sessions_and_reaps_them_on_the_next_login ... ok [INFO] [stdout] test tests::tracks_session_lifecycle ... ok [INFO] [stdout] test tests::reclaims_cache_slots_no_request_can_still_be_racing ... ok [INFO] [stdout] test static_files::tests::the_fallback_service_is_labelled_too ... ok [INFO] [stdout] test tests::recognizes_only_device_command_posts ... ok [INFO] [stdout] test tests::recognizes_only_device_status_gets ... ok [INFO] [stdout] test tests::rejects_implausible_device_keys ... ok [INFO] [stdout] test tests::rejects_webhook_paths_that_shadow_static_assets ... ok [INFO] [stdout] test tests::shares_one_fetch_gate_per_device ... ok [INFO] [stdout] test tests::caps_the_status_cache_without_locking_out_known_devices ... ok [INFO] [stdout] test static_files::tests::a_served_catalog_carries_the_header ... ok [INFO] [stdout] test static_files::tests::a_stale_hashed_url_does_not_pin_the_shell ... ok [INFO] [stdout] test static_files::tests::a_miss_is_left_uncacheable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7", kill_on_drop: false }` [INFO] [stdout] 8fb2ec671d1ef8fc29a714ed5b6d9e3f6a552bfe412793da5d4c2de002d994c7