[INFO] fetching crate const_panic 0.2.8... [INFO] checking const_panic-0.2.8 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate const_panic 0.2.8 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate const_panic 0.2.8 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate const_panic 0.2.8 [INFO] finished tweaking crates.io crate const_panic 0.2.8 [INFO] tweaked toml for crates.io crate const_panic 0.2.8 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded typewit v1.9.0 [INFO] [stderr] Downloaded const_panic_proc_macros v0.2.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65ff429e27dbb1957519ee6ed0d523ce49efbce5377789e3420dc2ad2e519f5a [INFO] running `Command { std: "docker" "start" "-a" "65ff429e27dbb1957519ee6ed0d523ce49efbce5377789e3420dc2ad2e519f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65ff429e27dbb1957519ee6ed0d523ce49efbce5377789e3420dc2ad2e519f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ff429e27dbb1957519ee6ed0d523ce49efbce5377789e3420dc2ad2e519f5a", kill_on_drop: false }` [INFO] [stdout] 65ff429e27dbb1957519ee6ed0d523ce49efbce5377789e3420dc2ad2e519f5a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2f8424418d4d00fab35ff5a72db73fd54b45968331200511c86fc560042489 [INFO] running `Command { std: "docker" "start" "-a" "2e2f8424418d4d00fab35ff5a72db73fd54b45968331200511c86fc560042489", kill_on_drop: false }` [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking const_panic v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `enum_prim` is imported redundantly [INFO] [stdout] --> src/fmt/fmt_compressed.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 52 | / macro_rules! enum_prim { [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | $type:ident, $bits:expr; [INFO] [stdout] 55 | | default $default:ident, [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- the item `enum_prim` is already defined here [INFO] [stdout] 82 | use enum_prim; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/array_string.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PanicFmt` [INFO] [stdout] --> src/fmt_impls/nonzero_impls.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FmtArg, PanicFmt, PanicVal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PanicFmt` [INFO] [stdout] --> src/fmt_impls/other_impls.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FmtArg, PanicFmt, PanicVal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `None`, `Some` [INFO] [stdout] --> src/lib.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | option::Option::{self, None, Some}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please use cargo test --features "test" [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | compile_error! {r##"please use cargo test --features "test""##} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `enum_prim` is imported redundantly [INFO] [stdout] --> src/fmt/fmt_compressed.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 52 | / macro_rules! enum_prim { [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | $type:ident, $bits:expr; [INFO] [stdout] 55 | | default $default:ident, [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- the item `enum_prim` is already defined here [INFO] [stdout] 82 | use enum_prim; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/array_string.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/prelude/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PanicFmt` [INFO] [stdout] --> src/fmt_impls/nonzero_impls.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FmtArg, PanicFmt, PanicVal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PanicFmt` [INFO] [stdout] --> src/fmt_impls/other_impls.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FmtArg, PanicFmt, PanicVal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `None`, `Some` [INFO] [stdout] --> src/lib.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | option::Option::{self, None, Some}, [INFO] [stdout] | ^^^^ ^^^^ [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_panic` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e2f8424418d4d00fab35ff5a72db73fd54b45968331200511c86fc560042489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2f8424418d4d00fab35ff5a72db73fd54b45968331200511c86fc560042489", kill_on_drop: false }` [INFO] [stdout] 2e2f8424418d4d00fab35ff5a72db73fd54b45968331200511c86fc560042489