[INFO] fetching crate bitflags-attr-macros 0.12.1...
[INFO] testing bitflags-attr-macros-0.12.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate bitflags-attr-macros 0.12.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate bitflags-attr-macros 0.12.1
[INFO] finished tweaking crates.io crate bitflags-attr-macros 0.12.1
[INFO] tweaked toml for crates.io crate bitflags-attr-macros 0.12.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bitflags-attr-macros 0.12.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bitflags-attr-macros 0.12.1 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.16
[INFO] [stderr]   Downloaded syn v2.0.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3a9e0680f279c462be04bb5930325aeafbac769585117a7ed755c01024d9647e
[INFO] running `Command { std: "docker" "start" "-a" "3a9e0680f279c462be04bb5930325aeafbac769585117a7ed755c01024d9647e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a9e0680f279c462be04bb5930325aeafbac769585117a7ed755c01024d9647e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a9e0680f279c462be04bb5930325aeafbac769585117a7ed755c01024d9647e", kill_on_drop: false }`
[INFO] [stdout] 3a9e0680f279c462be04bb5930325aeafbac769585117a7ed755c01024d9647e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c61bb2cab90439cd4f4b34c33630108012e1827b22723eb558d0210d42d0d200
[INFO] running `Command { std: "docker" "start" "-a" "c61bb2cab90439cd4f4b34c33630108012e1827b22723eb558d0210d42d0d200", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling bitflags-attr-macros v0.12.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.89s
[INFO] running `Command { std: "docker" "inspect" "c61bb2cab90439cd4f4b34c33630108012e1827b22723eb558d0210d42d0d200", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c61bb2cab90439cd4f4b34c33630108012e1827b22723eb558d0210d42d0d200", kill_on_drop: false }`
[INFO] [stdout] c61bb2cab90439cd4f4b34c33630108012e1827b22723eb558d0210d42d0d200
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34de0f9f6900d9820d078dc1be2f0ca542088273857060ecfc649bec94303f36
[INFO] running `Command { std: "docker" "start" "-a" "34de0f9f6900d9820d078dc1be2f0ca542088273857060ecfc649bec94303f36", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags-attr-macros v0.12.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.30s
[INFO] running `Command { std: "docker" "inspect" "34de0f9f6900d9820d078dc1be2f0ca542088273857060ecfc649bec94303f36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34de0f9f6900d9820d078dc1be2f0ca542088273857060ecfc649bec94303f36", kill_on_drop: false }`
[INFO] [stdout] 34de0f9f6900d9820d078dc1be2f0ca542088273857060ecfc649bec94303f36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fc62de5e634b4bb94de99a03e95e6560573263055bb8b544aefc1a2c7387cf2b
[INFO] running `Command { std: "docker" "start" "-a" "fc62de5e634b4bb94de99a03e95e6560573263055bb8b544aefc1a2c7387cf2b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitflags_attr_macros-960687365681b3a8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bitflags_attr_macros
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/lib.rs - bitflag (line 357) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 34) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 275) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 337) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 178) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 209) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 229) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 195) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 255) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 317) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 94) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 64) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - bitflag (line 357) stdout ----
[INFO] [stdout] error: expected expression, found `$`
[INFO] [stdout]  --> src/lib.rs:361:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[reserved_bits = $custom_extra_valid_expr] // optional
[INFO] [stdout]   |                   ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:35:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     AB = A | B,
[INFO] [stdout]    |          ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags<const A: /* Type */> {
[INFO] [stdout]    |           +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     AB = A | B,
[INFO] [stdout]    |              ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags<const B: /* Type */> {
[INFO] [stdout]    |           +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 275) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:276:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytemuck`
[INFO] [stdout]  --> src/lib.rs:277:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bytemuck::{Pod, Zeroable};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:290:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:290:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:290:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 20) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 337) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:338:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:351:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:351:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:351:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 146) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:147:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 116) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:117:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `reserved_bits` in this scope
[INFO] [stdout]  --> src/lib.rs:121:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[reserved_bits = 0b001001111] // Specify the reserved bits to take into consideration.
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:132:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:132:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:132:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 178) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:179:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 209) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:210:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 229) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:230:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/lib.rs:231:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:244:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:244:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:244:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 195) stdout ----
[INFO] [stdout] error[E0665]: `#[derive(Default)]` on enum with no `#[default]`
[INFO] [stdout]   --> src/lib.rs:199:23
[INFO] [stdout]    |
[INFO] [stdout] 6  |   #[derive(Clone, Copy, Default)] // Default is the same as `Flags::empty()`
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout] 7  | / enum Flags {
[INFO] [stdout] 8  | |     A = 1,
[INFO] [stdout] 9  | |     B = 1 << 1,
[INFO] [stdout] 10 | |     C = 1 << 2,
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_- this enum needs a unit variant marked with `#[default]`
[INFO] [stdout]    |
[INFO] [stdout] help: make this unit variant default by placing `#[default]` on it
[INFO] [stdout]    |
[INFO] [stdout] 8  |     #[default] A = 1,
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] help: make this unit variant default by placing `#[default]` on it
[INFO] [stdout]    |
[INFO] [stdout] 9  |     #[default] B = 1 << 1,
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] help: make this unit variant default by placing `#[default]` on it
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[default] C = 1 << 2,
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:196:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0665.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 255) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:256:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arbitrary`
[INFO] [stdout]  --> src/lib.rs:257:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use arbitrary::Arbitrary;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `arbitrary`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `arbitrary`, use `cargo add arbitrary` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 317) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:318:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:331:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:331:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:331:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 49) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:50:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bits` found for enum `Flags` in the current scope
[INFO] [stdout]   --> src/lib.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags {
[INFO] [stdout]    | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     AB = Flags::A.bits() | Flags::B.bits(),
[INFO] [stdout]    |                   ^^^^ method not found in `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bits` found for enum `Flags` in the current scope
[INFO] [stdout]   --> src/lib.rs:58:37
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags {
[INFO] [stdout]    | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     AB = Flags::A.bits() | Flags::B.bits(),
[INFO] [stdout]    |                                     ^^^^ method not found in `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 94) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag_attr`
[INFO] [stdout]  --> src/lib.rs:95:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflag_attr::bitflag;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitflag_attr`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bitflag_attr`, use `cargo add bitflag_attr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `A` in this scope
[INFO] [stdout]   --> src/lib.rs:109:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |           ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const A: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]   --> src/lib.rs:109:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const B: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lib.rs:109:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ABC = A | B | C,
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum Flags<const C: /* Type */> {
[INFO] [stdout]    |               +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflag (line 64) stdout ----
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/lib.rs:65:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::fmt::Debug as ExternalDerive
[INFO] [stdout]   |                                       ^ help: add `;` here
[INFO] [stdout] 4 |
[INFO] [stdout] 5 | #[bitflag(u8)]
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `bitflag` in this scope
[INFO] [stdout]  --> src/lib.rs:67:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[bitflag(u8)]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use bitflags_attr_macros::bitflag;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bits` found for enum `Flags` in the current scope
[INFO] [stdout]   --> src/lib.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags {
[INFO] [stdout]    | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     AB = Flags::A.bits() | Flags::B.bits(),
[INFO] [stdout]    |                   ^^^^ method not found in `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bits` found for enum `Flags` in the current scope
[INFO] [stdout]   --> src/lib.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum Flags {
[INFO] [stdout]    | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     AB = Flags::A.bits() | Flags::B.bits(),
[INFO] [stdout]    |                                     ^^^^ method not found in `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - bitflag (line 116)
[INFO] [stdout]     src/lib.rs - bitflag (line 146)
[INFO] [stdout]     src/lib.rs - bitflag (line 178)
[INFO] [stdout]     src/lib.rs - bitflag (line 195)
[INFO] [stdout]     src/lib.rs - bitflag (line 20)
[INFO] [stdout]     src/lib.rs - bitflag (line 209)
[INFO] [stdout]     src/lib.rs - bitflag (line 229)
[INFO] [stdout]     src/lib.rs - bitflag (line 255)
[INFO] [stdout]     src/lib.rs - bitflag (line 275)
[INFO] [stdout]     src/lib.rs - bitflag (line 317)
[INFO] [stdout]     src/lib.rs - bitflag (line 337)
[INFO] [stdout]     src/lib.rs - bitflag (line 34)
[INFO] [stdout]     src/lib.rs - bitflag (line 357)
[INFO] [stdout]     src/lib.rs - bitflag (line 49)
[INFO] [stdout]     src/lib.rs - bitflag (line 64)
[INFO] [stdout]     src/lib.rs - bitflag (line 94)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "fc62de5e634b4bb94de99a03e95e6560573263055bb8b544aefc1a2c7387cf2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc62de5e634b4bb94de99a03e95e6560573263055bb8b544aefc1a2c7387cf2b", kill_on_drop: false }`
[INFO] [stdout] fc62de5e634b4bb94de99a03e95e6560573263055bb8b544aefc1a2c7387cf2b
