[INFO] fetching crate perf-count 0.1.0...
[INFO] testing perf-count-0.1.0 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate perf-count 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate perf-count 0.1.0
[INFO] finished tweaking crates.io crate perf-count 0.1.0
[INFO] tweaked toml for crates.io crate perf-count 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate perf-count 0.1.0 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate perf-count 0.1.0 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c68c14478f8793c22bb96fb9b577316bef5642bbd27c99a69ddf3ddd10aeb8bc
[INFO] running `Command { std: "docker" "start" "-a" "c68c14478f8793c22bb96fb9b577316bef5642bbd27c99a69ddf3ddd10aeb8bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c68c14478f8793c22bb96fb9b577316bef5642bbd27c99a69ddf3ddd10aeb8bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c68c14478f8793c22bb96fb9b577316bef5642bbd27c99a69ddf3ddd10aeb8bc", kill_on_drop: false }`
[INFO] [stdout] c68c14478f8793c22bb96fb9b577316bef5642bbd27c99a69ddf3ddd10aeb8bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9eda4582f351316cc3d1f3ddca10503625265dbebb3dc751eec263181c975505
[INFO] running `Command { std: "docker" "start" "-a" "9eda4582f351316cc3d1f3ddca10503625265dbebb3dc751eec263181c975505", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling mmap v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling perf-count v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]  --> src/error.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Debug, Formatter};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `fmt`
[INFO] [stdout]  --> src/error.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{error, fmt, io};
[INFO] [stdout]   |           ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::event::Event`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::event::Event;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc`
[INFO] [stdout]  --> src/linux_perf/linux/hw_breakpoint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linux_perf/builder.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn set_target_event(mut self, event: Event) -> Result<Self, PerfCounterBuilderError> {
[INFO] [stdout]    |                             ----^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `event::Event::ContextSwitches` not covered
[INFO] [stdout]    --> src/linux_perf/linux/mod.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |         match value {
[INFO] [stdout]     |               ^^^^^ pattern `event::Event::ContextSwitches` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `event::Event` defined here
[INFO] [stdout]    --> src/event.rs:2:10
[INFO] [stdout]     |
[INFO] [stdout]   2 | pub enum Event {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  25 |     ContextSwitches,
[INFO] [stdout]     |     --------------- not covered
[INFO] [stdout]     = note: the matched value is of type `event::Event`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 118 ~             crate::event::Event::BranchMisses => Ok(HardwareEventType::BranchMisses),
[INFO] [stdout] 119 ~             event::Event::ContextSwitches => todo!(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `ContextSwitches` is named the same as one of the variants of the type `event::Event`
[INFO] [stdout]    --> src/linux_perf/linux/mod.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             ContextSwitches => Ok(Self::ContextSwitches),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `event::Event::ContextSwitches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/linux_perf/linux/mod.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             ContextSwitches => Ok(Self::ContextSwitches),
[INFO] [stdout]     |             --------------- matches any value
[INFO] [stdout] 170 |             x => Err(PerfCounterBuilderError::UnsupportedCounterType(x)),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ContextSwitches`
[INFO] [stdout]    --> src/linux_perf/linux/mod.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             ContextSwitches => Ok(Self::ContextSwitches),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `ContextSwitches`
[INFO] [stdout]     |
[INFO] [stdout] 169 |             event::Event::ContextSwitches => Ok(Self::ContextSwitches),
[INFO] [stdout]     |             ++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 169 |             _ContextSwitches => Ok(Self::ContextSwitches),
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0170.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perf-count` (lib) due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9eda4582f351316cc3d1f3ddca10503625265dbebb3dc751eec263181c975505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9eda4582f351316cc3d1f3ddca10503625265dbebb3dc751eec263181c975505", kill_on_drop: false }`
[INFO] [stdout] 9eda4582f351316cc3d1f3ddca10503625265dbebb3dc751eec263181c975505
