[INFO] fetching crate bitflags-core 0.3.4... [INFO] testing bitflags-core-0.3.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bitflags-core 0.3.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bitflags-core 0.3.4 [INFO] finished tweaking crates.io crate bitflags-core 0.3.4 [INFO] tweaked toml for crates.io crate bitflags-core 0.3.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitflags-core 0.3.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d62f956e5a8c53a7d96731efb37fcc4c35131204f47a6a6181e8c2e5c53c9e6a [INFO] running `Command { std: "docker" "start" "-a" "d62f956e5a8c53a7d96731efb37fcc4c35131204f47a6a6181e8c2e5c53c9e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d62f956e5a8c53a7d96731efb37fcc4c35131204f47a6a6181e8c2e5c53c9e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d62f956e5a8c53a7d96731efb37fcc4c35131204f47a6a6181e8c2e5c53c9e6a", kill_on_drop: false }` [INFO] [stdout] d62f956e5a8c53a7d96731efb37fcc4c35131204f47a6a6181e8c2e5c53c9e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e73da8b30d72a47dd7b36b20f488c9074bd7e22efc2b072b91f50d23cf27d9a [INFO] running `Command { std: "docker" "start" "-a" "2e73da8b30d72a47dd7b36b20f488c9074bd7e22efc2b072b91f50d23cf27d9a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags-core v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "2e73da8b30d72a47dd7b36b20f488c9074bd7e22efc2b072b91f50d23cf27d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e73da8b30d72a47dd7b36b20f488c9074bd7e22efc2b072b91f50d23cf27d9a", kill_on_drop: false }` [INFO] [stdout] 2e73da8b30d72a47dd7b36b20f488c9074bd7e22efc2b072b91f50d23cf27d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494a92370231b5a95b91d0f7a3a2e202659c2b86cff97f3589c501210853132e [INFO] running `Command { std: "docker" "start" "-a" "494a92370231b5a95b91d0f7a3a2e202659c2b86cff97f3589c501210853132e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitflags-core v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "494a92370231b5a95b91d0f7a3a2e202659c2b86cff97f3589c501210853132e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494a92370231b5a95b91d0f7a3a2e202659c2b86cff97f3589c501210853132e", kill_on_drop: false }` [INFO] [stdout] 494a92370231b5a95b91d0f7a3a2e202659c2b86cff97f3589c501210853132e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8512b7877773222dbdc7162b139d27234e7546061860d12052c15fcc82b9f29 [INFO] running `Command { std: "docker" "start" "-a" "f8512b7877773222dbdc7162b139d27234e7546061860d12052c15fcc82b9f29", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | #![feature(no_std)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bitflags-core` (lib) generated 1 warning [INFO] [stderr] warning: `bitflags-core` (lib test) generated 1 warning (1 duplicate) [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_core-3fd0b96f0374dba0) [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_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - bitflags (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - bitflags (line 52) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - bitflags (line 24) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `bitflags` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | 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:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_A` in this scope [INFO] [stdout] --> src/lib.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | let e1 = FLAG_A | FLAG_C; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_C` in this scope [INFO] [stdout] --> src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let e1 = FLAG_A | FLAG_C; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_B` in this scope [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let e2 = FLAG_B | FLAG_C; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_C` in this scope [INFO] [stdout] --> src/lib.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let e2 = FLAG_B | FLAG_C; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_ABC` in this scope [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | assert!((e1 | e2) == FLAG_ABC); // union [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_C` in this scope [INFO] [stdout] --> src/lib.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | assert!((e1 & e2) == FLAG_C); // intersection [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_A` in this scope [INFO] [stdout] --> src/lib.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | assert!((e1 - e2) == FLAG_A); // set difference [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_A` in this scope [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(!e2 == FLAG_A); // set complement [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bitflags (line 52) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `bitflags` [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | 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:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flags` in this scope [INFO] [stdout] --> src/lib.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | 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:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Display for Flags { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_A` in this scope [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let mut flags = FLAG_A | FLAG_B; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_B` in this scope [INFO] [stdout] --> src/lib.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let mut flags = FLAG_A | FLAG_B; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_A` in this scope [INFO] [stdout] --> src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(format!("{:?}", FLAG_A | FLAG_B), "FLAG_A | FLAG_B"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_B` in this scope [INFO] [stdout] --> src/lib.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(format!("{:?}", FLAG_A | FLAG_B), "FLAG_A | FLAG_B"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLAG_B` in this scope [INFO] [stdout] --> src/lib.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(format!("{:?}", FLAG_B), "FLAG_B"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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 - bitflags (line 24) [INFO] [stdout] src/lib.rs - bitflags (line 52) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f8512b7877773222dbdc7162b139d27234e7546061860d12052c15fcc82b9f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8512b7877773222dbdc7162b139d27234e7546061860d12052c15fcc82b9f29", kill_on_drop: false }` [INFO] [stdout] f8512b7877773222dbdc7162b139d27234e7546061860d12052c15fcc82b9f29