[INFO] fetching crate partial-enum 0.0.4... [INFO] testing partial-enum-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate partial-enum 0.0.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate partial-enum 0.0.4 [INFO] finished tweaking crates.io crate partial-enum 0.0.4 [INFO] tweaked toml for crates.io crate partial-enum 0.0.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate partial-enum 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e6e4f65783d34ab2e15f97c6dbfc1acaafbf147f127cd82c1309db689455dc [INFO] running `Command { std: "docker" "start" "-a" "d1e6e4f65783d34ab2e15f97c6dbfc1acaafbf147f127cd82c1309db689455dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e6e4f65783d34ab2e15f97c6dbfc1acaafbf147f127cd82c1309db689455dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e6e4f65783d34ab2e15f97c6dbfc1acaafbf147f127cd82c1309db689455dc", kill_on_drop: false }` [INFO] [stdout] d1e6e4f65783d34ab2e15f97c6dbfc1acaafbf147f127cd82c1309db689455dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c1f014fa54448177170af1105f3dfe761752731f29d9386bd61d49c74202e423 [INFO] running `Command { std: "docker" "start" "-a" "c1f014fa54448177170af1105f3dfe761752731f29d9386bd61d49c74202e423", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling partial-enum v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "c1f014fa54448177170af1105f3dfe761752731f29d9386bd61d49c74202e423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f014fa54448177170af1105f3dfe761752731f29d9386bd61d49c74202e423", kill_on_drop: false }` [INFO] [stdout] c1f014fa54448177170af1105f3dfe761752731f29d9386bd61d49c74202e423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b21898d52d25b419e247917f7c76efb00fc013a426c4934c78808e6b92a0ad73 [INFO] running `Command { std: "docker" "start" "-a" "b21898d52d25b419e247917f7c76efb00fc013a426c4934c78808e6b92a0ad73", kill_on_drop: false }` [INFO] [stderr] Compiling partial-enum v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "b21898d52d25b419e247917f7c76efb00fc013a426c4934c78808e6b92a0ad73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21898d52d25b419e247917f7c76efb00fc013a426c4934c78808e6b92a0ad73", kill_on_drop: false }` [INFO] [stdout] b21898d52d25b419e247917f7c76efb00fc013a426c4934c78808e6b92a0ad73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4df58877a6b930d2966c6451574054cab3a4ea20118c6581c8f1870d1ed6dc6 [INFO] running `Command { std: "docker" "start" "-a" "b4df58877a6b930d2966c6451574054cab3a4ea20118c6581c8f1870d1ed6dc6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/partial_enum-66a02a983f40d46e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test permutation::tests::test_permutations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests partial_enum [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - derive_error (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/lib.rs - derive_error (line 235) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 136) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_error (line 220) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Foo`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 12 | Foo(Foo), [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Bar`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 13 | Bar(Bar), [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 91) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn connect() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn connect() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 27 | fn read(sock: &mut Socket) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 27 | fn read(sock: &mut Socket) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn decode(bytes: Bytes) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn decode(bytes: Bytes) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 35 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `ConnectError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `ReadError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `DecodeError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Socket) [INFO] [stdout] | ^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Socket) [INFO] [stdout] | ^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(Bytes) [INFO] [stdout] | ^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(Bytes) [INFO] [stdout] | ^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 32 | Err(DecodeError)? [INFO] [stdout] | ^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `partial::Error` [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 35 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | --------------------------------------------- expected `partial::Error` because of this [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] | ----------^ the trait `From>` is not implemented for `partial::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, partial::Error>` [INFO] [stdout] | [INFO] [stdout] note: `partial::Error` needs to implement `From>` [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: alternatively, `partial::Error` needs to implement `Into>` [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] 17 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `partial::Error` [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | --------------------------------------------- expected `partial::Error` because of this [INFO] [stdout] 36 | let payload = read(sock)?; [INFO] [stdout] 37 | let message = decode(payload)?; [INFO] [stdout] | ---------------^ the trait `From>` is not implemented for `partial::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, partial::Error>` [INFO] [stdout] | [INFO] [stdout] note: `partial::Error` needs to implement `From>` [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: alternatively, `partial::Error` needs to implement `Into>` [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(message) [INFO] [stdout] | ^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 16 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 136) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn connect() -> Result> { Ok(Socket) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn connect() -> Result> { Ok(Socket) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn read(sock: &mut Socket) -> Result> { Ok(Bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn read(sock: &mut Socket) -> Result> { Ok(Bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:44 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:44 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:158:55 [INFO] [stdout] | [INFO] [stdout] 25 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `ConnectError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `ReadError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `DecodeError`, found `()` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 22 | fn connect() -> Result> { Ok(Socket) } [INFO] [stdout] | ^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 22 | fn connect() -> Result> { Ok(Socket) } [INFO] [stdout] | ^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:156:67 [INFO] [stdout] | [INFO] [stdout] 23 | fn read(sock: &mut Socket) -> Result> { Ok(Bytes) } [INFO] [stdout] | ^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:156:67 [INFO] [stdout] | [INFO] [stdout] 23 | fn read(sock: &mut Socket) -> Result> { Ok(Bytes) } [INFO] [stdout] | ^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 24 | fn decode(bytes: Bytes) -> Result> { Err(DecodeError)? } [INFO] [stdout] | ^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `partial::Error` [INFO] [stdout] --> src/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | --------------------------------------------- expected `partial::Error` because of this [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] | ----------^ the trait `From>` is not implemented for `partial::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, partial::Error>` [INFO] [stdout] | [INFO] [stdout] note: `partial::Error` needs to implement `From>` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: alternatively, `partial::Error` needs to implement `Into>` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `partial::Error` [INFO] [stdout] --> src/lib.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn next_message(sock: &mut Socket) -> Result> { [INFO] [stdout] | --------------------------------------------- expected `partial::Error` because of this [INFO] [stdout] 26 | let payload = read(sock)?; [INFO] [stdout] 27 | let message = decode(payload)?; [INFO] [stdout] | ---------------^ the trait `From>` is not implemented for `partial::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, partial::Error>` [INFO] [stdout] | [INFO] [stdout] note: `partial::Error` needs to implement `From>` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: alternatively, `partial::Error` needs to implement `Into>` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] `partial::Error` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(message) [INFO] [stdout] | ^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^^^^^^^^^^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^^^^^^^^^^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ReadBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^ the trait `ReadBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ReadBound`: [INFO] [stdout] () [INFO] [stdout] ReadError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DecodeBound` is not satisfied [INFO] [stdout] --> src/lib.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ^ the trait `DecodeBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeBound`: [INFO] [stdout] () [INFO] [stdout] DecodeError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `example::Error` [INFO] [stdout] --> src/lib.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_one_message() -> Result { [INFO] [stdout] | ---------------------- expected `example::Error` because of this [INFO] [stdout] 31 | let mut socket = connect()?; [INFO] [stdout] | ---------^ the trait `From>` is not implemented for `example::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, partial::Error>` [INFO] [stdout] | [INFO] [stdout] note: `example::Error` needs to implement `From>` [INFO] [stdout] --> src/lib.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: alternatively, `partial::Error` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(partial_enum::Enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] = note: this error originates in the derive macro `partial_enum::Enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(E::Read(_)) => { [INFO] [stdout] | ^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error::Read` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error::Read` [INFO] [stdout] 18 | Read(ReadError), [INFO] [stdout] | ---- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(E::Decode(err)) => Err(Error::Decode(err)), [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error::Decode` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error::Decode` [INFO] [stdout] 18 | Read(ReadError), [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 19 | Decode(DecodeError), [INFO] [stdout] | ------ required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 32 | match next_message(&mut socket) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 36 | next_message(&mut socket).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `example::Error: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 36 | next_message(&mut socket).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `example::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 36 | next_message(&mut socket).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `example::Error: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 36 | next_message(&mut socket).map_err(Error::from) [INFO] [stdout] | ^^^^^ the trait `From>` is not implemented for `example::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] `example::Error` implements `From>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: ConnectBound` is not satisfied [INFO] [stdout] --> src/lib.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 36 | next_message(&mut socket).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^ the trait `ConnectBound` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ConnectBound`: [INFO] [stdout] () [INFO] [stdout] ConnectError [INFO] [stdout] note: required by a bound in `partial::Error` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Error { [INFO] [stdout] | ----- required by a bound in this enum [INFO] [stdout] 17 | Connect(ConnectError), [INFO] [stdout] | ^^^^^^^ required by this bound in `Error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 136) [INFO] [stdout] src/lib.rs - (line 91) [INFO] [stdout] src/lib.rs - derive_error (line 220) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4df58877a6b930d2966c6451574054cab3a4ea20118c6581c8f1870d1ed6dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4df58877a6b930d2966c6451574054cab3a4ea20118c6581c8f1870d1ed6dc6", kill_on_drop: false }` [INFO] [stdout] b4df58877a6b930d2966c6451574054cab3a4ea20118c6581c8f1870d1ed6dc6