[INFO] cloning repository https://github.com/sanchuanhehe/hisiflash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanchuanhehe/hisiflash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanchuanhehe%2Fhisiflash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanchuanhehe%2Fhisiflash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee40717412898f0868b77d4b7e35bbc52b733c91 [INFO] testing sanchuanhehe/hisiflash against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanchuanhehe%2Fhisiflash" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sanchuanhehe/hisiflash [INFO] finished tweaking git repo https://github.com/sanchuanhehe/hisiflash [INFO] tweaked toml for git repo https://github.com/sanchuanhehe/hisiflash written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sanchuanhehe/hisiflash on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sanchuanhehe/hisiflash 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31e0a3ff7dab611b8854ce6d3597502fb78048b01dac756cfe8b977d627f5d0e [INFO] running `Command { std: "docker" "start" "-a" "31e0a3ff7dab611b8854ce6d3597502fb78048b01dac756cfe8b977d627f5d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31e0a3ff7dab611b8854ce6d3597502fb78048b01dac756cfe8b977d627f5d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e0a3ff7dab611b8854ce6d3597502fb78048b01dac756cfe8b977d627f5d0e", kill_on_drop: false }` [INFO] [stdout] 31e0a3ff7dab611b8854ce6d3597502fb78048b01dac756cfe8b977d627f5d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9779c3edc7ef7385b1289945d8f49abb7d1e753f7b2ecc1c80d8a8601fb0b663 [INFO] running `Command { std: "docker" "start" "-a" "9779c3edc7ef7385b1289945d8f49abb7d1e753f7b2ecc1c80d8a8601fb0b663", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling arc-swap v1.8.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling normpath v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling base62 v2.2.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling jiff v0.2.18 [INFO] [stderr] Compiling hisiflash-cli v1.0.0-alpha.11 (/opt/rustwide/workdir/hisiflash-cli) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling rust-i18n v3.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling clap_complete v4.5.65 [INFO] [stderr] Compiling unescaper v0.1.8 [INFO] [stderr] Compiling serialport v4.8.1 [INFO] [stderr] Compiling hisiflash v0.3.0 (/opt/rustwide/workdir/hisiflash) [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rust-i18n-support v3.1.5 [INFO] [stderr] Compiling rust-i18n-macro v3.1.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.15s [INFO] running `Command { std: "docker" "inspect" "9779c3edc7ef7385b1289945d8f49abb7d1e753f7b2ecc1c80d8a8601fb0b663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9779c3edc7ef7385b1289945d8f49abb7d1e753f7b2ecc1c80d8a8601fb0b663", kill_on_drop: false }` [INFO] [stdout] 9779c3edc7ef7385b1289945d8f49abb7d1e753f7b2ecc1c80d8a8601fb0b663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207529079cf2a0025754edf67efc8686a4e4ef10c21c60acf831f578161ddadf [INFO] running `Command { std: "docker" "start" "-a" "207529079cf2a0025754edf67efc8686a4e4ef10c21c60acf831f578161ddadf", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling rust-i18n-support v3.1.5 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling hisiflash v0.3.0 (/opt/rustwide/workdir/hisiflash) [INFO] [stderr] Compiling rust-i18n v3.1.5 [INFO] [stderr] Compiling rust-i18n-macro v3.1.5 [INFO] [stderr] Compiling hisiflash-cli v1.0.0-alpha.11 (/opt/rustwide/workdir/hisiflash-cli) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.62s [INFO] running `Command { std: "docker" "inspect" "207529079cf2a0025754edf67efc8686a4e4ef10c21c60acf831f578161ddadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207529079cf2a0025754edf67efc8686a4e4ef10c21c60acf831f578161ddadf", kill_on_drop: false }` [INFO] [stdout] 207529079cf2a0025754edf67efc8686a4e4ef10c21c60acf831f578161ddadf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f89c812675d3b2d107af80ac3659df2703d68be13b8d0a4ddbce501cd6304d1a [INFO] running `Command { std: "docker" "start" "-a" "f89c812675d3b2d107af80ac3659df2703d68be13b8d0a4ddbce501cd6304d1a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hisiflash-e973e9c9ef04fee4) [INFO] [stdout] running 142 tests [INFO] [stdout] test device::tests::test_device_kind_from_vid_pid ... ok [INFO] [stdout] test device::tests::test_device_kind_is_known ... ok [INFO] [stdout] test error::tests::test_error_is_send_sync ... ok [INFO] [stdout] test image::fwpkg::tests::test_bin_info_is_loaderboot ... ok [INFO] [stdout] test device::tests::test_format_port_list ... ok [INFO] [stdout] test image::fwpkg::tests::test_bin_info_read_v1 ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_bin_data ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_bin_data_out_of_bounds ... ok [INFO] [stdout] test device::tests::test_detected_port_is_likely_hisilicon ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_from_bytes_invalid_magic ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_verify_crc_mismatch ... ok [INFO] [stdout] test image::fwpkg::tests::test_header_read_from_invalid_magic ... ok [INFO] [stdout] test image::fwpkg::tests::test_header_read_v1 ... ok [INFO] [stdout] test image::fwpkg::tests::test_header_sizes ... ok [INFO] [stdout] test image::fwpkg::tests::test_partition_type_all_variants ... ok [INFO] [stdout] test image::fwpkg::tests::test_partition_type_as_u32 ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_from_bytes_too_small ... ok [INFO] [stdout] test image::fwpkg::tests::test_partition_type_from_u32 ... ok [INFO] [stdout] test image::fwpkg::tests::test_partition_type_loaderboot_alias ... ok [INFO] [stdout] test image::fwpkg::tests::test_header_read_from_auto_detect_v1 ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_from_bytes_valid_v1 ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_verify_crc ... ok [INFO] [stdout] test monitor::tests::test_drain_utf8_lossy_replaces_invalid_bytes_and_continues ... ok [INFO] [stdout] test monitor::tests::test_format_output_normalizes_standalone_cr_to_newline ... ok [INFO] [stdout] test port::tests::test_data_bits_default ... ok [INFO] [stdout] test monitor::tests::test_clean_monitor_text_filters_control_chars ... ok [INFO] [stdout] test port::native::tests::test_serial_config_default ... ok [INFO] [stdout] test image::fwpkg::tests::test_partition_type_roundtrip ... ok [INFO] [stdout] test image::fwpkg::tests::test_magic_constants ... ok [INFO] [stdout] test monitor::tests::test_drain_utf8_lossy_keeps_incomplete_suffix ... ok [INFO] [stdout] test port::tests::test_enums_are_copy ... ok [INFO] [stdout] test port::tests::test_flow_control_default ... ok [INFO] [stdout] test image::fwpkg::tests::test_header_is_valid ... ok [INFO] [stdout] test port::tests::test_port_info_clone ... ok [INFO] [stdout] test port::tests::test_parity_default ... ok [INFO] [stdout] test port::tests::test_serial_config_from_string ... ok [INFO] [stdout] test error::tests::test_error_display_messages ... ok [INFO] [stdout] test monitor::tests::test_format_output_no_timestamp_updates_line_state ... ok [INFO] [stdout] test port::tests::test_serial_config_with_timeout ... ok [INFO] [stdout] test protocol::crc::tests::test_crc16_xmodem_empty ... ok [INFO] [stdout] test protocol::crc::tests::test_crc16_xmodem_hello ... ok [INFO] [stdout] test protocol::seboot::tests::test_command_type_reversed ... ok [INFO] [stdout] test error::tests::test_error_from_io ... ok [INFO] [stdout] test protocol::seboot::tests::test_command_type_reversed_is_bitwise_not ... ok [INFO] [stdout] test protocol::seboot::tests::test_command_type_swapped ... ok [INFO] [stdout] test port::native::tests::test_serial_config_builder ... ok [INFO] [stdout] test protocol::crc::tests::test_crc16_xmodem_123456789 ... ok [INFO] [stdout] test protocol::seboot::tests::test_contains_handshake_ack ... ok [INFO] [stdout] test protocol::seboot::tests::test_contains_handshake_ack_not_found ... ok [INFO] [stdout] test protocol::seboot::tests::test_contains_handshake_ack_too_short ... ok [INFO] [stdout] test protocol::seboot::tests::test_download_flash_image_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_contains_handshake_ack_at_start ... ok [INFO] [stdout] test protocol::crc::tests::test_crc16_xmodem_update ... ok [INFO] [stdout] test port::tests::test_port_info_fields ... ok [INFO] [stdout] test port::tests::test_stop_bits_default ... ok [INFO] [stdout] test port::tests::test_serial_config_new ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_version_header_size ... ok [INFO] [stdout] test protocol::seboot::tests::test_download_flash_image_rom_flag ... ok [INFO] [stdout] test protocol::seboot::tests::test_download_nv_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_download_version_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_erase_all_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_frame_crc_is_appended ... ok [INFO] [stdout] test protocol::seboot::tests::test_handshake_frame_baud_rate ... ok [INFO] [stdout] test protocol::seboot::tests::test_frame_command_type_getter ... ok [INFO] [stdout] test protocol::seboot::tests::test_image_type_from_u32 ... ok [INFO] [stdout] test protocol::seboot::tests::test_handshake_frame_length ... ok [INFO] [stdout] test protocol::seboot::tests::test_reset_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_read_otp_efuse_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_seboot_ack_parse_failure ... ok [INFO] [stdout] test protocol::seboot::tests::test_seboot_ack_parse_no_magic ... ok [INFO] [stdout] test protocol::seboot::tests::test_seboot_ack_parse_success ... ok [INFO] [stdout] test protocol::seboot::tests::test_seboot_ack_parse_too_short ... ok [INFO] [stdout] test protocol::seboot::tests::test_seboot_ack_parse_with_prefix ... ok [INFO] [stdout] test protocol::seboot::tests::test_set_baud_rate_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_switch_dfu_frame ... ok [INFO] [stdout] test protocol::seboot::tests::test_upload_data_frame ... ok [INFO] [stdout] test protocol::ymodem::tests::test_build_block_soh ... ok [INFO] [stdout] test protocol::ymodem::tests::test_build_block_stx ... ok [INFO] [stdout] test protocol::ymodem::tests::test_wait_for_c_interrupted_immediate ... ok [INFO] [stdout] test protocol::ymodem::tests::test_transfer_interrupted_before_start ... ok [INFO] [stdout] test protocol::ymodem::tests::test_ymodem_no_c_before_finish ... ok [INFO] [stdout] test protocol::ymodem::tests::test_ymodem_transfer_multi_block ... ok [INFO] [stdout] test target::chip::tests::test_chip_config_bs2x_defaults ... ok [INFO] [stdout] test image::fwpkg::tests::test_fwpkg_debug_format ... ok [INFO] [stdout] test protocol::ymodem::tests::test_ymodem_transfer_single_c_wait ... ok [INFO] [stdout] test target::chip::tests::test_chip_config_default_trait ... ok [INFO] [stdout] test target::chip::tests::test_chip_config_builder ... ok [INFO] [stdout] test target::chip::tests::test_chip_config_defaults ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_clone_eq ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_default ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_default_baud ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_efuse ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_from_name ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_from_name_case_insensitive ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_hash ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_high_speed_baud ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_signed_firmware ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_supported_bauds ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_usb_dfu ... ok [INFO] [stdout] test target::chip::tests::test_create_flasher_unsupported_chip ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_create_flasher_with_mock_port ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_create_flasher_with_port_unsupported_chip ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_flasher_new_with_mock_port ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_is_interrupted_error_for_io_interrupted_and_message ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_mock_port_buffers ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_loaderboot_no_download_command ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_download_frame_erase_size_in_bytes ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_mock_port_read_write ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_flasher_trait_object ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_mock_port_pin_control ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_erase_size_alignment_4k ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_flasher_builder_methods ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_mock_port_baud_timeout ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_mock_port_name ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_constants ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_contains_handshake_ack ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_command_frame_command_getter ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_download_frame ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_command_swapped ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_multiple_flashers_same_port ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_frame_length_field_matches_actual ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_response_frame_parse_failure ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_erase_all_frame ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_response_frame_parse_handshake_ack ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_response_frame_parse_too_short ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_response_frame_parse_no_magic ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_handshake_frame ... ok [INFO] [stdout] test port::tests::test_serial_config_default ... ok [INFO] [stdout] test target::chip::tests::test_chip_family_display ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_frame_magic_bytes ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_response_frame_parse_with_prefix ... ok [INFO] [stdout] test target::ws63::protocol::tests::test_reset_frame_structure ... ok [INFO] [stdout] test tests::test_interrupt_checker_default_false ... ok [INFO] [stdout] test tests::test_interrupt_checker_toggle_true_false ... ok [INFO] [stdout] test protocol::ymodem::tests::test_ymodem_transfer_exact_block_size ... FAILED [INFO] [stdout] test target::ws63::flasher::tests::test_wait_for_magic_finds_magic ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_wait_for_magic_partial_then_real ... ok [INFO] [stdout] test port::native::tests::test_list_ports ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_wait_for_magic_timeout_no_magic ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_download_binary_interrupted_short_circuits_retry ... ok [INFO] [stdout] test protocol::seboot::tests::test_flash_lock_frame ... ok [INFO] [stdout] test target::ws63::flasher::tests::test_normal_partition_sends_download_command ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- protocol::ymodem::tests::test_ymodem_transfer_exact_block_size stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'protocol::ymodem::tests::test_ymodem_transfer_exact_block_size' (102) panicked at hisiflash/src/protocol/ymodem.rs:558:9: [INFO] [stdout] YMODEM should handle exactly 1024-byte payload. Error: Some(Io(Custom { kind: Interrupted, error: "operation cancelled" })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58253cdbd68a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58253cdbd68a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58253cdbd68a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58253cdbd68a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58253cdd230a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58253cdd230a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x58253cdc1f12 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58253cdc1f12 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x58253cd9c7ef - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58253cd9c7ef - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58253cdb5b89 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58253cd33c9c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x58253cd33c9c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58253cdb5d42 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x58253cdb5d42 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58253cd9c8a8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58253cd94249 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58253cd9d5bd - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58253cdd2acc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58253cd0f071 - hisiflash[659b50d592be14e1]::protocol::ymodem::tests::test_ymodem_transfer_exact_block_size [INFO] [stdout] at /opt/rustwide/workdir/hisiflash/src/protocol/ymodem.rs:558:9 [INFO] [stdout] 20: 0x58253cd0c047 - hisiflash[659b50d592be14e1]::protocol::ymodem::tests::test_ymodem_transfer_exact_block_size::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/hisiflash/src/protocol/ymodem.rs:536:47 [INFO] [stdout] 21: 0x58253cd078a6 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x58253cd27d7b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x58253cd27d7b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x58253cd3476b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x58253cd3476b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 26: 0x58253cd3476b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 27: 0x58253cd3476b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x58253cd3476b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x58253cd3476b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x58253cd3476b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x58253cd2fe84 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x58253cd2fe84 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 33: 0x58253cd37372 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 34: 0x58253cd37372 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 35: 0x58253cd37372 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x58253cd37372 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x58253cd37372 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x58253cd37372 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 39: 0x58253cd37372 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x58253cdbcf9f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 41: 0x58253cdbcf9f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 42: 0x7cdffb362aa4 - [INFO] [stdout] 43: 0x7cdffb3efa64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] protocol::ymodem::tests::test_ymodem_transfer_exact_block_size [INFO] [stdout] [INFO] [stdout] test result: FAILED. 141 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p hisiflash --lib` [INFO] running `Command { std: "docker" "inspect" "f89c812675d3b2d107af80ac3659df2703d68be13b8d0a4ddbce501cd6304d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89c812675d3b2d107af80ac3659df2703d68be13b8d0a4ddbce501cd6304d1a", kill_on_drop: false }` [INFO] [stdout] f89c812675d3b2d107af80ac3659df2703d68be13b8d0a4ddbce501cd6304d1a