[INFO] fetching crate bcc 0.0.34... [INFO] checking bcc-0.0.34 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate bcc 0.0.34 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bcc 0.0.34 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bcc 0.0.34 [INFO] finished tweaking crates.io crate bcc 0.0.34 [INFO] tweaked toml for crates.io crate bcc 0.0.34 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate bcc 0.0.34 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.4.1 [INFO] [stderr] Downloaded bcc-sys v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c00dba105001c9aa75cdef2c1ffb52ae6dcdcfc0000e146267a6c3523febc6 [INFO] running `Command { std: "docker" "start" "-a" "88c00dba105001c9aa75cdef2c1ffb52ae6dcdcfc0000e146267a6c3523febc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c00dba105001c9aa75cdef2c1ffb52ae6dcdcfc0000e146267a6c3523febc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c00dba105001c9aa75cdef2c1ffb52ae6dcdcfc0000e146267a6c3523febc6", kill_on_drop: false }` [INFO] [stdout] 88c00dba105001c9aa75cdef2c1ffb52ae6dcdcfc0000e146267a6c3523febc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528ed265e4fa5519fdf7b03cce0d4ddc9f2898c2080e3a0852fe1362f14812fd [INFO] running `Command { std: "docker" "start" "-a" "528ed265e4fa5519fdf7b03cce0d4ddc9f2898c2080e3a0852fe1362f14812fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling bcc-sys v0.23.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking bcc v0.0.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cflags` is never read [INFO] [stdout] --> src/core/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct BPF { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | cflags: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BPF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/kprobe/v0_9_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Kprobe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kprobe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/perf_event/v0_4_0.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PerfEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerfEvent` 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 `code_fd` and `p` are never read [INFO] [stdout] --> src/core/raw_tracepoint/v0_6_0.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RawTracepoint { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | name: CString, [INFO] [stdout] 13 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | p: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `RawTracepoint` 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 `code_fd` and `p` are never read [INFO] [stdout] --> src/core/tracepoint/v0_6_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tracepoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | p: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Tracepoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/uprobe/v0_17_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Uprobe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uprobe` 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 `comm`, `pid`, `cpu`, `flags`, `timestamp`, and `msg` are never read [INFO] [stdout] --> src/utils/trace_print.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PrintkItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | comm: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | cpu: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | flags: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrintkItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cflags` is never read [INFO] [stdout] --> src/core/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct BPF { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | cflags: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BPF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/kprobe/v0_9_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Kprobe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kprobe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/perf_event/v0_4_0.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PerfEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerfEvent` 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 `code_fd` and `p` are never read [INFO] [stdout] --> src/core/raw_tracepoint/v0_6_0.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RawTracepoint { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | name: CString, [INFO] [stdout] 13 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | p: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `RawTracepoint` 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 `code_fd` and `p` are never read [INFO] [stdout] --> src/core/tracepoint/v0_6_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tracepoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | p: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Tracepoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_fd` is never read [INFO] [stdout] --> src/core/uprobe/v0_17_0.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Uprobe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | code_fd: File, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uprobe` 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 `comm`, `pid`, `cpu`, `flags`, `timestamp`, and `msg` are never read [INFO] [stdout] --> src/utils/trace_print.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PrintkItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | comm: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | cpu: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | flags: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrintkItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoftwareEvent` [INFO] [stdout] --> examples/memory.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use bcc::perf_event::{Event, SoftwareEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PerfEvent` [INFO] [stdout] --> examples/memory.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use bcc::{PerfEvent, PerfEventArray, BPF}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event` and `SoftwareEvent` [INFO] [stdout] --> examples/bpf_dump_ins.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bcc::perf_event::{Event, SoftwareEvent}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PerfEventArray` and `PerfEvent` [INFO] [stdout] --> examples/bpf_dump_ins.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use bcc::{PerfEvent, PerfEventArray, BPF}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App` and `Arg` [INFO] [stdout] --> examples/bpf_dump_ins.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{App, Arg}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/bpf_dump_ins.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> examples/bpf_dump_ins.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runnable` [INFO] [stdout] --> examples/bpf_dump_ins.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn do_main(runnable: Arc) -> Result<(), BccError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runnable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_SAMPLE_FREQ` is never used [INFO] [stdout] --> examples/memory.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const DEFAULT_SAMPLE_FREQ: u64 = 99; // Hertz [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.05s [INFO] running `Command { std: "docker" "inspect" "528ed265e4fa5519fdf7b03cce0d4ddc9f2898c2080e3a0852fe1362f14812fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528ed265e4fa5519fdf7b03cce0d4ddc9f2898c2080e3a0852fe1362f14812fd", kill_on_drop: false }` [INFO] [stdout] 528ed265e4fa5519fdf7b03cce0d4ddc9f2898c2080e3a0852fe1362f14812fd