[INFO] fetching crate const-bitfield 0.2.2...
[INFO] checking const-bitfield-0.2.2 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate const-bitfield 0.2.2 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate const-bitfield 0.2.2 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 35 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55657cd37b4dc8fc5149b8ea414a3d12958310e3db4c490b0dd49f4a85f2537b
[INFO] running `Command { std: "docker" "start" "-a" "55657cd37b4dc8fc5149b8ea414a3d12958310e3db4c490b0dd49f4a85f2537b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55657cd37b4dc8fc5149b8ea414a3d12958310e3db4c490b0dd49f4a85f2537b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55657cd37b4dc8fc5149b8ea414a3d12958310e3db4c490b0dd49f4a85f2537b", kill_on_drop: false }`
[INFO] [stdout] 55657cd37b4dc8fc5149b8ea414a3d12958310e3db4c490b0dd49f4a85f2537b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4673a3efc5343bf07489bd36f3fa832d457fd205469b7798319aaef20116a95
[INFO] running `Command { std: "docker" "start" "-a" "c4673a3efc5343bf07489bd36f3fa832d457fd205469b7798319aaef20116a95", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking const-bitfield v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling const-enum v0.1.0
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]     Checking toml v0.8.19
[INFO] [stderr]     Checking trybuild v1.0.101
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/bitfield_example.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(const_mut_refs)] // always required
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[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] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/bitfield.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/bitfield_gdt.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/bitfield_gdt.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(const_option)]
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] For more information about this error, try `rustc --explain E0635`.
[INFO] [stdout] 
[INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]`
[INFO] [stdout]   --> tests/bitfield_gdt.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl const From<bool> for DescriptorType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stdout]    = note: adding a non-const method body in the future would be a breaking change
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]`
[INFO] [stdout]   --> tests/bitfield_gdt.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl const From<DescriptorType> for bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stdout]    = note: adding a non-const method body in the future would be a breaking change
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]`
[INFO] [stdout]   --> tests/bitfield_gdt.rs:38:45
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Copy, Clone, Debug, Eq, PartialEq, ConstEnum)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stdout]    = note: adding a non-const method body in the future would be a breaking change
[INFO] [stdout]    = note: this error originates in the derive macro `ConstEnum` (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] [stderr] error: could not compile `const-bitfield` (test "bitfield_example") due to 1 previous error; 1 warning emitted
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[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]    = 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]    = 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]    = 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]    = 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] 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_gdt") due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c4673a3efc5343bf07489bd36f3fa832d457fd205469b7798319aaef20116a95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4673a3efc5343bf07489bd36f3fa832d457fd205469b7798319aaef20116a95", kill_on_drop: false }`
[INFO] [stdout] c4673a3efc5343bf07489bd36f3fa832d457fd205469b7798319aaef20116a95
