[INFO] fetching crate one-of 0.2.3... [INFO] testing one-of-0.2.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate one-of 0.2.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate one-of 0.2.3 [INFO] finished tweaking crates.io crate one-of 0.2.3 [INFO] tweaked toml for crates.io crate one-of 0.2.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate one-of 0.2.3 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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a702f7e6cd342e904715423d55c300ed314938869ba8e19786d369dcc02ff639 [INFO] running `Command { std: "docker" "start" "-a" "a702f7e6cd342e904715423d55c300ed314938869ba8e19786d369dcc02ff639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a702f7e6cd342e904715423d55c300ed314938869ba8e19786d369dcc02ff639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a702f7e6cd342e904715423d55c300ed314938869ba8e19786d369dcc02ff639", kill_on_drop: false }` [INFO] [stdout] a702f7e6cd342e904715423d55c300ed314938869ba8e19786d369dcc02ff639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ce9d51cd960e2fcee614c829c68f57a3edbd34e7bfb80e345f55fc45e4072250 [INFO] running `Command { std: "docker" "start" "-a" "ce9d51cd960e2fcee614c829c68f57a3edbd34e7bfb80e345f55fc45e4072250", kill_on_drop: false }` [INFO] [stderr] Compiling one-of v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "ce9d51cd960e2fcee614c829c68f57a3edbd34e7bfb80e345f55fc45e4072250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9d51cd960e2fcee614c829c68f57a3edbd34e7bfb80e345f55fc45e4072250", kill_on_drop: false }` [INFO] [stdout] ce9d51cd960e2fcee614c829c68f57a3edbd34e7bfb80e345f55fc45e4072250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b8e206cf77d1ac4d116d1a7a8839d2862d2cc7236016aab592b833a6275c38bd [INFO] running `Command { std: "docker" "start" "-a" "b8e206cf77d1ac4d116d1a7a8839d2862d2cc7236016aab592b833a6275c38bd", kill_on_drop: false }` [INFO] [stderr] Compiling one-of v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found metavariable [INFO] [stdout] --> tests/tests.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / case!(::from(42u64), [INFO] [stdout] 42 | | // i8 [INFO] [stdout] 43 | | _ => { [INFO] [stdout] 44 | | panic!("not i8"); [INFO] [stdout] ... | [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____^ expected identifier, found metavariable [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found metavariable [INFO] [stdout] --> tests/tests.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / case!(::from("Hello, world!"), [INFO] [stdout] 70 | | // bool [INFO] [stdout] 71 | | _ => { [INFO] [stdout] 72 | | panic!("not bool"); [INFO] [stdout] ... | [INFO] [stdout] 86 | | }; [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_____^ expected identifier, found metavariable [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, char): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | let x: one_of!(u32, char) = 42.into(); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, char)` [INFO] [stdout] | [INFO] [stdout] = note: required for `OneOf2` to implement `From` [INFO] [stdout] = note: required for `u32` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, char): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Some(42u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, char)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf2` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(char, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(not!(char), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(char, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf2` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OneOf8: From<{integer}>` is not satisfied [INFO] [stdout] --> tests/tests.rs:20:63 [INFO] [stdout] | [INFO] [stdout] 20 | let x: one_of!(i8, i16, i32, i64, u8, u16, u32, u64) = 42.into(); [INFO] [stdout] | ^^^^ the trait `From<{integer}>` is not implemented for `OneOf8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] `OneOf8` implements `From` [INFO] [stdout] = note: required for `{integer}` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i8, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(not!(i8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i8, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i16, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(not!(i16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i16, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Some(42i32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i32, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i64, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(not!(i64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(i64, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u8, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(not!(u8), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u8, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u16, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(not!(u16), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u16, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u32, u64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(not!(u32), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u32, u64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, i8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, i8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, i16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, i16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, i32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, i32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, i64): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, i64)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, u8): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, u8)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, u16): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, u16)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(u64, u32): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(not!(u64), x.into()); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(u64, u32)` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option` to implement `From>` [INFO] [stdout] = note: required for `OneOf8` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(bool, &str): one_of::internal::Different` is not satisfied [INFO] [stdout] --> tests/tests.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let x: one_of!(bool, &str) = true.into(); [INFO] [stdout] | ^^^^ the trait `one_of::internal::Different` is not implemented for `(bool, &str)` [INFO] [stdout] | [INFO] [stdout] = note: required for `OneOf2` to implement `From` [INFO] [stdout] = note: required for `bool` to implement `Into>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: TryFrom>` is not satisfied [INFO] [stdout] --> tests/tests.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(Ok(true), x.try_into()); [INFO] [stdout] | ^^^^^^^^ the trait `From>` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryInto`: [INFO] [stdout] `OneOf2` implements `TryInto` [INFO] [stdout] `OneOf2` implements `TryInto` [INFO] [stdout] = note: required for `OneOf2` to implement `Into` [INFO] [stdout] = note: required for `bool` to implement `TryFrom>` [INFO] [stdout] = note: required for `OneOf2` to implement `TryInto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&str as TryFrom>>::Error == ()` [INFO] [stdout] --> tests/tests.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Result::<&str, _>::Err(()), x.try_into()); [INFO] [stdout] | ^^^^^^^^ expected `()`, found `Infallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: TryFrom>` is not satisfied [INFO] [stdout] --> tests/tests.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Result::<&str, _>::Err(()), x.try_into()); [INFO] [stdout] | ^^^^^^^^ the trait `From>` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `alloc::string::String` implements `From<&alloc::string::String>` [INFO] [stdout] `alloc::string::String` implements `From<&mut str>` [INFO] [stdout] `alloc::string::String` implements `From<&str>` [INFO] [stdout] `alloc::string::String` implements `From>` [INFO] [stdout] `alloc::string::String` implements `From>` [INFO] [stdout] `alloc::string::String` implements `From` [INFO] [stdout] = note: required for `OneOf2` to implement `Into<&str>` [INFO] [stdout] = note: required for `&str` to implement `TryFrom>` [INFO] [stdout] = note: required for `OneOf2` to implement `TryInto<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tests.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | case!(::from(42u64), [INFO] [stdout] | --------------------------------- ^^^^^ expected `OneOf4`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `OneOf4` [INFO] [stdout] found type `u64` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:588:8 [INFO] [stdout] help: try wrapping the expression in `one_of::OneOf4::D` [INFO] [stdout] | [INFO] [stdout] 41 | case!(::from(one_of::OneOf4::D(42u64)), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tests.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | case!(::from("Hello, world!"), [INFO] [stdout] | -------------------------------- ^^^^^^^^^^^^^^^ expected `OneOf3`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `OneOf3` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:588:8 [INFO] [stdout] help: try wrapping the expression in `one_of::OneOf3::B` [INFO] [stdout] | [INFO] [stdout] 69 | case!(::from(one_of::OneOf3::B("Hello, world!")), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `one-of` (test "tests") due to 68 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b8e206cf77d1ac4d116d1a7a8839d2862d2cc7236016aab592b833a6275c38bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e206cf77d1ac4d116d1a7a8839d2862d2cc7236016aab592b833a6275c38bd", kill_on_drop: false }` [INFO] [stdout] b8e206cf77d1ac4d116d1a7a8839d2862d2cc7236016aab592b833a6275c38bd