[INFO] fetching crate bitflag-attr-macros 0.10.0...
[INFO] testing bitflag-attr-macros-0.10.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate bitflag-attr-macros 0.10.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate bitflag-attr-macros 0.10.0
[INFO] finished tweaking crates.io crate bitflag-attr-macros 0.10.0
[INFO] tweaked toml for crates.io crate bitflag-attr-macros 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bitflag-attr-macros 0.10.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bitflag-attr-macros 0.10.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf94a695149493b3587d41a98d0b425c933588cbd48104fea3b4a6075b6fd585
[INFO] running `Command { std: "docker" "start" "-a" "cf94a695149493b3587d41a98d0b425c933588cbd48104fea3b4a6075b6fd585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf94a695149493b3587d41a98d0b425c933588cbd48104fea3b4a6075b6fd585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf94a695149493b3587d41a98d0b425c933588cbd48104fea3b4a6075b6fd585", kill_on_drop: false }`
[INFO] [stdout] cf94a695149493b3587d41a98d0b425c933588cbd48104fea3b4a6075b6fd585
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d938fd4a25bb8cea2b3b9a65feca95f88ab1c6fee7c3ea78ab3b579cf7e1258
[INFO] running `Command { std: "docker" "start" "-a" "8d938fd4a25bb8cea2b3b9a65feca95f88ab1c6fee7c3ea78ab3b579cf7e1258", kill_on_drop: false }`
[INFO] [stderr] Compiling unicode-ident v1.0.14
[INFO] [stderr] Compiling proc-macro2 v1.0.93
[INFO] [stderr] Compiling quote v1.0.38
[INFO] [stderr] Compiling syn v2.0.96
[INFO] [stderr] Compiling bitflag-attr-macros v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.32s
[INFO] running `Command { std: "docker" "inspect" "8d938fd4a25bb8cea2b3b9a65feca95f88ab1c6fee7c3ea78ab3b579cf7e1258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d938fd4a25bb8cea2b3b9a65feca95f88ab1c6fee7c3ea78ab3b579cf7e1258", kill_on_drop: false }`
[INFO] [stdout] 8d938fd4a25bb8cea2b3b9a65feca95f88ab1c6fee7c3ea78ab3b579cf7e1258
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efca93f16977435f3b2758f26b04dde63432d42e6dff48e52f6640f12dca5eb5
[INFO] running `Command { std: "docker" "start" "-a" "efca93f16977435f3b2758f26b04dde63432d42e6dff48e52f6640f12dca5eb5", kill_on_drop: false }`
[INFO] [stderr] Compiling bitflag-attr-macros v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "efca93f16977435f3b2758f26b04dde63432d42e6dff48e52f6640f12dca5eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efca93f16977435f3b2758f26b04dde63432d42e6dff48e52f6640f12dca5eb5", kill_on_drop: false }`
[INFO] [stdout] efca93f16977435f3b2758f26b04dde63432d42e6dff48e52f6640f12dca5eb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e6f875856059b042c487237d1de014b385b65cf317c33c71ae4f7d4ce1572157
[INFO] running `Command { std: "docker" "start" "-a" "e6f875856059b042c487237d1de014b385b65cf317c33c71ae4f7d4ce1572157", kill_on_drop: false }`
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitflag_attr_macros-ea4254b4e53261de)
[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 bitflag_attr_macros
[INFO] [stdout]
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/lib.rs - bitflag (line 240) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 94) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 34) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 321) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 194) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 301) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 64) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 260) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bitflag (line 214) - compile ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- src/lib.rs - bitflag (line 240) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:241:5
[INFO] [stdout] |
[INFO] [stdout] 241 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `arbitrary`
[INFO] [stdout] --> src/lib.rs:242:5
[INFO] [stdout] |
[INFO] [stdout] 242 | 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 146) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:147:5
[INFO] [stdout] |
[INFO] [stdout] 147 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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 94) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:95:5
[INFO] [stdout] |
[INFO] [stdout] 95 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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] 109 | 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] 100 | pub enum Flags {
[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] 109 | 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] 100 | pub enum Flags {
[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] 109 | 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] 100 | pub enum Flags {
[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 180) stdout ----
[INFO] [stdout] error[E0665]: `#[derive(Default)]` on enum with no `#[default]`
[INFO] [stdout] --> src/lib.rs:184:23
[INFO] [stdout] |
[INFO] [stdout] 184 | #[derive(Clone, Copy, Default)] // Default is the same as `Flags::empty()`
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 185 | / enum Flags {
[INFO] [stdout] 186 | | A = 1,
[INFO] [stdout] 187 | | B = 1 << 1,
[INFO] [stdout] 188 | | C = 1 << 2,
[INFO] [stdout] 189 | | }
[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] 186 | #[default] A = 1,
[INFO] [stdout] | ++++++++++
[INFO] [stdout] help: make this unit variant default by placing `#[default]` on it
[INFO] [stdout] |
[INFO] [stdout] 187 | #[default] B = 1 << 1,
[INFO] [stdout] | ++++++++++
[INFO] [stdout] help: make this unit variant default by placing `#[default]` on it
[INFO] [stdout] |
[INFO] [stdout] 188 | #[default] C = 1 << 2,
[INFO] [stdout] | ++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:181:5
[INFO] [stdout] |
[INFO] [stdout] 181 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:35:5
[INFO] [stdout] |
[INFO] [stdout] 35 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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] 43 | 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] 39 | enum Flags {
[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] 43 | 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] 39 | enum Flags {
[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 321) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:322:5
[INFO] [stdout] |
[INFO] [stdout] 322 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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:335:11
[INFO] [stdout] |
[INFO] [stdout] 335 | 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] 326 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout] --> src/lib.rs:335:15
[INFO] [stdout] |
[INFO] [stdout] 335 | 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] 326 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout] --> src/lib.rs:335:19
[INFO] [stdout] |
[INFO] [stdout] 335 | 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] 326 | pub enum Flags {
[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 194) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:195:5
[INFO] [stdout] |
[INFO] [stdout] 195 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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 49) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:50:5
[INFO] [stdout] |
[INFO] [stdout] 50 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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] 54 | enum Flags {
[INFO] [stdout] | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 | 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] 54 | enum Flags {
[INFO] [stdout] | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 | 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 301) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:302:5
[INFO] [stdout] |
[INFO] [stdout] 302 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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:315:11
[INFO] [stdout] |
[INFO] [stdout] 315 | 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] 306 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout] --> src/lib.rs:315:15
[INFO] [stdout] |
[INFO] [stdout] 315 | 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] 306 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout] --> src/lib.rs:315:19
[INFO] [stdout] |
[INFO] [stdout] 315 | 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] 306 | pub enum Flags {
[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] 65 | use core::fmt::Debug as ExternalDerive
[INFO] [stdout] | ^ help: add `;` here
[INFO] [stdout] 66 |
[INFO] [stdout] 67 | #[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] 67 | #[bitflag(u8)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout] |
[INFO] [stdout] 64 + use bitflag_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] 69 | enum Flags {
[INFO] [stdout] | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 | 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] 69 | enum Flags {
[INFO] [stdout] | ---------- method `bits` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 | 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] ---- src/lib.rs - bitflag (line 116) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:117:5
[INFO] [stdout] |
[INFO] [stdout] 117 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `extra_valid_bits` in this scope
[INFO] [stdout] --> src/lib.rs:121:3
[INFO] [stdout] |
[INFO] [stdout] 121 | #[extra_valid_bits = 0b001001111] // Specify the extra 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] 132 | 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] 123 | pub enum Flags {
[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] 132 | 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] 123 | pub enum Flags {
[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] 132 | 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] 123 | pub enum Flags {
[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`
[INFO] [stdout] --> src/lib.rs:21:5
[INFO] [stdout] |
[INFO] [stdout] 21 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` 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 260) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:261:5
[INFO] [stdout] |
[INFO] [stdout] 261 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `bytemuck`
[INFO] [stdout] --> src/lib.rs:262:5
[INFO] [stdout] |
[INFO] [stdout] 262 | 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:275:11
[INFO] [stdout] |
[INFO] [stdout] 275 | 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] 266 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout] --> src/lib.rs:275:15
[INFO] [stdout] |
[INFO] [stdout] 275 | 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] 266 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout] --> src/lib.rs:275:19
[INFO] [stdout] |
[INFO] [stdout] 275 | 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] 266 | pub enum Flags {
[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 214) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflag`
[INFO] [stdout] --> src/lib.rs:215:5
[INFO] [stdout] |
[INFO] [stdout] 215 | use bitflag::bitflag;
[INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bitflag`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `bitflag`, use `cargo add bitflag` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout] --> src/lib.rs:216:5
[INFO] [stdout] |
[INFO] [stdout] 216 | 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:229:11
[INFO] [stdout] |
[INFO] [stdout] 229 | 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] 220 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout] --> src/lib.rs:229:15
[INFO] [stdout] |
[INFO] [stdout] 229 | 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] 220 | pub enum Flags {
[INFO] [stdout] | +++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout] --> src/lib.rs:229:19
[INFO] [stdout] |
[INFO] [stdout] 229 | 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] 220 | pub enum Flags {
[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]
[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 180)
[INFO] [stdout] src/lib.rs - bitflag (line 194)
[INFO] [stdout] src/lib.rs - bitflag (line 20)
[INFO] [stdout] src/lib.rs - bitflag (line 214)
[INFO] [stdout] src/lib.rs - bitflag (line 240)
[INFO] [stdout] src/lib.rs - bitflag (line 260)
[INFO] [stdout] src/lib.rs - bitflag (line 301)
[INFO] [stdout] src/lib.rs - bitflag (line 321)
[INFO] [stdout] src/lib.rs - bitflag (line 34)
[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; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e6f875856059b042c487237d1de014b385b65cf317c33c71ae4f7d4ce1572157", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6f875856059b042c487237d1de014b385b65cf317c33c71ae4f7d4ce1572157", kill_on_drop: false }`
[INFO] [stdout] e6f875856059b042c487237d1de014b385b65cf317c33c71ae4f7d4ce1572157