[INFO] fetching crate zproto 0.1.1... [INFO] testing zproto-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate zproto 0.1.1 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate zproto 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zproto 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zproto 0.1.1 [INFO] tweaked toml for crates.io crate zproto 0.1.1 written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate crates.io crate zproto 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 591111645a02e71def19a0f3bd46d73d7b6a375c1f4dc963ee3787ae665bb1bb [INFO] running `Command { std: "docker" "start" "-a" "591111645a02e71def19a0f3bd46d73d7b6a375c1f4dc963ee3787ae665bb1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "591111645a02e71def19a0f3bd46d73d7b6a375c1f4dc963ee3787ae665bb1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591111645a02e71def19a0f3bd46d73d7b6a375c1f4dc963ee3787ae665bb1bb", kill_on_drop: false }` [INFO] [stdout] 591111645a02e71def19a0f3bd46d73d7b6a375c1f4dc963ee3787ae665bb1bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dafd2312171c7f3c4f18e817e21d1d0c287a820918abba788abbde0336d2bec [INFO] running `Command { std: "docker" "start" "-a" "6dafd2312171c7f3c4f18e817e21d1d0c287a820918abba788abbde0336d2bec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling serialport v4.0.1 [INFO] [stderr] Compiling zproto v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[doc = include_str!("../README.md")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | extern "C" {} [INFO] [stdout] | ------------- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.30s [INFO] running `Command { std: "docker" "inspect" "6dafd2312171c7f3c4f18e817e21d1d0c287a820918abba788abbde0336d2bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dafd2312171c7f3c4f18e817e21d1d0c287a820918abba788abbde0336d2bec", kill_on_drop: false }` [INFO] [stdout] 6dafd2312171c7f3c4f18e817e21d1d0c287a820918abba788abbde0336d2bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f95081102de2d1e836331cd1487dec305540d389396875b7187656f282d74a2 [INFO] running `Command { std: "docker" "start" "-a" "2f95081102de2d1e836331cd1487dec305540d389396875b7187656f282d74a2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling zproto v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[doc = include_str!("../README.md")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | extern "C" {} [INFO] [stdout] | ------------- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling simple_logger v2.1.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[doc = include_str!("../README.md")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | extern "C" {} [INFO] [stdout] | ------------- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 33.77s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/zproto-ca64710bbc6eb8d4) [INFO] running `Command { std: "docker" "inspect" "2f95081102de2d1e836331cd1487dec305540d389396875b7187656f282d74a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f95081102de2d1e836331cd1487dec305540d389396875b7187656f282d74a2", kill_on_drop: false }` [INFO] [stdout] 2f95081102de2d1e836331cd1487dec305540d389396875b7187656f282d74a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ca9cc5bfae1f635e0c789150a73276cb991cbdc3b79271926769fd9777dffe1 [INFO] running `Command { std: "docker" "start" "-a" "9ca9cc5bfae1f635e0c789150a73276cb991cbdc3b79271926769fd9777dffe1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused doc comment [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:26:1 [INFO] [stdout] running 49 tests [INFO] [stderr] | [INFO] [stdout] test ascii::checksum::test::test_lrc ... ok [INFO] [stderr] 26 | #[doc = include_str!("../README.md")] [INFO] [stdout] test ascii::command::test::test_target ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test ascii::command::test::test_command_checksum ... ok [INFO] [stderr] 27 | extern "C" {} [INFO] [stdout] test ascii::command::test::test_write_command ... ok [INFO] [stderr] | ------------- rustdoc does not generate documentation for extern block [INFO] [stdout] test ascii::parse::test::test_get_packet_contents ... ok [INFO] [stderr] | [INFO] [stdout] test ascii::port::test::command_replies_until_timeout_fail ... ok [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] test ascii::port::test::command_replies_until_timeout_ok ... ok [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stdout] test ascii::port::test::command_reply_fail ... ok [INFO] [stderr] [INFO] [stdout] test ascii::port::test::command_reply_n_ok ... ok [INFO] [stderr] warning: `zproto` (lib) generated 1 warning [INFO] [stdout] test ascii::port::test::command_reply_ok ... ok [INFO] [stderr] warning: `zproto` (lib test) generated 1 warning (1 duplicate) [INFO] [stdout] test ascii::port::test::extract_response_bytes ... ok [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.27s [INFO] [stdout] test ascii::port::test::poisoned_command ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zproto-ca64710bbc6eb8d4) [INFO] [stdout] test ascii::port::test::command_reply_n_fail ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_infos ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_n ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_infos_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_n_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_poll_until ... ok [INFO] [stdout] test ascii::port::test::poisoned_poll_until_idle ... ok [INFO] [stdout] test ascii::port::test::poisoned_response ... ok [INFO] [stdout] test ascii::port::test::poisoned_response_n ... ok [INFO] [stdout] test ascii::port::test::poisoned_response_n_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_responses_until_timeout ... ok [INFO] [stdout] test ascii::port::test::poisoned_responses_until_timeout_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_response_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_timeout_guard ... ok [INFO] [stdout] test ascii::port::test::response_until_timeout_fail ... ok [INFO] [stdout] test ascii::port::test::response_until_timeout_ok ... ok [INFO] [stdout] test ascii::response::check::test::test ... ok [INFO] [stdout] test ascii::response::check::test::test_warning_list ... ok [INFO] [stdout] test ascii::response::test::test_warning_partial_eq ... ok [INFO] [stdout] test ascii::response::test::test_response_nom ... ok [INFO] [stdout] test ascii::test::target_default_is_all ... ok [INFO] [stdout] test binary::port::test::tx_rx_fail ... ok [INFO] [stdout] test binary::port::test::tx_rx_n_fail ... ok [INFO] [stdout] test binary::port::test::tx_rx_n_ok ... ok [INFO] [stdout] test binary::port::test::tx_rx_until_timeout_ok ... ok [INFO] [stdout] test binary::port::test::tx_rx_ok ... ok [INFO] [stdout] test binary::test::device_message_passing_with_id ... ok [INFO] [stdout] test binary::test::device_message_passing_without_id ... ok [INFO] [stdout] test binary::test::device_message_parsing_invalid_command_code ... ok [INFO] [stdout] test binary::test::io_states ... ok [INFO] [stdout] test binary::test::version ... ok [INFO] [stdout] test error::binary::test::binary_error_code_names ... ok [INFO] [stdout] test binary::test::io_state_index_gt_32 - should panic ... ok [INFO] [stdout] test binary::test::io_state_index_0 - should panic ... ok [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Checking serialport v4.0.1 [INFO] [stderr] Checking zproto v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | #[doc = include_str!("../README.md")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | extern "C" {} [INFO] [stderr] | ------------- rustdoc does not generate documentation for extern block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: `zproto` (lib) generated 1 warning [INFO] [stderr] Checking zproto-tests v0.0.0 (/opt/rustwide/target/tests/zproto) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.34s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test test/binary/01-type-inference.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | let _: DeviceMessage = port.tx_rx((0, HOME))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `Reset`, found struct `Home` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | let _: DeviceMessage = port.tx_rx((0, untyped::HOME, 0i32))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Home`, found `u8` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | let _: DeviceMessage = port.tx_rx((0, RETURN_SETTING, RETURN_CURRENT_POSITION))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ReturnSetting`, found struct `ReturnCurrentPosition` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:9:50 [INFO] [stderr] | [INFO] [stderr] 9 | let _: DeviceMessage = port.tx_rx((0, RETURN_SETTING, SET_TARGET_SPEED))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ReturnSetting`, found struct `SetTargetSpeed` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | #[doc = include_str!("../README.md")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | extern "C" {} [INFO] [stderr] | ------------- rustdoc does not generate documentation for extern block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | let _: DeviceMessage = port.tx_rx((0, HOME))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `Reset`, found struct `Home` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | let _: DeviceMessage = port.tx_rx((0, untyped::HOME, 0i32))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Home`, found `u8` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | let _: DeviceMessage = port.tx_rx((0, RETURN_SETTING, RETURN_CURRENT_POSITION))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ReturnSetting`, found struct `ReturnCurrentPosition` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/01-type-inference.rs:9:50 [INFO] [stderr] | [INFO] [stderr] 9 | let _: DeviceMessage = port.tx_rx((0, RETURN_SETTING, SET_TARGET_SPEED))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ReturnSetting`, found struct `SetTargetSpeed` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `DeviceMessage` to `DeviceMessage` [INFO] [stderr] = note: expected struct `DeviceMessage` [INFO] [stderr] found struct `DeviceMessage` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test test/binary/02-port-parameters.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `(u8, Reset): ElicitsResponse` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | let _ = port.tx_rx((0, RESET))?; // Shouldn't work with tx_rx [INFO] [stderr] | ----- ^^^^^^^^^^ the trait `ElicitsResponse` is not implemented for `(u8, Reset)` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] <(u8, Activate) as ElicitsResponse> [INFO] [stderr] <(u8, ConvertToAscii) as ElicitsResponse> [INFO] [stderr] <(u8, EchoData) as ElicitsResponse> [INFO] [stderr] <(u8, Home) as ElicitsResponse> [INFO] [stderr] and 74 others [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Home: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = port.tx_rx((0, HOME, 0i32))?; // Shouldn't take parameters [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `Home` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, Home, i32)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MoveAbsolute: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = port.tx_rx((0, MOVE_ABSOLUTE))?; // Should take parameters [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^ the trait `TakesNoData` is not implemented for `MoveAbsolute` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, MoveAbsolute)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MoveAbsolute: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | let _ = port.tx_rx((0, MOVE_ABSOLUTE, false))?; // Wrong parameter type [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `MoveAbsolute` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, MoveAbsolute, bool)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u8: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | let _ = port.tx_rx((0, untyped::HOME))?; // u8 commands require an explicit data value [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^ the trait `TakesNoData` is not implemented for `u8` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, u8)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | port.tx((0, ERROR))?; // Reply-only commands cannot be transmitted [INFO] [stderr] | -- ^^^^^^^^^^ the trait `TakesNoData` is not implemented for `zproto::binary::command::types::Error` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, zproto::binary::command::types::Error)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | pub fn tx(&mut self, message: M) -> Result, BinaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | port.tx((0, ERROR, 0i32))?; // Reply-only commands cannot be transmitted [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `zproto::binary::command::types::Error` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, zproto::binary::command::types::Error, i32)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | pub fn tx(&mut self, message: M) -> Result, BinaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | #[doc = include_str!("../README.md")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | extern "C" {} [INFO] [stderr] | ------------- rustdoc does not generate documentation for extern block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(u8, Reset): ElicitsResponse` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | let _ = port.tx_rx((0, RESET))?; // Shouldn't work with tx_rx [INFO] [stderr] | ----- ^^^^^^^^^^ the trait `ElicitsResponse` is not implemented for `(u8, Reset)` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] <(u8, Activate) as ElicitsResponse> [INFO] [stderr] <(u8, Activate, D) as ElicitsResponse> [INFO] [stderr] <(u8, ConvertToAscii) as ElicitsResponse> [INFO] [stderr] <(u8, ConvertToAscii, D) as ElicitsResponse> [INFO] [stderr] and 153 others [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Home: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = port.tx_rx((0, HOME, 0i32))?; // Shouldn't take parameters [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `Home` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, Home, i32)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MoveAbsolute: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = port.tx_rx((0, MOVE_ABSOLUTE))?; // Should take parameters [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^ the trait `TakesNoData` is not implemented for `MoveAbsolute` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, MoveAbsolute)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MoveAbsolute: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | let _ = port.tx_rx((0, MOVE_ABSOLUTE, false))?; // Wrong parameter type [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `MoveAbsolute` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, MoveAbsolute, bool)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u8: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | let _ = port.tx_rx((0, untyped::HOME))?; // u8 commands require an explicit data value [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^ the trait `TakesNoData` is not implemented for `u8` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, u8)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | M: traits::TxMessage + traits::ElicitsResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx_rx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesNoData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | port.tx((0, ERROR))?; // Reply-only commands cannot be transmitted [INFO] [stderr] | -- ^^^^^^^^^^ the trait `TakesNoData` is not implemented for `zproto::binary::command::types::Error` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, zproto::binary::command::types::Error)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | pub fn tx(&mut self, message: M) -> Result, BinaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesData` is not satisfied [INFO] [stderr] --> test/binary/02-port-parameters.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | port.tx((0, ERROR, 0i32))?; // Reply-only commands cannot be transmitted [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^ the trait `TakesData` is not implemented for `zproto::binary::command::types::Error` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `TxMessage` for `(u8, zproto::binary::command::types::Error, i32)` [INFO] [stderr] note: required by a bound in `zproto::binary::Port::::tx` [INFO] [stderr] --> src/binary/port.rs [INFO] [stderr] | [INFO] [stderr] | pub fn tx(&mut self, message: M) -> Result, BinaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `zproto::binary::Port::::tx` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test test/binary/03-reply-data.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/03-reply-data.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | let value: bool = reply.data()?; // Wrong data type, should be i32 [INFO] [stderr] | ^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `i32` to `bool` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | #[doc = include_str!("../README.md")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | extern "C" {} [INFO] [stderr] | ------------- rustdoc does not generate documentation for extern block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] error[E0308]: `?` operator has incompatible types [INFO] [stderr] --> test/binary/03-reply-data.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | let value: bool = reply.data()?; // Wrong data type, should be i32 [INFO] [stderr] | ^^^^^^^^^^^^^ expected `bool`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: `?` operator cannot convert from `i32` to `bool` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test binary::port::test::compile_time_errors ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- binary::port::test::compile_time_errors stdout ---- [INFO] [stdout] thread 'binary::port::test::compile_time_errors' panicked at '3 of 3 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x562722d9711d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x562722d9711d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562722d9711d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x562722d9711d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x562722dbc63c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x562722d92cd1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x562722d98e65 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x562722d98e65 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x562722d98e65 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x562722d98b54 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x562722d993b2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x562722d99297 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x562722d975d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x562722d98fc9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x562722a8b573 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x562722b91ba5 - trybuild::run::::run::he35279407c83c12a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] 16: 0x562722b96384 - ::drop::h00d5b7488a4c3af7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/lib.rs:308:13 [INFO] [stdout] 17: 0x562722af6f67 - core::ptr::drop_in_place::h7e070766ae4cbd1f [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 18: 0x562722b1364d - zproto::binary::port::test::compile_time_errors::h5296b8d22c0493aa [INFO] [stdout] at /opt/rustwide/workdir/src/binary/port.rs:957:5 [INFO] [stdout] 19: 0x562722b135ea - zproto::binary::port::test::compile_time_errors::{{closure}}::h0be6c3a46517231f [INFO] [stdout] at /opt/rustwide/workdir/src/binary/port.rs:954:5 [INFO] [stdout] 20: 0x562722af5fae - core::ops::function::FnOnce::call_once::hc0da76c0751fe3e8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x562722d65d53 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x562722d65d53 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x562722d64b09 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x562722d64b09 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x562722d64b09 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x562722d64b09 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x562722d64b09 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x562722d64b09 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x562722d64b09 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x562722d30cbe - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x562722d30cbe - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x562722d36228 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x562722d36228 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x562722d36228 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x562722d36228 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x562722d36228 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x562722d36228 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x562722d36228 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x562722d9ea73 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x562722d9ea73 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x562722d9ea73 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f5ee6cc5609 - start_thread [INFO] [stdout] 43: 0x7f5ee6a93163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] binary::port::test::compile_time_errors [INFO] [stdout] [INFO] [stdout] test result: FAILED. 48 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "9ca9cc5bfae1f635e0c789150a73276cb991cbdc3b79271926769fd9777dffe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca9cc5bfae1f635e0c789150a73276cb991cbdc3b79271926769fd9777dffe1", kill_on_drop: false }` [INFO] [stdout] 9ca9cc5bfae1f635e0c789150a73276cb991cbdc3b79271926769fd9777dffe1