[INFO] fetching crate const-bitfield 0.2.2...
[INFO] checking const-bitfield-0.2.2 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate const-bitfield 0.2.2 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate const-bitfield 0.2.2 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate const-bitfield 0.2.2
[INFO] finished tweaking crates.io crate const-bitfield 0.2.2
[INFO] tweaked toml for crates.io crate const-bitfield 0.2.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded const-enum v0.1.0
[INFO] [stderr]   Downloaded basic-toml v0.1.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 097588e075e61dfe01f78deedc26af15b0e31eda44b4b9058092794ddfd4891d
[INFO] running `Command { std: "docker" "start" "-a" "097588e075e61dfe01f78deedc26af15b0e31eda44b4b9058092794ddfd4891d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "097588e075e61dfe01f78deedc26af15b0e31eda44b4b9058092794ddfd4891d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "097588e075e61dfe01f78deedc26af15b0e31eda44b4b9058092794ddfd4891d", kill_on_drop: false }`
[INFO] [stdout] 097588e075e61dfe01f78deedc26af15b0e31eda44b4b9058092794ddfd4891d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4429d98fbf70e45e1b8d6d0ae6e812ba582226e8c6ad6add957ee799e8c39eec
[INFO] running `Command { std: "docker" "start" "-a" "4429d98fbf70e45e1b8d6d0ae6e812ba582226e8c6ad6add957ee799e8c39eec", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking const-bitfield v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking basic-toml v0.1.9
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling const-enum v0.1.0
[INFO] [stderr]     Checking trybuild v1.0.89
[INFO] [stdout] error[E0635]: unknown feature `const_convert`
[INFO] [stdout]  --> tests/bitfield_gdt.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_convert)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u32>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u32>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<SegmentType as From<u8>>::from` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<DescriptorType as From<bool>>::from` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `const_convert`
[INFO] [stdout]  --> tests/bitfield_example.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_convert)] // optional, when using from/into conversion
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u32>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u32>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<u8 as From<SegmentType>>::from` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<bool as From<DescriptorType>>::from` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Descriptor as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_gdt.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / bitfield! {
[INFO] [stdout] 52 | |     #[derive(Copy, Clone)]
[INFO] [stdout] 53 | |     pub struct Descriptor(u64);
[INFO] [stdout] 54 | |     u32, limit_0_15, set_limit_0_15: 15, 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     u8, base_24_31, set_base_24_31: 63, 56;
[INFO] [stdout] 67 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRange<u16>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRange<u32>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRange<u64>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRangeMut<u16>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRangeMut<u32>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 35 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRangeMut<u64>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<Test as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     struct Test(u128);
[INFO] [stdout] 9  | |     u8, f1, set_f1: 7, 0;
[INFO] [stdout] 10 | |     u16, f2, set_f2: 23, 8;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u8, f5, set_f5: 127, 120;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `const-bitfield` (test "bitfield_gdt") due to 36 previous errors
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `const-bitfield` (test "bitfield") due to 11 previous errors
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as BitRange<u8>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as Bit>::bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as BitRange<u16>>::bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as BitRangeMut<u8>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as BitMut>::set_bit` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `<MyBitField as BitRangeMut<u16>>::set_bits` in constant functions
[INFO] [stdout]   --> tests/bitfield_example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitfield! {
[INFO] [stdout] 8  | |     #[derive(Copy, Clone)]
[INFO] [stdout] 9  | |     pub struct MyBitField(u32);
[INFO] [stdout] 10 | |     u8, hello, set_hello: 6, 0;         // hello is stored in bits 0..=6
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |     u16, goodbye, set_goodbye: 31, 16;   // goodbye is stored in bits 16..=31
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = help: add `#![feature(effects)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `$crate::bitfield` which comes from the expansion of the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `const-bitfield` (test "bitfield_example") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "4429d98fbf70e45e1b8d6d0ae6e812ba582226e8c6ad6add957ee799e8c39eec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4429d98fbf70e45e1b8d6d0ae6e812ba582226e8c6ad6add957ee799e8c39eec", kill_on_drop: false }`
[INFO] [stdout] 4429d98fbf70e45e1b8d6d0ae6e812ba582226e8c6ad6add957ee799e8c39eec
