[INFO] fetching crate onehot 0.1.0... [INFO] checking onehot-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate onehot 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate onehot 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate onehot 0.1.0 [INFO] finished tweaking crates.io crate onehot 0.1.0 [INFO] tweaked toml for crates.io crate onehot 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bitvec v0.19.6 (available: v1.0.1) [INFO] [stderr] Adding funty v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding radium v0.5.3 (available: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wyz v0.2.0 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded onehot-derive v0.1.0 [INFO] [stderr] Downloaded bitmatrix v0.1.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7f2b4fc270ec6cdfe5e9f4b7da5e96b1102385c5ef47d6af8a199ef83ec3c63 [INFO] running `Command { std: "docker" "start" "-a" "f7f2b4fc270ec6cdfe5e9f4b7da5e96b1102385c5ef47d6af8a199ef83ec3c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7f2b4fc270ec6cdfe5e9f4b7da5e96b1102385c5ef47d6af8a199ef83ec3c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7f2b4fc270ec6cdfe5e9f4b7da5e96b1102385c5ef47d6af8a199ef83ec3c63", kill_on_drop: false }` [INFO] [stdout] f7f2b4fc270ec6cdfe5e9f4b7da5e96b1102385c5ef47d6af8a199ef83ec3c63 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f876293d94a52efb35db9201dfde9eb8c7a5e00faffe9022378be680a3d57b [INFO] running `Command { std: "docker" "start" "-a" "25f876293d94a52efb35db9201dfde9eb8c7a5e00faffe9022378be680a3d57b", kill_on_drop: false }` [INFO] [stderr] Checking onehot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling onehot-derive v0.1.0 [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/structs.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/structs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::OneHot; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/structs.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/structs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::OneHot; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/structs.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/structs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::OneHot; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `onehot` in this scope [INFO] [stdout] --> src/tests/structs.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | #[onehot(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/enums.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `onehot` in this scope [INFO] [stdout] --> src/tests/enums.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | #[onehot(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/enums.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `onehot` in this scope [INFO] [stdout] --> src/tests/enums.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | #[onehot(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `OneHot` in this scope [INFO] [stdout] --> src/tests/enums.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(OneHot)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OneHot` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/tests/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use onehot_derive::OneHot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `onehot` in this scope [INFO] [stdout] --> src/tests/enums.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | #[onehot(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `onehot` in this scope [INFO] [stdout] --> src/tests/enums.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | #[onehot(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | test_size::(4); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | test_labels::(&[ [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 47 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 48 | / &[ [INFO] [stdout] 49 | | (T { f1: SimpleEnum::First, f2: SimpleEnum::Second }, &[true, false, false, true]), [INFO] [stdout] 50 | | (T { f1: SimpleEnum::Second, f2: SimpleEnum::Third }, &[false, true, false, false]), [INFO] [stdout] 51 | | (T { f1: SimpleEnum::Third, f2: SimpleEnum::First }, &[false, false, true, false]), [INFO] [stdout] 52 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `SimpleStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | test_size::(3); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleGenericStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | test_labels::(&["SimpleEnum::First", "SimpleEnum::Second", "bool"]); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleGenericStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericStruct: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 65 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 66 | / &[ [INFO] [stdout] 67 | | (SimpleGenericStruct(SimpleEnum::First, false), &[true, false, false]), [INFO] [stdout] 68 | | (SimpleGenericStruct(SimpleEnum::Second, true), &[false, true, true]), [INFO] [stdout] 69 | | (SimpleGenericStruct(SimpleEnum::Third, true), &[false, false, true]), [INFO] [stdout] 70 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `SimpleGenericStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericStruct<'_, '_, bool, bool>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | test_size::(5); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `ComplexGenericStruct<'_, '_, bool, bool>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericStruct<'_, '_, bool, bool>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | test_labels::(&[ [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `ComplexGenericStruct<'_, '_, bool, bool>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericStruct<'_, '_, bool, bool>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/structs.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 89 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 90 | / &[ [INFO] [stdout] 91 | | ( [INFO] [stdout] 92 | | T { [INFO] [stdout] 93 | | _f1: SimpleEnum::First, [INFO] [stdout] ... | [INFO] [stdout] 120 | | ), [INFO] [stdout] 121 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `ComplexGenericStruct<'_, '_, bool, bool>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | test_size::(2); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | test_labels::(&["SimpleEnum::First", "SimpleEnum::Second"]); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 44 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 45 | / &[ [INFO] [stdout] 46 | | (T::First, &[true, false]), [INFO] [stdout] 47 | | (T::Second, &[false, true]), [INFO] [stdout] 48 | | (T::Third, &[false, false]), [INFO] [stdout] 49 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericEnum<()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | test_size::(2); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleGenericEnum<()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericEnum<()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | test_labels::(&["SimpleGenericEnum::Second", "SimpleGenericEnum::Third"]); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `SimpleGenericEnum<()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleGenericEnum<()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 62 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 63 | / &[ [INFO] [stdout] 64 | | (T::First(()), &[false, false]), [INFO] [stdout] 65 | | (T::Second, &[true, false]), [INFO] [stdout] 66 | | (T::Third, &[false, true]), [INFO] [stdout] 67 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `SimpleGenericEnum<()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericEnum<'_, '_, (), ()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | test_size::(1); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `ComplexGenericEnum<'_, '_, (), ()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_size` [INFO] [stdout] --> src/tests/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_size(size: usize) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericEnum<'_, '_, (), ()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | test_labels::(&["ComplexGenericEnum::Third"]); [INFO] [stdout] | ^ the trait `OneHot` is not implemented for `ComplexGenericEnum<'_, '_, (), ()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_labels` [INFO] [stdout] --> src/tests/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | fn test_labels(labels: &[&str]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexGenericEnum<'_, '_, (), ()>: OneHot` is not satisfied [INFO] [stdout] --> src/tests/enums.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 80 | test_variants( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 81 | / &[ [INFO] [stdout] 82 | | (T::First(&()), &[false]), [INFO] [stdout] 83 | | (T::Second { _field: &() }, &[false]), [INFO] [stdout] 84 | | (T::Third, &[true]), [INFO] [stdout] 85 | | ] [INFO] [stdout] | |_________^ the trait `OneHot` is not implemented for `ComplexGenericEnum<'_, '_, (), ()>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `OneHot`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] bool [INFO] [stdout] note: required by a bound in `tests::test_variants` [INFO] [stdout] --> src/tests/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_variants(variants: &[(T, &[bool])]) { [INFO] [stdout] | ^^^^^^ required by this bound in `test_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `onehot` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "25f876293d94a52efb35db9201dfde9eb8c7a5e00faffe9022378be680a3d57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f876293d94a52efb35db9201dfde9eb8c7a5e00faffe9022378be680a3d57b", kill_on_drop: false }` [INFO] [stdout] 25f876293d94a52efb35db9201dfde9eb8c7a5e00faffe9022378be680a3d57b