[INFO] fetching crate bitflags 2.4.1... [INFO] checking bitflags-2.4.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate bitflags 2.4.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bitflags 2.4.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitflags 2.4.1 [INFO] finished tweaking crates.io crate bitflags 2.4.1 [INFO] tweaked toml for crates.io crate bitflags 2.4.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate bitflags 2.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.6.4 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.0 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded derive_arbitrary v1.3.1 [INFO] [stderr] Downloaded arbitrary v1.3.1 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded trybuild v1.0.85 [INFO] [stderr] Downloaded compiler_builtins v0.1.101 [INFO] [stderr] Downloaded zerocopy-derive v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02d63e184230c34459a1a110e80592708e309ef83adf792a58998c0f87337757 [INFO] running `Command { std: "docker" "start" "-a" "02d63e184230c34459a1a110e80592708e309ef83adf792a58998c0f87337757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02d63e184230c34459a1a110e80592708e309ef83adf792a58998c0f87337757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d63e184230c34459a1a110e80592708e309ef83adf792a58998c0f87337757", kill_on_drop: false }` [INFO] [stdout] 02d63e184230c34459a1a110e80592708e309ef83adf792a58998c0f87337757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f63c6c80435591aaacf837d643e91a3690898a68eb0eb98996bc6cf19372436 [INFO] running `Command { std: "docker" "start" "-a" "6f63c6c80435591aaacf837d643e91a3690898a68eb0eb98996bc6cf19372436", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking bitflags v2.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `external::__private::*` [INFO] [stdout] --> src/lib.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | pub use crate::{external::__private::*, traits::__private::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsDisplay` is never constructed [INFO] [stdout] --> src/parser.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct AsDisplay<'a, B>(pub(crate) &'a B); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Compiling zerocopy-derive v0.6.4 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling derive_arbitrary v1.3.1 [INFO] [stderr] Checking arbitrary v1.3.1 [INFO] [stderr] Checking zerocopy v0.6.4 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stdout] error[E0583]: file not found for module `all` [INFO] [stdout] --> src/tests.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod all; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `all`, create file "src/tests/all.rs" or "src/tests/all/mod.rs" [INFO] [stdout] = note: if there is a `mod all` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `bits` [INFO] [stdout] --> src/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod bits; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `bits`, create file "src/tests/bits.rs" or "src/tests/bits/mod.rs" [INFO] [stdout] = note: if there is a `mod bits` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `complement` [INFO] [stdout] --> src/tests.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod complement; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `complement`, create file "src/tests/complement.rs" or "src/tests/complement/mod.rs" [INFO] [stdout] = note: if there is a `mod complement` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `contains` [INFO] [stdout] --> src/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod contains; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `contains`, create file "src/tests/contains.rs" or "src/tests/contains/mod.rs" [INFO] [stdout] = note: if there is a `mod contains` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `difference` [INFO] [stdout] --> src/tests.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod difference; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `difference`, create file "src/tests/difference.rs" or "src/tests/difference/mod.rs" [INFO] [stdout] = note: if there is a `mod difference` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `empty` [INFO] [stdout] --> src/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod empty; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `empty`, create file "src/tests/empty.rs" or "src/tests/empty/mod.rs" [INFO] [stdout] = note: if there is a `mod empty` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `eq` [INFO] [stdout] --> src/tests.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod eq; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `eq`, create file "src/tests/eq.rs" or "src/tests/eq/mod.rs" [INFO] [stdout] = note: if there is a `mod eq` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `extend` [INFO] [stdout] --> src/tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod extend; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `extend`, create file "src/tests/extend.rs" or "src/tests/extend/mod.rs" [INFO] [stdout] = note: if there is a `mod extend` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `flags` [INFO] [stdout] --> src/tests.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod flags; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `flags`, create file "src/tests/flags.rs" or "src/tests/flags/mod.rs" [INFO] [stdout] = note: if there is a `mod flags` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `fmt` [INFO] [stdout] --> src/tests.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `fmt`, create file "src/tests/fmt.rs" or "src/tests/fmt/mod.rs" [INFO] [stdout] = note: if there is a `mod fmt` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `from_bits` [INFO] [stdout] --> src/tests.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod from_bits; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `from_bits`, create file "src/tests/from_bits.rs" or "src/tests/from_bits/mod.rs" [INFO] [stdout] = note: if there is a `mod from_bits` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `from_bits_retain` [INFO] [stdout] --> src/tests.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod from_bits_retain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `from_bits_retain`, create file "src/tests/from_bits_retain.rs" or "src/tests/from_bits_retain/mod.rs" [INFO] [stdout] = note: if there is a `mod from_bits_retain` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `from_bits_truncate` [INFO] [stdout] --> src/tests.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod from_bits_truncate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `from_bits_truncate`, create file "src/tests/from_bits_truncate.rs" or "src/tests/from_bits_truncate/mod.rs" [INFO] [stdout] = note: if there is a `mod from_bits_truncate` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `from_name` [INFO] [stdout] --> src/tests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod from_name; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `from_name`, create file "src/tests/from_name.rs" or "src/tests/from_name/mod.rs" [INFO] [stdout] = note: if there is a `mod from_name` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `insert` [INFO] [stdout] --> src/tests.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod insert; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `insert`, create file "src/tests/insert.rs" or "src/tests/insert/mod.rs" [INFO] [stdout] = note: if there is a `mod insert` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> src/tests.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "src/tests/intersection.rs" or "src/tests/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersects` [INFO] [stdout] --> src/tests.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod intersects; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersects`, create file "src/tests/intersects.rs" or "src/tests/intersects/mod.rs" [INFO] [stdout] = note: if there is a `mod intersects` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `is_all` [INFO] [stdout] --> src/tests.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod is_all; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `is_all`, create file "src/tests/is_all.rs" or "src/tests/is_all/mod.rs" [INFO] [stdout] = note: if there is a `mod is_all` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `is_empty` [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod is_empty; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `is_empty`, create file "src/tests/is_empty.rs" or "src/tests/is_empty/mod.rs" [INFO] [stdout] = note: if there is a `mod is_empty` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `iter` [INFO] [stdout] --> src/tests.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | mod iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `iter`, create file "src/tests/iter.rs" or "src/tests/iter/mod.rs" [INFO] [stdout] = note: if there is a `mod iter` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `parser` [INFO] [stdout] --> src/tests.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | mod parser; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `parser`, create file "src/tests/parser.rs" or "src/tests/parser/mod.rs" [INFO] [stdout] = note: if there is a `mod parser` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `remove` [INFO] [stdout] --> src/tests.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | mod remove; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `remove`, create file "src/tests/remove.rs" or "src/tests/remove/mod.rs" [INFO] [stdout] = note: if there is a `mod remove` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `symmetric_difference` [INFO] [stdout] --> src/tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod symmetric_difference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `symmetric_difference`, create file "src/tests/symmetric_difference.rs" or "src/tests/symmetric_difference/mod.rs" [INFO] [stdout] = note: if there is a `mod symmetric_difference` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `union` [INFO] [stdout] --> src/tests.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod union; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `union`, create file "src/tests/union.rs" or "src/tests/union/mod.rs" [INFO] [stdout] = note: if there is a `mod union` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `external::__private::*` [INFO] [stdout] --> src/lib.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | pub use crate::{external::__private::*, traits::__private::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib test) due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6f63c6c80435591aaacf837d643e91a3690898a68eb0eb98996bc6cf19372436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f63c6c80435591aaacf837d643e91a3690898a68eb0eb98996bc6cf19372436", kill_on_drop: false }` [INFO] [stdout] 6f63c6c80435591aaacf837d643e91a3690898a68eb0eb98996bc6cf19372436