[INFO] fetching crate linearize 0.1.5...
[INFO] testing linearize-0.1.5 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate linearize 0.1.5 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate linearize 0.1.5
[INFO] finished tweaking crates.io crate linearize 0.1.5
[INFO] tweaked toml for crates.io crate linearize 0.1.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate linearize 0.1.5 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate linearize 0.1.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linearize-derive v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e4ec4d8f977685c363e64e8e25498d0fdfe493ebc124660006da1c56e7f7829
[INFO] running `Command { std: "docker" "start" "-a" "3e4ec4d8f977685c363e64e8e25498d0fdfe493ebc124660006da1c56e7f7829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e4ec4d8f977685c363e64e8e25498d0fdfe493ebc124660006da1c56e7f7829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e4ec4d8f977685c363e64e8e25498d0fdfe493ebc124660006da1c56e7f7829", kill_on_drop: false }`
[INFO] [stdout] 3e4ec4d8f977685c363e64e8e25498d0fdfe493ebc124660006da1c56e7f7829
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bffdc7369cae0e70206e3d50b8bc23152b406508758b40906200245a69eab728
[INFO] running `Command { std: "docker" "start" "-a" "bffdc7369cae0e70206e3d50b8bc23152b406508758b40906200245a69eab728", kill_on_drop: false }`
[INFO] [stderr]    Compiling linearize v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "bffdc7369cae0e70206e3d50b8bc23152b406508758b40906200245a69eab728", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bffdc7369cae0e70206e3d50b8bc23152b406508758b40906200245a69eab728", kill_on_drop: false }`
[INFO] [stdout] bffdc7369cae0e70206e3d50b8bc23152b406508758b40906200245a69eab728
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8181048016cd7647d46c866ce08b680aaa8f36ddf8fde9b9954ebbc98a5cce2
[INFO] running `Command { std: "docker" "start" "-a" "c8181048016cd7647d46c866ce08b680aaa8f36ddf8fde9b9954ebbc98a5cce2", kill_on_drop: false }`
[INFO] [stderr]    Compiling linearize v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "c8181048016cd7647d46c866ce08b680aaa8f36ddf8fde9b9954ebbc98a5cce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8181048016cd7647d46c866ce08b680aaa8f36ddf8fde9b9954ebbc98a5cce2", kill_on_drop: false }`
[INFO] [stdout] c8181048016cd7647d46c866ce08b680aaa8f36ddf8fde9b9954ebbc98a5cce2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5370dda9d4a609da93f6255cadadf50e18a6c17a4ccc98ed4f08153eb8d77a9f
[INFO] running `Command { std: "docker" "start" "-a" "5370dda9d4a609da93f6255cadadf50e18a6c17a4ccc98ed4f08153eb8d77a9f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linearize-eaf591dfc70c70f5)
[INFO] [stdout] running 11 tests
[INFO] [stdout] test impls::bool::test ... ok
[INFO] [stdout] test impls::enums::core::cmp::ordering::test ... ok
[INFO] [stdout] test impls::enums::core::fmt::alignment::test ... ok
[INFO] [stdout] test impls::enums::core::num::fp_category::test ... ok
[INFO] [stdout] test impls::integers::test_u16 ... ok
[INFO] [stdout] test impls::enums::std::net::shutdown::test ... ok
[INFO] [stdout] test impls::integers::test_u8 ... ok
[INFO] [stdout] test impls::phantom_pinned::test ... ok
[INFO] [stdout] test impls::unit::test ... ok
[INFO] [stdout] test impls::phantom_data::test ... ok
[INFO] [stderr]    Doc-tests linearize
[INFO] [stdout] test impls::integers::test_u32 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 46 tests
[INFO] [stdout] test src/lib.rs - (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::map (line 227) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::into_static_map (line 133) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 108) - compile fail ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::from_fn (line 42) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::into_values (line 278) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::from_ref (line 62) ... ok
[INFO] [stdout] test src/linearized.rs - linearized::Linearized<L>::get (line 103) ... ok
[INFO] [stdout] test src/linearized.rs - linearized::Linearized (line 26) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::from_mut (line 85) ... ok
[INFO] [stdout] test src/linearized.rs - linearized::Linearized<L>::delinearize (line 121) ... ok
[INFO] [stdout] test src/linearized.rs - linearized::Linearized<L>::new (line 67) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::from_static_map (line 154) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::try_from_iter (line 106) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 117) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 166) ... FAILED
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::as_static_map_mut (line 199) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 157) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::map_values (line 254) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 126) ... FAILED
[INFO] [stdout] test src/map.rs - map::StaticMap (line 28) ... FAILED
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 94) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap (line 75) ... ok
[INFO] [stdout] test src/copy_map.rs - copy_map::StaticCopyMap<L,T>::as_static_map (line 175) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 85) ... ok
[INFO] [stdout] test src/macro.rs - r#macro::static_map (line 73) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::from_fn (line 180) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::into_values (line 617) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::clear (line 482) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::as_copy (line 329) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::each_mut (line 400) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::from_mut (line 229) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::keys (line 508) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::into_copy (line 281) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::as_copy_mut (line 353) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::iter (line 571) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::each_ref (line 381) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::map (line 425) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::from_copy (line 305) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::map_values (line 461) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::from_ref (line 206) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::iter_mut (line 594) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::values (line 531) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::values_mut (line 551) ... ok
[INFO] [stdout] test src/map.rs - map::StaticMap<L,T>::try_from_iter (line 250) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 35) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `linearize_derive`
[INFO] [stdout]   --> src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use linearize_derive::Linearize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linearize_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `linearize_derive`, use `cargo add linearize_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder::<L, T>::new`
[INFO] [stdout]    --> src/macro.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 |     L: Linearize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder::<L, T>::new`
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub const fn new() -> Self {
[INFO] [stdout]     |                  --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder::<L, T>::get`
[INFO] [stdout]    --> src/macro.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 |     L: Linearize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder::<L, T>::get`
[INFO] [stdout] ...
[INFO] [stdout] 383 |     pub const unsafe fn get(self) -> StaticMap<L, T> {
[INFO] [stdout]     |                         --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the macro `$crate::static_map_internal_wrapper` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder::<L, T>::len`
[INFO] [stdout]    --> src/macro.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 |     L: Linearize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder::<L, T>::len`
[INFO] [stdout] ...
[INFO] [stdout] 341 |     pub const fn len(&self) -> usize {
[INFO] [stdout]     |                  --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder::<L, T>::key`
[INFO] [stdout]    --> src/macro.rs:329:8
[INFO] [stdout]     |
[INFO] [stdout] 329 |     L: Linearize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder::<L, T>::key`
[INFO] [stdout] ...
[INFO] [stdout] 351 |     pub unsafe fn key(&self, i: usize) -> L {
[INFO] [stdout]     |                   --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `set` exists for struct `linearize::Builder<ColorFormat, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  41 |   enum ColorFormat {
[INFO] [stdout]     |   ---------------- doesn't satisfy `ColorFormat: Linearize`
[INFO] [stdout] ...
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ method cannot be called on `linearize::Builder<ColorFormat, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `ColorFormat: Linearize`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `get` exists for struct `linearize::Builder<ColorFormat, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:48:16
[INFO] [stdout]     |
[INFO] [stdout]  41 |   enum ColorFormat {
[INFO] [stdout]     |   ---------------- doesn't satisfy `ColorFormat: Linearize`
[INFO] [stdout] ...
[INFO] [stdout]  48 |   let channels = static_map! {
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  49 | |     ColorFormat::R => 1,
[INFO] [stdout]  50 | |     ColorFormat::Rgb { alpha } => 3 + alpha as u32,
[INFO] [stdout]  51 | | };
[INFO] [stdout]     | |_^ method cannot be called on `linearize::Builder<ColorFormat, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `ColorFormat: Linearize`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `linearize_derive`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use linearize_derive::Linearize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linearize_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `linearize_derive`, use `cargo add linearize_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied in `StaticMap<ColorFormat, _>`
[INFO] [stdout]    --> src/lib.rs:26:20
[INFO] [stdout]     |
[INFO] [stdout]  26 | let mut channels = StaticMap::default();
[INFO] [stdout]     |                    ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: within `StaticMap<ColorFormat, _>`, the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required because it appears within the type `StaticMap<ColorFormat, _>`
[INFO] [stdout]    --> src/map.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct StaticMap<L, T>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] note: required by a bound in `default`
[INFO] [stdout]    --> /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/default.rs:139:4
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied
[INFO] [stdout]   --> src/lib.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | channels[ColorFormat::R] = 1;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]   --> src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum ColorFormat {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Linearize`:
[INFO] [stdout]              ()
[INFO] [stdout]              FpCategory
[INFO] [stdout]              Infallible
[INFO] [stdout]              PhantomData<X>
[INFO] [stdout]              PhantomPinned
[INFO] [stdout]              Shutdown
[INFO] [stdout]              bool
[INFO] [stdout]              i16
[INFO] [stdout]            and 7 others
[INFO] [stdout]    = note: required for `StaticMap<ColorFormat, _>` to implement `Index<ColorFormat>`
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<ColorFormat, {integer}>`
[INFO] [stdout]   --> src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | channels[ColorFormat::Rgb { alpha: false }] = 3;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<ColorFormat, {integer}>`
[INFO] [stdout]   --> src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | channels[ColorFormat::Rgb { alpha: true }] = 4;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<ColorFormat, {integer}>`
[INFO] [stdout]   --> src/lib.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | assert_eq!(channels[ColorFormat::Rgb { alpha: false }], 3);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ColorFormat: Linearize` is not satisfied in `StaticMap<ColorFormat, {integer}>`
[INFO] [stdout]    --> src/lib.rs:26:20
[INFO] [stdout]     |
[INFO] [stdout]  26 | let mut channels = StaticMap::default();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: within `StaticMap<ColorFormat, {integer}>`, the trait `Linearize` is not implemented for `ColorFormat`
[INFO] [stdout]    --> src/lib.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | enum ColorFormat {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required because it appears within the type `StaticMap<ColorFormat, {integer}>`
[INFO] [stdout]    --> src/map.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct StaticMap<L, T>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0608.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macro.rs - r#macro::static_map (line 166) stdout ----
[INFO] [stdout] error: cannot find derive macro `Linearize` in this scope
[INFO] [stdout]    --> src/macro.rs:169:10
[INFO] [stdout]     |
[INFO] [stdout] 169 | #[derive(Linearize)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Linearize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/macro.rs:168:40
[INFO] [stdout]     |
[INFO] [stdout] 168 | use linearize::{StaticMap, static_map, Linearize};
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `linearize` in this scope
[INFO] [stdout]    --> src/macro.rs:170:3
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[linearize(const)]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `linearize` is imported here, but it is a crate, not an attribute
[INFO] [stdout]    --> src/macro.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | extern crate r#linearize;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `linearize::Builder<Key, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 171 |   enum Key {
[INFO] [stdout]     |   -------- doesn't satisfy `Key: Linearize`
[INFO] [stdout] ...
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ function or associated item cannot be called on `linearize::Builder<Key, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Key: Linearize`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |    constants of type Key:
[INFO] [stdout]     |                      ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `__linearize_d66aa8fa_6974_4651_b2b7_75291a9e7105` found for enum `Key` in the current scope
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 171 |   enum Key {
[INFO] [stdout]     |   -------- variant or associated item `__linearize_d66aa8fa_6974_4651_b2b7_75291a9e7105` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ variant or associated item not found in `Key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `__linearize_d66aa8fa_6974_4651_b2b7_75291a9e7105` found for enum `Key` in the current scope
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 171 |   enum Key {
[INFO] [stdout]     |   -------- variant or associated item `__linearize_d66aa8fa_6974_4651_b2b7_75291a9e7105` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ variant or associated item not found in `Key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `as_mut_ptr` exists for union `MaybeUninit<StaticMap<Key, T>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/macro.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 171 |   enum Key {
[INFO] [stdout]     |   -------- doesn't satisfy `Key: Linearize`
[INFO] [stdout] ...
[INFO] [stdout] 179 |   let map = static_map! {
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |    constants of type Key:
[INFO] [stdout] 181 | |    Key::False => on_false,
[INFO] [stdout] 182 | |    Key::True => on_true,
[INFO] [stdout] 183 | | };
[INFO] [stdout]     | |_^ method cannot be called on `MaybeUninit<StaticMap<Key, T>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/map.rs:165:1
[INFO] [stdout]     |
[INFO] [stdout] 165 |   pub struct StaticMap<L, T>(
[INFO] [stdout]     |   -------------------------- doesn't satisfy `StaticMap<Key, T>: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Key: Linearize`
[INFO] [stdout]             which is required by `StaticMap<Key, T>: Sized`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macro.rs - r#macro::static_map (line 126) stdout ----
[INFO] [stdout] error: cannot find derive macro `Linearize` in this scope
[INFO] [stdout]    --> src/macro.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 | #[derive(Linearize)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Linearize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/macro.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 | use linearize::{StaticMap, static_map, Linearize};
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `linearize` in this scope
[INFO] [stdout]    --> src/macro.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[linearize(const)]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `linearize` is imported here, but it is a crate, not an attribute
[INFO] [stdout]    --> src/macro.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | extern crate r#linearize;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `StaticMap`
[INFO] [stdout]    --> src/map.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct StaticMap<L, T>(
[INFO] [stdout]     |            --------- required by a bound in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     L: Linearize + ?Sized;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `StaticMap`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |   const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 137 | |    of type Key:
[INFO] [stdout] 138 | |    Key::False => 0,
[INFO] [stdout] 139 | |    Key::True => 1,
[INFO] [stdout] 140 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<Key, u32>`
[INFO] [stdout]    --> src/macro.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 | assert_eq!(MAP[Key::False], 0);
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<Key, u32>`
[INFO] [stdout]    --> src/macro.rs:142:15
[INFO] [stdout]     |
[INFO] [stdout] 142 | assert_eq!(MAP[Key::True], 1);
[INFO] [stdout]     |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `linearize::Builder<Key, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/macro.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |   enum Key {
[INFO] [stdout]     |   -------- doesn't satisfy `Key: Linearize`
[INFO] [stdout] ...
[INFO] [stdout] 136 |   const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 137 | |    of type Key:
[INFO] [stdout] 138 | |    Key::False => 0,
[INFO] [stdout] 139 | |    Key::True => 1,
[INFO] [stdout] 140 | | };
[INFO] [stdout]     | |_^ function or associated item cannot be called on `linearize::Builder<Key, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Key: Linearize`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `__from_linear_unchecked_fb2f0b31_5b5a_48b4_9264_39d0bdf94f1d` found for enum `Key` in the current scope
[INFO] [stdout]    --> src/macro.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |   enum Key {
[INFO] [stdout]     |   -------- variant or associated item `__from_linear_unchecked_fb2f0b31_5b5a_48b4_9264_39d0bdf94f1d` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |   const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 137 | |    of type Key:
[INFO] [stdout] 138 | |    Key::False => 0,
[INFO] [stdout] 139 | |    Key::True => 1,
[INFO] [stdout] 140 | | };
[INFO] [stdout]     | |_^ variant or associated item not found in `Key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Key: Linearize` is not satisfied
[INFO] [stdout]    --> src/macro.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |   const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 137 | |    of type Key:
[INFO] [stdout] 138 | |    Key::False => 0,
[INFO] [stdout] 139 | |    Key::True => 1,
[INFO] [stdout] 140 | | };
[INFO] [stdout]     | |_^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Key`
[INFO] [stdout]    --> src/macro.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | enum Key {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required by a bound in `linearize::Builder`
[INFO] [stdout]    --> src/macro.rs:325:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Builder<L, T>(pub MaybeUninit<StaticMap<L, T>>)
[INFO] [stdout]     |            ------- required by a bound in this struct
[INFO] [stdout] 324 | where
[INFO] [stdout] 325 |     L: Linearize;
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `Builder`
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `as_mut_ptr` exists for union `MaybeUninit<StaticMap<Key, T>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/macro.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |   enum Key {
[INFO] [stdout]     |   -------- doesn't satisfy `Key: Linearize`
[INFO] [stdout] ...
[INFO] [stdout] 136 |   const MAP: StaticMap<Key, u32> = static_map! {
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 137 | |    of type Key:
[INFO] [stdout] 138 | |    Key::False => 0,
[INFO] [stdout] 139 | |    Key::True => 1,
[INFO] [stdout] 140 | | };
[INFO] [stdout]     | |_^ method cannot be called on `MaybeUninit<StaticMap<Key, T>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/map.rs:165:1
[INFO] [stdout]     |
[INFO] [stdout] 165 |   pub struct StaticMap<L, T>(
[INFO] [stdout]     |   -------------------------- doesn't satisfy `StaticMap<Key, T>: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Key: Linearize`
[INFO] [stdout]             which is required by `StaticMap<Key, T>: Sized`
[INFO] [stdout] note: the trait `Linearize` must be implemented
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe trait Linearize {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0608.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/map.rs - map::StaticMap (line 28) stdout ----
[INFO] [stdout] error: cannot find derive macro `Linearize` in this scope
[INFO] [stdout]   --> src/map.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Linearize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Linearize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/map.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 | use linearize::{StaticMap, Linearize};
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Format: Linearize` is not satisfied in `StaticMap<Format, _>`
[INFO] [stdout]    --> src/map.rs:38:20
[INFO] [stdout]     |
[INFO] [stdout]  38 | let mut channels = StaticMap::default();
[INFO] [stdout]     |                    ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: within `StaticMap<Format, _>`, the trait `Linearize` is not implemented for `Format`
[INFO] [stdout]    --> src/map.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | enum Format {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required because it appears within the type `StaticMap<Format, _>`
[INFO] [stdout]    --> src/map.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct StaticMap<L, T>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] note: required by a bound in `default`
[INFO] [stdout]    --> /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/default.rs:139:4
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Format: Linearize` is not satisfied
[INFO] [stdout]   --> src/map.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | channels[Format::R] = 1;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Linearize` is not implemented for `Format`
[INFO] [stdout]   --> src/map.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | enum Format {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Linearize`:
[INFO] [stdout]              ()
[INFO] [stdout]              FpCategory
[INFO] [stdout]              Infallible
[INFO] [stdout]              PhantomData<X>
[INFO] [stdout]              PhantomPinned
[INFO] [stdout]              Shutdown
[INFO] [stdout]              bool
[INFO] [stdout]              i16
[INFO] [stdout]            and 7 others
[INFO] [stdout]    = note: required for `StaticMap<Format, _>` to implement `Index<Format>`
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<Format, {integer}>`
[INFO] [stdout]   --> src/map.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | channels[Format::Rgb] = 3;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<Format, {integer}>`
[INFO] [stdout]   --> src/map.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | channels[Format::Rgba] = 4;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `StaticMap<Format, {integer}>`
[INFO] [stdout]   --> src/map.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 | assert_eq!(channels[Format::R], 1);
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Format: Linearize` is not satisfied in `StaticMap<Format, {integer}>`
[INFO] [stdout]    --> src/map.rs:38:20
[INFO] [stdout]     |
[INFO] [stdout]  38 | let mut channels = StaticMap::default();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: within `StaticMap<Format, {integer}>`, the trait `Linearize` is not implemented for `Format`
[INFO] [stdout]    --> src/map.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | enum Format {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Linearize`:
[INFO] [stdout]               ()
[INFO] [stdout]               FpCategory
[INFO] [stdout]               Infallible
[INFO] [stdout]               PhantomData<X>
[INFO] [stdout]               PhantomPinned
[INFO] [stdout]               Shutdown
[INFO] [stdout]               bool
[INFO] [stdout]               i16
[INFO] [stdout]             and 7 others
[INFO] [stdout] note: required because it appears within the type `StaticMap<Format, {integer}>`
[INFO] [stdout]    --> src/map.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct StaticMap<L, T>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0608.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 35)
[INFO] [stdout]     src/macro.rs - r#macro::static_map (line 126)
[INFO] [stdout]     src/macro.rs - r#macro::static_map (line 166)
[INFO] [stdout]     src/map.rs - map::StaticMap (line 28)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 41 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5370dda9d4a609da93f6255cadadf50e18a6c17a4ccc98ed4f08153eb8d77a9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5370dda9d4a609da93f6255cadadf50e18a6c17a4ccc98ed4f08153eb8d77a9f", kill_on_drop: false }`
[INFO] [stdout] 5370dda9d4a609da93f6255cadadf50e18a6c17a4ccc98ed4f08153eb8d77a9f
