[INFO] fetching crate const_panic 0.2.12... [INFO] checking const_panic-0.2.12 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate const_panic 0.2.12 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate const_panic 0.2.12 [INFO] finished tweaking crates.io crate const_panic 0.2.12 [INFO] tweaked toml for crates.io crate const_panic 0.2.12 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate const_panic 0.2.12 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded typewit v1.11.0 [INFO] [stderr] Downloaded const_panic_proc_macros v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764ab675608f24c51b2985fd52b01d3a59faf1841e12bd039582255ad5794c3b [INFO] running `Command { std: "docker" "start" "-a" "764ab675608f24c51b2985fd52b01d3a59faf1841e12bd039582255ad5794c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764ab675608f24c51b2985fd52b01d3a59faf1841e12bd039582255ad5794c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764ab675608f24c51b2985fd52b01d3a59faf1841e12bd039582255ad5794c3b", kill_on_drop: false }` [INFO] [stdout] 764ab675608f24c51b2985fd52b01d3a59faf1841e12bd039582255ad5794c3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa0f0d16d7c01b448a496d030d4fd12993382ca0b20bab0575805cf1b03d1d27 [INFO] running `Command { std: "docker" "start" "-a" "aa0f0d16d7c01b448a496d030d4fd12993382ca0b20bab0575805cf1b03d1d27", 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] [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.11.0 [INFO] [stderr] Checking const_panic v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] error: please use cargo test --features "test" [INFO] [stdout] --> src/lib.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | compile_error! {r##"please use cargo test --features "test""##} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/concat_panic_.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(_) = panic_inner::<1024>(args) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/concat_panic_.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(_) = panic_inner::<{ 1024 * 6 }>(args) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/concat_panic_.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(_) = panic_inner::<1024>(args) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/concat_panic_.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(_) = panic_inner::<{ 1024 * 6 }>(args) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BITS` is never used [INFO] [stdout] --> src/fmt/fmt_compressed.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 69 | impl $type { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 70 | const BITS: u8 = $bits; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / enum_prim! { [INFO] [stdout] 91 | | NumberFmt, 2; [INFO] [stdout] 92 | | default Decimal, [INFO] [stdout] 93 | | Binary, [INFO] [stdout] 94 | | Hexadecimal, [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_prim` (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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa0f0d16d7c01b448a496d030d4fd12993382ca0b20bab0575805cf1b03d1d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0f0d16d7c01b448a496d030d4fd12993382ca0b20bab0575805cf1b03d1d27", kill_on_drop: false }` [INFO] [stdout] aa0f0d16d7c01b448a496d030d4fd12993382ca0b20bab0575805cf1b03d1d27