[INFO] fetching crate zproto 0.1.1... [INFO] testing zproto-0.1.1 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.56 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c90b0503cfad0454994dd19649bc863d54c7e8b5bd5a3d22dbe3b792d087cf10 [INFO] running `Command { std: "docker" "start" "-a" "c90b0503cfad0454994dd19649bc863d54c7e8b5bd5a3d22dbe3b792d087cf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c90b0503cfad0454994dd19649bc863d54c7e8b5bd5a3d22dbe3b792d087cf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90b0503cfad0454994dd19649bc863d54c7e8b5bd5a3d22dbe3b792d087cf10", kill_on_drop: false }` [INFO] [stdout] c90b0503cfad0454994dd19649bc863d54c7e8b5bd5a3d22dbe3b792d087cf10 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1fc7d88e0a11b97c1be831db9fc9f30485ed50b75bd66387508d8b6c575f33c [INFO] running `Command { std: "docker" "start" "-a" "a1fc7d88e0a11b97c1be831db9fc9f30485ed50b75bd66387508d8b6c575f33c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nom v7.1.0 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "a1fc7d88e0a11b97c1be831db9fc9f30485ed50b75bd66387508d8b6c575f33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fc7d88e0a11b97c1be831db9fc9f30485ed50b75bd66387508d8b6c575f33c", kill_on_drop: false }` [INFO] [stdout] a1fc7d88e0a11b97c1be831db9fc9f30485ed50b75bd66387508d8b6c575f33c [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee5529869221c81a89f3fef757f4c4c3a220d9e68ae6382e555ba851515bd652 [INFO] running `Command { std: "docker" "start" "-a" "ee5529869221c81a89f3fef757f4c4c3a220d9e68ae6382e555ba851515bd652", 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 atty v0.2.14 [INFO] [stderr] Compiling zproto v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling simple_logger v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.07s [INFO] running `Command { std: "docker" "inspect" "ee5529869221c81a89f3fef757f4c4c3a220d9e68ae6382e555ba851515bd652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5529869221c81a89f3fef757f4c4c3a220d9e68ae6382e555ba851515bd652", kill_on_drop: false }` [INFO] [stdout] ee5529869221c81a89f3fef757f4c4c3a220d9e68ae6382e555ba851515bd652 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c28a1ece9c5ee55c4f61e9c05c7115cff935ac6897ef1a570e4643092408507 [INFO] running `Command { std: "docker" "start" "-a" "0c28a1ece9c5ee55c4f61e9c05c7115cff935ac6897ef1a570e4643092408507", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zproto-17ac74ab3ba8b6c1) [INFO] [stdout] [INFO] [stdout] running 49 tests [INFO] [stdout] test ascii::checksum::test::test_lrc ... ok [INFO] [stdout] test ascii::command::test::test_command_checksum ... ok [INFO] [stdout] test ascii::command::test::test_target ... ok [INFO] [stdout] test ascii::command::test::test_write_command ... ok [INFO] [stdout] test ascii::parse::test::test_get_packet_contents ... ok [INFO] [stdout] test ascii::port::test::command_replies_until_timeout_fail ... ok [INFO] [stdout] test ascii::port::test::command_replies_until_timeout_ok ... ok [INFO] [stdout] test ascii::port::test::command_reply_fail ... ok [INFO] [stdout] test ascii::port::test::command_reply_n_ok ... ok [INFO] [stdout] test ascii::port::test::command_reply_n_fail ... ok [INFO] [stdout] test ascii::port::test::extract_response_bytes ... ok [INFO] [stdout] test ascii::port::test::poisoned_command ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply ... ok [INFO] [stdout] test ascii::port::test::command_reply_ok ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_infos ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_infos_with_check ... ok [INFO] [stdout] test ascii::port::test::poisoned_command_reply_n ... 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_response_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_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::test::device_message_parsing_invalid_command_code ... ok [INFO] [stdout] test binary::port::test::tx_rx_ok ... ok [INFO] [stdout] test binary::port::test::tx_rx_until_timeout_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::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_0 - should panic ... ok [INFO] [stdout] test binary::test::io_state_index_gt_32 - should panic ... ok [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [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 colored v2.0.0 [INFO] [stderr] Checking libudev v0.2.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] Checking zproto-tests v0.0.0 (/opt/rustwide/target/tests/zproto) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.08s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test test/binary/01-type-inference.rs ... ok [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] 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] [stdout] test binary::port::test::compile_time_errors ... FAILED [INFO] [stderr] test test/binary/03-reply-data.rs ... ok [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] ---- binary::port::test::compile_time_errors stdout ---- [INFO] [stdout] thread 'binary::port::test::compile_time_errors' panicked at '1 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: 0x562c0755075d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x562c0755075d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562c0755075d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x562c0755075d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x562c0757876c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x562c0754b1e8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x562c07552a37 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x562c07552a37 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x562c07552a37 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x562c0755276c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x562c07553189 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x562c07552e77 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x562c07550c24 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x562c07552b89 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x562c0724e2c3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x562c07348a0d - trybuild::run::::run::ha3d443ff8027bdb6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] 16: 0x562c0734d094 - ::drop::hb5005089d3b1d243 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/lib.rs:308:13 [INFO] [stdout] 17: 0x562c072b9667 - core::ptr::drop_in_place::h5f63ff8a9fad9771 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x562c072d4ff1 - zproto::binary::port::test::compile_time_errors::hf7dd523ab542f3ee [INFO] [stdout] at /opt/rustwide/workdir/src/binary/port.rs:957:5 [INFO] [stdout] 19: 0x562c072d4faa - zproto::binary::port::test::compile_time_errors::{{closure}}::hf9820147588edf5b [INFO] [stdout] at /opt/rustwide/workdir/src/binary/port.rs:954:5 [INFO] [stdout] 20: 0x562c072b87ee - core::ops::function::FnOnce::call_once::hd8da9393d68b3b54 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x562c0751af43 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x562c0751af43 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x562c07519c24 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 24: 0x562c07519c24 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x562c07519c24 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x562c07519c24 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x562c07519c24 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x562c07519c24 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x562c07519c24 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x562c07523541 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x562c07523541 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x562c074efbbf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x562c074efbbf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x562c074efbbf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x562c074efbbf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x562c074efbbf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x562c074efbbf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x562c074efbbf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x562c07559cd3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x562c07559cd3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 41: 0x562c07559cd3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f9d4fccb609 - start_thread [INFO] [stdout] 43: 0x7f9d4fa99163 - 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 13.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "0c28a1ece9c5ee55c4f61e9c05c7115cff935ac6897ef1a570e4643092408507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c28a1ece9c5ee55c4f61e9c05c7115cff935ac6897ef1a570e4643092408507", kill_on_drop: false }` [INFO] [stdout] 0c28a1ece9c5ee55c4f61e9c05c7115cff935ac6897ef1a570e4643092408507