[INFO] fetching crate bitflags 2.4.1... [INFO] checking bitflags-2.4.1 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate bitflags 2.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitflags 2.4.1 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "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-0-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" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded winapi-util v0.1.6 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded serde_json v1.0.107 [INFO] [stderr] Downloaded bytemuck_derive v1.5.0 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded derive_arbitrary v1.3.1 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded bytemuck v1.14.0 [INFO] [stderr] Downloaded arbitrary v1.3.1 [INFO] [stderr] Downloaded zerocopy-derive v0.6.4 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.0 [INFO] [stderr] Downloaded zerocopy v0.6.4 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded compiler_builtins v0.1.101 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded trybuild v1.0.85 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ba12629ad85c6df616ec5b7347168449c69ea3508ec3c08c3baf3129885d13 [INFO] running `Command { std: "docker" "start" "-a" "76ba12629ad85c6df616ec5b7347168449c69ea3508ec3c08c3baf3129885d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ba12629ad85c6df616ec5b7347168449c69ea3508ec3c08c3baf3129885d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ba12629ad85c6df616ec5b7347168449c69ea3508ec3c08c3baf3129885d13", kill_on_drop: false }` [INFO] [stdout] 76ba12629ad85c6df616ec5b7347168449c69ea3508ec3c08c3baf3129885d13 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8f570c720a61d6b66d862266f176fd7d0948b086fdab3b9cfff049c42f3681 [INFO] running `Command { std: "docker" "start" "-a" "9a8f570c720a61d6b66d862266f176fd7d0948b086fdab3b9cfff049c42f3681", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking byteorder v1.5.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] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling derive_arbitrary v1.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.6.4 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking zerocopy v0.6.4 [INFO] [stderr] Checking arbitrary v1.3.1 [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" "9a8f570c720a61d6b66d862266f176fd7d0948b086fdab3b9cfff049c42f3681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8f570c720a61d6b66d862266f176fd7d0948b086fdab3b9cfff049c42f3681", kill_on_drop: false }` [INFO] [stdout] 9a8f570c720a61d6b66d862266f176fd7d0948b086fdab3b9cfff049c42f3681 [INFO] checking bitflags-2.4.1 against try#8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde for pr-122960 [INFO] extracting crate bitflags 2.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitflags 2.4.1 on toolchain 8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "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-0-tc2/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" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 670db23ad10741b77a10f17be9793bd5bd271360c2eb414233880e84376e4ba9 [INFO] running `Command { std: "docker" "start" "-a" "670db23ad10741b77a10f17be9793bd5bd271360c2eb414233880e84376e4ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "670db23ad10741b77a10f17be9793bd5bd271360c2eb414233880e84376e4ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670db23ad10741b77a10f17be9793bd5bd271360c2eb414233880e84376e4ba9", kill_on_drop: false }` [INFO] [stdout] 670db23ad10741b77a10f17be9793bd5bd271360c2eb414233880e84376e4ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f8143dce2bcee21ca9a339b776ad569267407390ebf839c8dc3d0a80a9d9529 [INFO] running `Command { std: "docker" "start" "-a" "9f8143dce2bcee21ca9a339b776ad569267407390ebf839c8dc3d0a80a9d9529", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Compiling rustversion v1.0.14 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [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] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: 1 warning 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 bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling derive_arbitrary v1.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.6.4 [INFO] [stderr] Checking arbitrary v1.3.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking zerocopy v0.6.4 [INFO] [stderr] Migrating examples/serde.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/fmt.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/parse.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/custom_bits_type.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/macro_free.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/custom_derive.rs from 2021 edition to 2024 [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] [stderr] error: could not compile `bitflags` (lib test) due to 25 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9f8143dce2bcee21ca9a339b776ad569267407390ebf839c8dc3d0a80a9d9529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8143dce2bcee21ca9a339b776ad569267407390ebf839c8dc3d0a80a9d9529", kill_on_drop: false }` [INFO] [stdout] 9f8143dce2bcee21ca9a339b776ad569267407390ebf839c8dc3d0a80a9d9529