[INFO] fetching crate one-of 0.2.3... [INFO] checking one-of-0.2.3 against try#a0aab45a34400a5afa9e3246429a7455540b55d2 for pr-85048-2 [INFO] extracting crate one-of 0.2.3 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate one-of 0.2.3 on toolchain a0aab45a34400a5afa9e3246429a7455540b55d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a0aab45a34400a5afa9e3246429a7455540b55d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-37/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a0aab45a34400a5afa9e3246429a7455540b55d2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a0aab45a34400a5afa9e3246429a7455540b55d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a0aab45a34400a5afa9e3246429a7455540b55d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07789884182eeb4881edffeadcba1dc653493bcdf7a79df1756f93d79fd8acd [INFO] running `Command { std: "docker" "start" "-a" "d07789884182eeb4881edffeadcba1dc653493bcdf7a79df1756f93d79fd8acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07789884182eeb4881edffeadcba1dc653493bcdf7a79df1756f93d79fd8acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07789884182eeb4881edffeadcba1dc653493bcdf7a79df1756f93d79fd8acd", kill_on_drop: false }` [INFO] [stdout] d07789884182eeb4881edffeadcba1dc653493bcdf7a79df1756f93d79fd8acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a0aab45a34400a5afa9e3246429a7455540b55d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161733cf3b67710e663a1146eacbc7a2ef10e282c1787e94d0309ae158c59e75 [INFO] running `Command { std: "docker" "start" "-a" "161733cf3b67710e663a1146eacbc7a2ef10e282c1787e94d0309ae158c59e75", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking one-of v0.2.3 (/opt/rustwide/workdir) [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 because of the requirements on the impl of `From` for `OneOf2` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `u32` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf2` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf2` [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 implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] and 4 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `{integer}` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From>` for `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `OneOf8` [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 because of the requirements on the impl of `From` for `OneOf2` [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: From>` 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] = note: required because of the requirements on the impl of `Into` for `OneOf2` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom>` for `bool` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto` for `OneOf2` [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 enum `Infallible`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: From>` 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] = note: required because of the requirements on the impl of `Into<&str>` for `OneOf2` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom>` for `&str` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto<&str>` for `OneOf2` [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 enum `OneOf4`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `OneOf4` [INFO] [stdout] found type `u64` [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 enum `OneOf3`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `OneOf3` [INFO] [stdout] found reference `&'static str` [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] error: aborting due to 66 previous errors [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` due to 67 previous errors [INFO] running `Command { std: "docker" "inspect" "161733cf3b67710e663a1146eacbc7a2ef10e282c1787e94d0309ae158c59e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161733cf3b67710e663a1146eacbc7a2ef10e282c1787e94d0309ae158c59e75", kill_on_drop: false }` [INFO] [stdout] 161733cf3b67710e663a1146eacbc7a2ef10e282c1787e94d0309ae158c59e75