[INFO] fetching crate const_panic 0.2.10... [INFO] checking const_panic-0.2.10 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate const_panic 0.2.10 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate const_panic 0.2.10 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate const_panic 0.2.10 [INFO] finished tweaking crates.io crate const_panic 0.2.10 [INFO] tweaked toml for crates.io crate const_panic 0.2.10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9f6e69379a2055a5811f02b74f6a38e8dfe8685d9308ab69c83049fa974a842 [INFO] running `Command { std: "docker" "start" "-a" "f9f6e69379a2055a5811f02b74f6a38e8dfe8685d9308ab69c83049fa974a842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f6e69379a2055a5811f02b74f6a38e8dfe8685d9308ab69c83049fa974a842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f6e69379a2055a5811f02b74f6a38e8dfe8685d9308ab69c83049fa974a842", kill_on_drop: false }` [INFO] [stdout] f9f6e69379a2055a5811f02b74f6a38e8dfe8685d9308ab69c83049fa974a842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 225f6555154cbead8e7d9283218905751694648587ae156025633364b4517e6d [INFO] running `Command { std: "docker" "start" "-a" "225f6555154cbead8e7d9283218905751694648587ae156025633364b4517e6d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking const_panic v0.2.10 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/macros/impl_panicfmt.rs (5 fixes) [INFO] [stderr] Fixed src/panic_val.rs (1 fix) [INFO] [stderr] Fixed src/doc_macros.rs (1 fix) [INFO] [stderr] Fixed src/fmt/fmt_compressed.rs (1 fix) [INFO] [stderr] Fixed src/const_default.rs (1 fix) [INFO] [stderr] Fixed src/macros/non_basic_macros.rs (10 fixes) [INFO] [stderr] Fixed src/macros/unwrapping.rs (3 fixes) [INFO] [stderr] Fixed src/macros.rs (12 fixes) [INFO] [stderr] Fixed src/macros/concat_assert.rs (2 fixes) [INFO] [stderr] Fixed src/concat_panic_.rs (10 fixes) [INFO] [stderr] Fixed src/fmt_impls/basic_fmt_impls.rs (1 fix) [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 252 | / write_to_buffer! { [INFO] [stdout] 253 | | args [INFO] [stdout] 254 | | ( [INFO] [stdout] 255 | | len, LEN, MAX_PANIC_MSG_LEN, Err(NotEnoughSpace), [INFO] [stdout] 256 | | write_buffer, write_buffer_checked, [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 313 | / write_to_buffer! { [INFO] [stdout] 314 | | args [INFO] [stdout] 315 | | (len, LEN, LEN + 1, Err(NotEnoughSpace), write_buffer, write_buffer_checked,) [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 352 | / write_to_buffer! { [INFO] [stdout] 353 | | args [INFO] [stdout] 354 | | ( [INFO] [stdout] 355 | | len, usize::MAX - 1, usize::MAX, usize::MAX, [INFO] [stdout] 356 | | add_to_len, add_to_len, [INFO] [stdout] 357 | | ) [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please use cargo test --features "test" [INFO] [stdout] --> src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | compile_error! {r##"please use cargo test --features "test""##} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 252 | / write_to_buffer! { [INFO] [stdout] 253 | | args [INFO] [stdout] 254 | | ( [INFO] [stdout] 255 | | len, LEN, MAX_PANIC_MSG_LEN, Err(NotEnoughSpace), [INFO] [stdout] 256 | | write_buffer, write_buffer_checked, [INFO] [stdout] 257 | | ) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 313 | / write_to_buffer! { [INFO] [stdout] 314 | | args [INFO] [stdout] 315 | | (len, LEN, LEN + 1, Err(NotEnoughSpace), write_buffer, write_buffer_checked,) [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/concat_panic_.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | 'outer: while let [mut outer, ref nargs @ ..] = args { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 352 | / write_to_buffer! { [INFO] [stdout] 353 | | args [INFO] [stdout] 354 | | ( [INFO] [stdout] 355 | | len, usize::MAX - 1, usize::MAX, usize::MAX, [INFO] [stdout] 356 | | add_to_len, add_to_len, [INFO] [stdout] 357 | | ) [INFO] [stdout] 358 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `write_to_buffer_inner` which comes from the expansion of the macro `write_to_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_panic` (lib test) due to 1 previous error; 3 warnings emitted [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" "225f6555154cbead8e7d9283218905751694648587ae156025633364b4517e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225f6555154cbead8e7d9283218905751694648587ae156025633364b4517e6d", kill_on_drop: false }` [INFO] [stdout] 225f6555154cbead8e7d9283218905751694648587ae156025633364b4517e6d