[INFO] fetching crate perfcnt 0.8.0... [INFO] testing perfcnt-0.8.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate perfcnt 0.8.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate perfcnt 0.8.0 [INFO] finished tweaking crates.io crate perfcnt 0.8.0 [INFO] tweaked toml for crates.io crate perfcnt 0.8.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate perfcnt 0.8.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate perfcnt 0.8.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c3e98c23287677da1cff7cfd17b285736c1f287165f3d100ea32b8ebcbd5ec8 [INFO] running `Command { std: "docker" "start" "-a" "6c3e98c23287677da1cff7cfd17b285736c1f287165f3d100ea32b8ebcbd5ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c3e98c23287677da1cff7cfd17b285736c1f287165f3d100ea32b8ebcbd5ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3e98c23287677da1cff7cfd17b285736c1f287165f3d100ea32b8ebcbd5ec8", kill_on_drop: false }` [INFO] [stdout] 6c3e98c23287677da1cff7cfd17b285736c1f287165f3d100ea32b8ebcbd5ec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d68941195c5980ffebfd6507cb75cec5025b3d6ef34d6a311b7ba1289a16cbc2 [INFO] running `Command { std: "docker" "start" "-a" "d68941195c5980ffebfd6507cb75cec5025b3d6ef34d6a311b7ba1289a16cbc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling raw-cpuid v10.2.0 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mmap v0.1.1 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Compiling phf_codegen v0.9.0 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling x86 v0.47.0 [INFO] [stderr] Compiling perfcnt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/linux/mod.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 748 | pub struct PerfCounter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 751 | attributes: perf_format::EventAttr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pc` is never read [INFO] [stdout] --> src/linux/mod.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct SamplingPerfCounter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 799 | pc: PerfCounter, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `misc` and `size` are never read [INFO] [stdout] --> src/linux/mod.rs:847:5 [INFO] [stdout] | [INFO] [stdout] 845 | struct EventHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 846 | event_type: u32, [INFO] [stdout] 847 | misc: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 848 | size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `id`, and `lost` are never read [INFO] [stdout] --> src/linux/mod.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct LostRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 908 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 909 | /// Unique event ID of the samples that were lost. [INFO] [stdout] 910 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 911 | /// The number of events that were lost. [INFO] [stdout] 912 | lost: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LostRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `tid`, and `comm` are never read [INFO] [stdout] --> src/linux/mod.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 931 | pub struct CommRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 932 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 933 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 934 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 935 | comm: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:963:5 [INFO] [stdout] | [INFO] [stdout] 962 | pub struct ExitRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 963 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 964 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 965 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 966 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 967 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 968 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:1020:5 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct ForkRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1020 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1021 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1022 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1023 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1024 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1025 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForkRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `flags` are never read [INFO] [stdout] --> src/linux/mod.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1075 | struct BranchEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1076 | pub from: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1077 | pub to: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1078 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/linux/mod.rs:1084:5 [INFO] [stdout] | [INFO] [stdout] 1083 | pub struct SampleRecord { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1084 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1085 | /// if PERF_SAMPLE_IP [INFO] [stdout] 1086 | ip: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1087 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1088 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1089 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1090 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1091 | /// if PERF_SAMPLE_TIME [INFO] [stdout] 1092 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1093 | /// if PERF_SAMPLE_ADDR [INFO] [stdout] 1094 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1095 | /// if PERF_SAMPLE_ID [INFO] [stdout] 1096 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1097 | /// if PERF_SAMPLE_STREAM_ID [INFO] [stdout] 1098 | stream_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1099 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1100 | cpu: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1101 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1102 | res: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1103 | /// if PERF_SAMPLE_PERIOD [INFO] [stdout] 1104 | period: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1109 | v: FileReadFormat, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1117 | raw_sample: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1121 | lbr: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | abi: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | regs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1132 | user_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1135 | dyn_size: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1136 | /// u64 weight; /* if PERF_SAMPLE_WEIGHT */ [INFO] [stdout] 1137 | weight: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1138 | /// u64 data_src; /* if PERF_SAMPLE_DATA_SRC */ [INFO] [stdout] 1139 | data_str: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SampleRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux/perf_file.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d68941195c5980ffebfd6507cb75cec5025b3d6ef34d6a311b7ba1289a16cbc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68941195c5980ffebfd6507cb75cec5025b3d6ef34d6a311b7ba1289a16cbc2", kill_on_drop: false }` [INFO] [stdout] d68941195c5980ffebfd6507cb75cec5025b3d6ef34d6a311b7ba1289a16cbc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b88b2462fd96d415fb15b7748b12e017383dc31a739fe0f7fc7fcfc0f629419 [INFO] running `Command { std: "docker" "start" "-a" "3b88b2462fd96d415fb15b7748b12e017383dc31a739fe0f7fc7fcfc0f629419", kill_on_drop: false }` [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/linux/mod.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 748 | pub struct PerfCounter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 751 | attributes: perf_format::EventAttr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pc` is never read [INFO] [stdout] --> src/linux/mod.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct SamplingPerfCounter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 799 | pc: PerfCounter, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `misc` and `size` are never read [INFO] [stdout] --> src/linux/mod.rs:847:5 [INFO] [stdout] | [INFO] [stdout] 845 | struct EventHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 846 | event_type: u32, [INFO] [stdout] 847 | misc: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 848 | size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `id`, and `lost` are never read [INFO] [stdout] --> src/linux/mod.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct LostRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 908 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 909 | /// Unique event ID of the samples that were lost. [INFO] [stdout] 910 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 911 | /// The number of events that were lost. [INFO] [stdout] 912 | lost: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LostRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `tid`, and `comm` are never read [INFO] [stdout] --> src/linux/mod.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 931 | pub struct CommRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 932 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 933 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 934 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 935 | comm: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:963:5 [INFO] [stdout] | [INFO] [stdout] 962 | pub struct ExitRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 963 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 964 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 965 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 966 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 967 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 968 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:1020:5 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct ForkRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1020 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1021 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1022 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1023 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1024 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1025 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForkRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `flags` are never read [INFO] [stdout] --> src/linux/mod.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1075 | struct BranchEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1076 | pub from: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1077 | pub to: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1078 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/linux/mod.rs:1084:5 [INFO] [stdout] | [INFO] [stdout] 1083 | pub struct SampleRecord { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1084 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1085 | /// if PERF_SAMPLE_IP [INFO] [stdout] 1086 | ip: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1087 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1088 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1089 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1090 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1091 | /// if PERF_SAMPLE_TIME [INFO] [stdout] 1092 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1093 | /// if PERF_SAMPLE_ADDR [INFO] [stdout] 1094 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1095 | /// if PERF_SAMPLE_ID [INFO] [stdout] 1096 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1097 | /// if PERF_SAMPLE_STREAM_ID [INFO] [stdout] 1098 | stream_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1099 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1100 | cpu: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1101 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1102 | res: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1103 | /// if PERF_SAMPLE_PERIOD [INFO] [stdout] 1104 | period: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1109 | v: FileReadFormat, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1117 | raw_sample: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1121 | lbr: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | abi: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | regs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1132 | user_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1135 | dyn_size: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1136 | /// u64 weight; /* if PERF_SAMPLE_WEIGHT */ [INFO] [stdout] 1137 | weight: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1138 | /// u64 data_src; /* if PERF_SAMPLE_DATA_SRC */ [INFO] [stdout] 1139 | data_str: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SampleRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling perfcnt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux/perf_file.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/linux/mod.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 748 | pub struct PerfCounter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 751 | attributes: perf_format::EventAttr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pc` is never read [INFO] [stdout] --> src/linux/mod.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct SamplingPerfCounter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 799 | pc: PerfCounter, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `misc` and `size` are never read [INFO] [stdout] --> src/linux/mod.rs:847:5 [INFO] [stdout] | [INFO] [stdout] 845 | struct EventHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 846 | event_type: u32, [INFO] [stdout] 847 | misc: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 848 | size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `id`, and `lost` are never read [INFO] [stdout] --> src/linux/mod.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct LostRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 908 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 909 | /// Unique event ID of the samples that were lost. [INFO] [stdout] 910 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 911 | /// The number of events that were lost. [INFO] [stdout] 912 | lost: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LostRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `tid`, and `comm` are never read [INFO] [stdout] --> src/linux/mod.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 931 | pub struct CommRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 932 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 933 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 934 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 935 | comm: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:963:5 [INFO] [stdout] | [INFO] [stdout] 962 | pub struct ExitRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 963 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 964 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 965 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 966 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 967 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 968 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stdout] --> src/linux/mod.rs:1020:5 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct ForkRecord { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1020 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1021 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1022 | ppid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1023 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1024 | ptid: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1025 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForkRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `flags` are never read [INFO] [stdout] --> src/linux/mod.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1075 | struct BranchEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1076 | pub from: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1077 | pub to: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1078 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/linux/mod.rs:1084:5 [INFO] [stdout] | [INFO] [stdout] 1083 | pub struct SampleRecord { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1084 | header: EventHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1085 | /// if PERF_SAMPLE_IP [INFO] [stdout] 1086 | ip: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1087 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1088 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1089 | /// if PERF_SAMPLE_TID [INFO] [stdout] 1090 | tid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1091 | /// if PERF_SAMPLE_TIME [INFO] [stdout] 1092 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1093 | /// if PERF_SAMPLE_ADDR [INFO] [stdout] 1094 | addr: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1095 | /// if PERF_SAMPLE_ID [INFO] [stdout] 1096 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 1097 | /// if PERF_SAMPLE_STREAM_ID [INFO] [stdout] 1098 | stream_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1099 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1100 | cpu: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1101 | /// if PERF_SAMPLE_CPU [INFO] [stdout] 1102 | res: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 1103 | /// if PERF_SAMPLE_PERIOD [INFO] [stdout] 1104 | period: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1109 | v: FileReadFormat, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1117 | raw_sample: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1121 | lbr: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | abi: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | regs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1132 | user_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1135 | dyn_size: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1136 | /// u64 weight; /* if PERF_SAMPLE_WEIGHT */ [INFO] [stdout] 1137 | weight: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1138 | /// u64 data_src; /* if PERF_SAMPLE_DATA_SRC */ [INFO] [stdout] 1139 | data_str: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SampleRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux/perf_file.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn data(&self) -> PerfFileEventDataIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3b88b2462fd96d415fb15b7748b12e017383dc31a739fe0f7fc7fcfc0f629419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b88b2462fd96d415fb15b7748b12e017383dc31a739fe0f7fc7fcfc0f629419", kill_on_drop: false }` [INFO] [stdout] 3b88b2462fd96d415fb15b7748b12e017383dc31a739fe0f7fc7fcfc0f629419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dbeee6fe1c6a373ca0684dba75e2cbce241ae6a5bcfe1a15ef5591c96bdf63f3 [INFO] running `Command { std: "docker" "start" "-a" "dbeee6fe1c6a373ca0684dba75e2cbce241ae6a5bcfe1a15ef5591c96bdf63f3", kill_on_drop: false }` [INFO] [stderr] warning: field `attributes` is never read [INFO] [stderr] --> src/linux/mod.rs:751:5 [INFO] [stderr] | [INFO] [stderr] 748 | pub struct PerfCounter { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 751 | attributes: perf_format::EventAttr, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `pc` is never read [INFO] [stderr] --> src/linux/mod.rs:799:5 [INFO] [stderr] | [INFO] [stderr] 798 | pub struct SamplingPerfCounter { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 799 | pc: PerfCounter, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `misc` and `size` are never read [INFO] [stderr] --> src/linux/mod.rs:847:5 [INFO] [stderr] | [INFO] [stderr] 845 | struct EventHeader { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 846 | event_type: u32, [INFO] [stderr] 847 | misc: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] 848 | size: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EventHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `id`, and `lost` are never read [INFO] [stderr] --> src/linux/mod.rs:908:5 [INFO] [stderr] | [INFO] [stderr] 907 | pub struct LostRecord { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 908 | header: EventHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 909 | /// Unique event ID of the samples that were lost. [INFO] [stderr] 910 | id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 911 | /// The number of events that were lost. [INFO] [stderr] 912 | lost: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LostRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `pid`, `tid`, and `comm` are never read [INFO] [stderr] --> src/linux/mod.rs:932:5 [INFO] [stderr] | [INFO] [stderr] 931 | pub struct CommRecord { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 932 | header: EventHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 933 | pid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 934 | tid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 935 | comm: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CommRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stderr] --> src/linux/mod.rs:963:5 [INFO] [stderr] | [INFO] [stderr] 962 | pub struct ExitRecord { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 963 | header: EventHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 964 | pid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 965 | ppid: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 966 | tid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 967 | ptid: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 968 | time: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExitRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `pid`, `ppid`, `tid`, `ptid`, and `time` are never read [INFO] [stderr] --> src/linux/mod.rs:1020:5 [INFO] [stderr] | [INFO] [stderr] 1019 | pub struct ForkRecord { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 1020 | header: EventHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 1021 | pid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1022 | ppid: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1023 | tid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1024 | ptid: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1025 | time: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ForkRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `from`, `to`, and `flags` are never read [INFO] [stderr] --> src/linux/mod.rs:1076:9 [INFO] [stderr] | [INFO] [stderr] 1075 | struct BranchEntry { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 1076 | pub from: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1077 | pub to: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 1078 | flags: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BranchEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/linux/mod.rs:1084:5 [INFO] [stderr] | [INFO] [stderr] 1083 | pub struct SampleRecord { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 1084 | header: EventHeader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 1085 | /// if PERF_SAMPLE_IP [INFO] [stderr] 1086 | ip: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 1087 | /// if PERF_SAMPLE_TID [INFO] [stderr] 1088 | pid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1089 | /// if PERF_SAMPLE_TID [INFO] [stderr] 1090 | tid: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1091 | /// if PERF_SAMPLE_TIME [INFO] [stderr] 1092 | time: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1093 | /// if PERF_SAMPLE_ADDR [INFO] [stderr] 1094 | addr: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1095 | /// if PERF_SAMPLE_ID [INFO] [stderr] 1096 | id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 1097 | /// if PERF_SAMPLE_STREAM_ID [INFO] [stderr] 1098 | stream_id: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 1099 | /// if PERF_SAMPLE_CPU [INFO] [stderr] 1100 | cpu: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1101 | /// if PERF_SAMPLE_CPU [INFO] [stderr] 1102 | res: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 1103 | /// if PERF_SAMPLE_PERIOD [INFO] [stderr] 1104 | period: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1109 | v: FileReadFormat, [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 1113 | ips: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1117 | raw_sample: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1121 | lbr: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1124 | abi: u64, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1128 | regs: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 1132 | user_stack: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1135 | dyn_size: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 1136 | /// u64 weight; /* if PERF_SAMPLE_WEIGHT */ [INFO] [stderr] 1137 | weight: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 1138 | /// u64 data_src; /* if PERF_SAMPLE_DATA_SRC */ [INFO] [stderr] 1139 | data_str: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SampleRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linux/perf_file.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn data(&self) -> PerfFileEventDataIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn data(&self) -> PerfFileEventDataIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `perfcnt` (lib) generated 10 warnings (run `cargo fix --lib -p perfcnt` to apply 1 suggestion) [INFO] [stderr] warning: `perfcnt` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stdout] [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/perfcnt-57a1dbd3bc7b75c8) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/list.rs (/opt/rustwide/target/debug/deps/perfcnt_list-0a62eae242fa502b) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/parse.rs (/opt/rustwide/target/debug/deps/perfcnt_parse-696a5f5bdee2381c) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/stats.rs (/opt/rustwide/target/debug/deps/perfcnt_stats-90c7aae6e6191142) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/linux_generic_events.rs (/opt/rustwide/target/debug/deps/linux_generic_events-8b262573bbf7a857) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_cache_events ... FAILED [INFO] [stdout] test test_hardware_counter ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_cache_events stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_cache_events' (28) panicked at tests/linux_generic_events.rs:50:19: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1 [INFO] [stdout] right: 13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d01f7221172 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d01f7221172 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d01f7221172 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d01f7221172 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d01f723136f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d01f723136f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d01f71edf71 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d01f71edf71 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d01f71fa2e2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d01f71fee2f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d01f71fecc1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d01f71bbdae - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5d01f71bbdae - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d01f71ff4ef - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5d01f71ff4ef - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d01f71ff34a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d01f71fa419 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d01f71e270d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d01f7238c30 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5d01f7238ad3 - core::panicking::assert_failed_inner::h4a63fb44a65807fc [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x5d01f720e670 - core::panicking::assert_failed::hb048b5c58d3a3985 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x5d01f719a5df - linux_generic_events::test_cache_events::hf9df794e6d7a297d [INFO] [stdout] at /opt/rustwide/workdir/tests/linux_generic_events.rs:50:19 [INFO] [stdout] 22: 0x5d01f719a617 - linux_generic_events::test_cache_events::{{closure}}::hf2db8c47a75ef224 [INFO] [stdout] at /opt/rustwide/workdir/tests/linux_generic_events.rs:35:27 [INFO] [stdout] 23: 0x5d01f719aba6 - core::ops::function::FnOnce::call_once::h1f6656f563299966 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d01f71bbb8b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d01f71bbb8b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d01f71d17b5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d01f71d17b5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d01f71d17b5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d01f71d17b5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d01f71d17b5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d01f71d17b5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d01f71d17b5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d01f71a7fc4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d01f71a7fc4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d01f71ab96a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d01f71ab96a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d01f71ab96a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d01f71ab96a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d01f71ab96a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d01f71ab96a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d01f71ab96a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d01f71f555f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5d01f71f555f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72aa3b205aa4 - [INFO] [stdout] 45: 0x72aa3b292a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_hardware_counter stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_hardware_counter' (29) panicked at tests/linux_generic_events.rs:70:19: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1 [INFO] [stdout] right: 2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d01f7221172 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d01f7221172 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d01f7221172 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d01f7221172 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d01f723136f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d01f723136f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d01f71edf71 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d01f71edf71 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d01f71fa2e2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d01f71fee2f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d01f71fecc1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d01f71bbdae - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5d01f71bbdae - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d01f71ff4ef - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5d01f71ff4ef - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d01f71ff34a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d01f71fa419 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d01f71e270d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d01f7238c30 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5d01f7238ad3 - core::panicking::assert_failed_inner::h4a63fb44a65807fc [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x5d01f720e670 - core::panicking::assert_failed::hb048b5c58d3a3985 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x5d01f719a984 - linux_generic_events::test_hardware_counter::h387473a7b4d05c29 [INFO] [stdout] at /opt/rustwide/workdir/tests/linux_generic_events.rs:70:19 [INFO] [stdout] 22: 0x5d01f719a9b7 - linux_generic_events::test_hardware_counter::{{closure}}::hb866c7956bf2427b [INFO] [stdout] at /opt/rustwide/workdir/tests/linux_generic_events.rs:55:31 [INFO] [stdout] 23: 0x5d01f719abe6 - core::ops::function::FnOnce::call_once::h29511edd5b3def91 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d01f71bbb8b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d01f71bbb8b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d01f71d17b5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d01f71d17b5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d01f71d17b5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d01f71d17b5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d01f71d17b5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d01f71d17b5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d01f71d17b5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d01f71a7fc4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d01f71a7fc4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d01f71ab96a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d01f71ab96a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d01f71ab96a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d01f71ab96a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d01f71ab96a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d01f71ab96a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d01f71ab96a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d01f71f555f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5d01f71f555f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72aa3b205aa4 - [INFO] [stdout] 45: 0x72aa3b292a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_cache_events [INFO] [stdout] test_hardware_counter [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test linux_generic_events` [INFO] running `Command { std: "docker" "inspect" "dbeee6fe1c6a373ca0684dba75e2cbce241ae6a5bcfe1a15ef5591c96bdf63f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbeee6fe1c6a373ca0684dba75e2cbce241ae6a5bcfe1a15ef5591c96bdf63f3", kill_on_drop: false }` [INFO] [stdout] dbeee6fe1c6a373ca0684dba75e2cbce241ae6a5bcfe1a15ef5591c96bdf63f3