[INFO] fetching crate perfcnt 0.8.0... [INFO] checking perfcnt-0.8.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate perfcnt 0.8.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate perfcnt 0.8.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38ecabfc2d9e9be964085aa27ef44226642594bdf5a424a9e508ac674fb59157 [INFO] running `Command { std: "docker" "start" "-a" "38ecabfc2d9e9be964085aa27ef44226642594bdf5a424a9e508ac674fb59157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38ecabfc2d9e9be964085aa27ef44226642594bdf5a424a9e508ac674fb59157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ecabfc2d9e9be964085aa27ef44226642594bdf5a424a9e508ac674fb59157", kill_on_drop: false }` [INFO] [stdout] 38ecabfc2d9e9be964085aa27ef44226642594bdf5a424a9e508ac674fb59157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235e76ad8035adc6af497450e311602bc81587254bb31838751e279f5ffd3e0c [INFO] running `Command { std: "docker" "start" "-a" "235e76ad8035adc6af497450e311602bc81587254bb31838751e279f5ffd3e0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking raw-cpuid v10.2.0 [INFO] [stderr] Checking phf_shared v0.9.0 [INFO] [stderr] Checking phf v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking 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] Checking 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)]` 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] [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)]` 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 28.45s [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 3` [INFO] running `Command { std: "docker" "inspect" "235e76ad8035adc6af497450e311602bc81587254bb31838751e279f5ffd3e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235e76ad8035adc6af497450e311602bc81587254bb31838751e279f5ffd3e0c", kill_on_drop: false }` [INFO] [stdout] 235e76ad8035adc6af497450e311602bc81587254bb31838751e279f5ffd3e0c