[INFO] fetching crate bitflags12 1.2.2...
[INFO] testing bitflags12-1.2.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate bitflags12 1.2.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate bitflags12 1.2.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bitflags12 1.2.2
[INFO] finished tweaking crates.io crate bitflags12 1.2.2
[INFO] tweaked toml for crates.io crate bitflags12 1.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d1f8e3cd49edef8c372fd88bd30ba49339c3130d91b727e22b4f01781fb8550
[INFO] running `Command { std: "docker" "start" "-a" "7d1f8e3cd49edef8c372fd88bd30ba49339c3130d91b727e22b4f01781fb8550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d1f8e3cd49edef8c372fd88bd30ba49339c3130d91b727e22b4f01781fb8550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d1f8e3cd49edef8c372fd88bd30ba49339c3130d91b727e22b4f01781fb8550", kill_on_drop: false }`
[INFO] [stdout] 7d1f8e3cd49edef8c372fd88bd30ba49339c3130d91b727e22b4f01781fb8550
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9b274eaf86ebb1852b8676627ccb5a93e998e9e046ce3440b28b55973cca0d0
[INFO] running `Command { std: "docker" "start" "-a" "a9b274eaf86ebb1852b8676627ccb5a93e998e9e046ce3440b28b55973cca0d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags12 v1.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "a9b274eaf86ebb1852b8676627ccb5a93e998e9e046ce3440b28b55973cca0d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b274eaf86ebb1852b8676627ccb5a93e998e9e046ce3440b28b55973cca0d0", kill_on_drop: false }`
[INFO] [stdout] a9b274eaf86ebb1852b8676627ccb5a93e998e9e046ce3440b28b55973cca0d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1e2e7e44cea402f1a867d7b5b1d7bdee94d96e34c2391cc2e85b3f5da07beee
[INFO] running `Command { std: "docker" "start" "-a" "b1e2e7e44cea402f1a867d7b5b1d7bdee94d96e34c2391cc2e85b3f5da07beee", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags12 v1.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]     --> src/lib.rs:1172:11
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     #[cfg(bitflags_const_fn)]
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `foo`
[INFO] [stdout]     --> src/lib.rs:1341:23
[INFO] [stdout]      |
[INFO] [stdout] 1341 |                 #[cfg(foo)]
[INFO] [stdout]      |                       ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `foo`
[INFO] [stdout]     --> src/lib.rs:1343:23
[INFO] [stdout]      |
[INFO] [stdout] 1343 |                 #[cfg(foo)]
[INFO] [stdout]      |                       ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "b1e2e7e44cea402f1a867d7b5b1d7bdee94d96e34c2391cc2e85b3f5da07beee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1e2e7e44cea402f1a867d7b5b1d7bdee94d96e34c2391cc2e85b3f5da07beee", kill_on_drop: false }`
[INFO] [stdout] b1e2e7e44cea402f1a867d7b5b1d7bdee94d96e34c2391cc2e85b3f5da07beee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0bbeb8d7be67f2da603c722689a67f3ee007a4d9e2e9b1b95d9a6c082f36509c
[INFO] running `Command { std: "docker" "start" "-a" "0bbeb8d7be67f2da603c722689a67f3ee007a4d9e2e9b1b95d9a6c082f36509c", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]    --> src/lib.rs:424:7
[INFO] [stderr]     |
[INFO] [stderr] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]    --> src/lib.rs:451:11
[INFO] [stderr]     |
[INFO] [stderr] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `bitflags12` (lib) generated 2 warnings
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]     --> src/lib.rs:1172:11
[INFO] [stderr]      |
[INFO] [stderr] 1172 |     #[cfg(bitflags_const_fn)]
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `foo`
[INFO] [stderr]     --> src/lib.rs:1341:23
[INFO] [stderr]      |
[INFO] [stderr] 1341 |                 #[cfg(foo)]
[INFO] [stderr]      |                       ^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `foo`
[INFO] [stderr]     --> src/lib.rs:1343:23
[INFO] [stderr]      |
[INFO] [stderr] 1343 |                 #[cfg(foo)]
[INFO] [stderr]      |                       ^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `bitflags12` (lib test) generated 5 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitflags12-8afda31b49c65679)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test tests::test_assignment_operators ... ok
[INFO] [stdout] test tests::test_contains ... ok
[INFO] [stdout] test tests::test_deprecated ... ok
[INFO] [stdout] test tests::test_empty_does_not_intersect_with_full ... ok
[INFO] [stdout] test tests::test_bits ... ok
[INFO] [stdout] test tests::test_const_fn ... ok
[INFO] [stdout] test tests::test_from_bits_unchecked ... ok
[INFO] [stdout] test tests::test_from_iterator ... ok
[INFO] [stdout] test tests::test_in_function ... ok
[INFO] [stdout] test tests::test_insert ... ok
[INFO] [stdout] test tests::submodule::test_private ... ok
[INFO] [stdout] test tests::test_is_all ... ok
[INFO] [stdout] test tests::test_extend ... ok
[INFO] [stdout] test tests::test_is_empty ... ok
[INFO] [stdout] test tests::test_lowerhex ... ok
[INFO] [stdout] test tests::test_lt ... ok
[INFO] [stdout] test tests::test_hash ... ok
[INFO] [stdout] test tests::test_octal ... ok
[INFO] [stdout] test tests::test_from_bits ... ok
[INFO] [stdout] test tests::test_set ... ok
[INFO] [stdout] test tests::test_two_empties_do_not_intersect ... ok
[INFO] [stdout] test tests::test_upperhex ... ok
[INFO] [stdout] test tests::test_zero_value_flags ... ok
[INFO] [stdout] test tests::test_operators_unchecked ... ok
[INFO] [stdout] test tests::test_ord ... ok
[INFO] [stdout] test tests::test_overlapping_intersects ... ok
[INFO] [stdout] test tests::test_binary ... ok
[INFO] [stdout] test tests::test_debug ... ok
[INFO] [stdout] test tests::test_operators ... ok
[INFO] [stdout] test tests::test_pub_crate ... ok
[INFO] [stdout] test tests::test_pub_in_module ... ok
[INFO] [stdout] test tests::test_disjoint_intersects ... ok
[INFO] [stdout] test tests::test_remove ... ok
[INFO] [stdout] test tests::test_public ... ok
[INFO] [stdout] test tests::test_from_bits_truncate ... ok
[INFO] [stderr]    Doc-tests bitflags12
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 227) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 198) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 91) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflags (line 271) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflags (line 297) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:24:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let e1 = Flags::A | Flags::C;
[INFO] [stdout]    |              ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let e1 = Flags::A | Flags::C;
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let e2 = Flags::B | Flags::C;
[INFO] [stdout]    |              ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let e2 = Flags::B | Flags::C;
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     assert_eq!((e1 | e2), Flags::ABC);   // union
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert_eq!((e1 & e2), Flags::C);     // intersection
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert_eq!((e1 - e2), Flags::A);     // set difference
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     assert_eq!(!e2, Flags::A);           // set complement
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 176) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:178:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:180:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:178:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:191:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let derived_default: Flags = Default::default();
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 227) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:229:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:231:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:229:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:239:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let empty = Flags::empty();
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:240:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let none = Flags::NONE;
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:241:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let some = Flags::SOME;
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:244:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert!(empty.contains(Flags::NONE));
[INFO] [stdout]    |                            ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:245:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert!(none.contains(Flags::NONE));
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:246:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     assert!(some.contains(Flags::NONE));
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 198) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:200:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:202:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:200:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:211:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Default for Flags {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:212:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn default() -> Flags {
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:218:30
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let implemented_default: Flags = Default::default();
[INFO] [stdout]    |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:213:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Flags::A | Flags::C
[INFO] [stdout]    |         ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:213:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Flags::A | Flags::C
[INFO] [stdout]    |                    ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:219:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |     assert_eq!(implemented_default, (Flags::A | Flags::C));
[INFO] [stdout]    |                                      ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:219:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |     assert_eq!(implemented_default, (Flags::A | Flags::C));
[INFO] [stdout]    |                                                 ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 91) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:93:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]   --> src/lib.rs:101:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     bitflags! {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]   --> src/lib.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | extern crate bitflags;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:96:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     bitflags! {
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:93:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Flags1` in `example`
[INFO] [stdout]   --> src/lib.rs:110:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let flag1 = example::Flags1::A;
[INFO] [stdout]    |                          ^^^^^^ could not find `Flags1` in `example`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Flags2` in `example`
[INFO] [stdout]   --> src/lib.rs:111:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let flag2 = example::Flags2::B; // error: const `B` is private
[INFO] [stdout]    |                          ^^^^^^ could not find `Flags2` in `example`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:51:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:55:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:51:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:62:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Flags {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl fmt::Display for Flags {
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut flags = Flags::A | Flags::B;
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut flags = Flags::A | Flags::B;
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:80:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(format!("{:?}", Flags::A | Flags::B), "A | B");
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(format!("{:?}", Flags::A | Flags::B), "A | B");
[INFO] [stdout]    |                                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!(format!("{:?}", Flags::B), "B");
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflags (line 271) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:273:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:275:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:273:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:285:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let e1 = Flags::A | Flags::C;
[INFO] [stdout]    |              ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:285:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let e1 = Flags::A | Flags::C;
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:286:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let e2 = Flags::B | Flags::C;
[INFO] [stdout]    |              ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:286:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let e2 = Flags::B | Flags::C;
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:287:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     assert_eq!((e1 | e2), Flags::ABC);   // union
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:288:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert_eq!((e1 & e2), Flags::C);     // intersection
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:289:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert_eq!((e1 - e2), Flags::A);     // set difference
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:290:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     assert_eq!(!e2, Flags::A);           // set complement
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflags (line 297) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]  --> src/lib.rs:299:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]  --> src/lib.rs:303:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | bitflags! {
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]  --> src/lib.rs:299:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bitflags;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:310:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Flags {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope
[INFO] [stdout]   --> src/lib.rs:317:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl fmt::Display for Flags {
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:324:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut flags = Flags::A | Flags::B;
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:324:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut flags = Flags::A | Flags::B;
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:328:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(format!("{:?}", Flags::A | Flags::B), "A | B");
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:328:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(format!("{:?}", Flags::A | Flags::B), "A | B");
[INFO] [stdout]    |                                           ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]   --> src/lib.rs:329:32
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!(format!("{:?}", Flags::B), "B");
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 176)
[INFO] [stdout]     src/lib.rs - (line 198)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 227)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 91)
[INFO] [stdout]     src/lib.rs - bitflags (line 271)
[INFO] [stdout]     src/lib.rs - bitflags (line 297)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0bbeb8d7be67f2da603c722689a67f3ee007a4d9e2e9b1b95d9a6c082f36509c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bbeb8d7be67f2da603c722689a67f3ee007a4d9e2e9b1b95d9a6c082f36509c", kill_on_drop: false }`
[INFO] [stdout] 0bbeb8d7be67f2da603c722689a67f3ee007a4d9e2e9b1b95d9a6c082f36509c
