[INFO] cloning repository https://github.com/jsgf/ruskcov [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsgf/ruskcov" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsgf%2Fruskcov", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsgf%2Fruskcov'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bcef09cd2817b759b195c155a24079783d966ef [INFO] checking jsgf/ruskcov against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsgf%2Fruskcov" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jsgf/ruskcov on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jsgf/ruskcov [INFO] finished tweaking git repo https://github.com/jsgf/ruskcov [INFO] tweaked toml for git repo https://github.com/jsgf/ruskcov written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jsgf/ruskcov 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/gimli-rs/findshlibs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded intervaltree v0.2.4 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded scroll_derive v0.10.1 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded target-lexicon v0.9.0 [INFO] [stderr] Downloaded anyhow v1.0.25 [INFO] [stderr] Downloaded miniz_oxide v0.3.5 [INFO] [stderr] Downloaded parity-wasm v0.41.0 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] [stderr] Downloaded nix v0.16.0 [INFO] [stderr] Downloaded goblin v0.1.2 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded scroll v0.10.1 [INFO] [stderr] Downloaded gimli v0.19.0 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded regex v1.0.2 [INFO] [stderr] Downloaded object v0.16.0 [INFO] [stderr] Downloaded state v0.4.1 [INFO] [stderr] Downloaded tinyset v0.3.5 [INFO] [stderr] Downloaded internment v0.3.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9768ac281a41efa71f41e8e1be39720338eb9bf076a1aadd37953cb44094dbdf [INFO] running `Command { std: "docker" "start" "-a" "9768ac281a41efa71f41e8e1be39720338eb9bf076a1aadd37953cb44094dbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9768ac281a41efa71f41e8e1be39720338eb9bf076a1aadd37953cb44094dbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9768ac281a41efa71f41e8e1be39720338eb9bf076a1aadd37953cb44094dbdf", kill_on_drop: false }` [INFO] [stdout] 9768ac281a41efa71f41e8e1be39720338eb9bf076a1aadd37953cb44094dbdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49358da2a3a5d73942015b673cb5d41278f4000de2af0bdb4935c07297d88c5c [INFO] running `Command { std: "docker" "start" "-a" "49358da2a3a5d73942015b673cb5d41278f4000de2af0bdb4935c07297d88c5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling nix v0.16.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking intervaltree v0.2.4 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking gimli v0.19.0 [INFO] [stderr] Compiling ruskcov-inject v0.1.0 (/opt/rustwide/workdir/inject) [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking findshlibs v0.6.0 (https://github.com/gimli-rs/findshlibs.git#760f122b) [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking state v0.4.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.4 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling ctor v0.1.12 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking goblin v0.1.2 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking inject-types v0.1.0 (/opt/rustwide/workdir/inject-types) [INFO] [stdout] warning: unused imports: `SIGSTOP` and `raise` [INFO] [stdout] --> inject/src/lib.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_char, c_int, c_void, dlsym, raise, size_t, RTLD_NEXT, SIGSTOP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `OsStr`, `ffi::OsStrExt`, and `slice` [INFO] [stdout] --> inject/src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, OsStr}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | os::unix::{ffi::OsStrExt, net::UnixStream}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | path::PathBuf, [INFO] [stdout] 26 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SIGSTOP` and `raise` [INFO] [stdout] --> inject/src/lib.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_char, c_int, c_void, dlsym, raise, size_t, RTLD_NEXT, SIGSTOP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `OsStr`, `ffi::OsStrExt`, and `slice` [INFO] [stdout] --> inject/src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, OsStr}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | os::unix::{ffi::OsStrExt, net::UnixStream}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | path::PathBuf, [INFO] [stdout] 26 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking object v0.16.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ruskcov v0.1.0 (/opt/rustwide/workdir/ruskcov) [INFO] [stdout] warning: unused imports: `BreakpointInst` and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deref`, `Index`, `Range`, `borrow::Borrow`, `iter`, `process::CommandExt`, and `self` [INFO] [stdout] --> ruskcov/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | ops::{Deref, Index, Range}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 18 | os::unix::{ffi::OsStrExt, net::UnixListener, process::CommandExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectInfo`, `SOCKET_ENV`, `SetBreakpointsReq`, and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/srcloc.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BreakpointInst` and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::ptrace` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use nix::sys::ptrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deref`, `Index`, `Range`, `borrow::Borrow`, `iter`, `process::CommandExt`, and `self` [INFO] [stdout] --> ruskcov/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | ops::{Deref, Index, Range}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 18 | os::unix::{ffi::OsStrExt, net::UnixListener, process::CommandExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectInfo`, `SOCKET_ENV`, `SetBreakpointsReq`, and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/srcloc.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::ptrace` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use nix::sys::ptrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(v: VoidReg) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(v: VoidReg) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> ruskcov/src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let state = state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredumped` [INFO] [stdout] --> ruskcov/src/main.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredumped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> ruskcov/src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let state = state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:351:38 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | PtraceSyscall(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | Continued(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredumped` [INFO] [stdout] --> ruskcov/src/main.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredumped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:351:38 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | PtraceSyscall(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | Continued(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ruskcov/src/main.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let mut state = Arc::new(Mutex::new(State::new(child))); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ruskcov/src/main.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let mut state = Arc::new(Mutex::new(State::new(child))); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `tracees` are never read [INFO] [stdout] --> ruskcov/src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | primary: Child, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | tracees: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_child` is never used [INFO] [stdout] --> ruskcov/src/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_child(&mut self, child: &Child) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes` and `subslice_from_slice` are never used [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MappedSlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn subslice_from_slice(&self, slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressSpace` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AddressSpace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Process` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessState` is never used [INFO] [stdout] --> ruskcov/src/process.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ProcessState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_thread`, and `exec` are never used [INFO] [stdout] --> ruskcov/src/process.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new_thread(&self, pid: Pid) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn exec(&mut self, segments: impl IntoIterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `tracees` are never read [INFO] [stdout] --> ruskcov/src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | primary: Child, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | tracees: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit_ranges` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Context> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub unit_ranges: Vec<(gimli::Range, usize)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_child` is never used [INFO] [stdout] --> ruskcov/src/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_child(&mut self, child: &Child) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Context> { [INFO] [stdout] | -------------------------------------------------------- associated function in this implementation [INFO] [stdout] 36 | /// Copy debug sections from the object file and manage them with Rc. [INFO] [stdout] 37 | pub fn new_rc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes` and `subslice_from_slice` are never used [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MappedSlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn subslice_from_slice(&self, slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_arc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Context> { [INFO] [stdout] | --------------------------------------------------------- associated function in this implementation [INFO] [stdout] 85 | /// Copy debug sections from the object file and manage them with Arc. [INFO] [stdout] 86 | pub fn new_arc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressSpace` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AddressSpace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unit`, `find_location`, `find_frames`, `parse_lines`, and `parse_functions` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl Context { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn find_unit(&self, probe: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn find_location(&self, probe: u64) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn find_frames(&self, probe: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn parse_lines(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn parse_functions(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Process` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessState` is never used [INFO] [stdout] --> ruskcov/src/process.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ProcessState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequences` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct Lines { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 378 | files: Vec, [INFO] [stdout] 379 | sequences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_thread`, and `exec` are never used [INFO] [stdout] --> ruskcov/src/process.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new_thread(&self, pid: Pid) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn exec(&mut self, segments: impl IntoIterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `rows` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct LineSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 383 | start: u64, [INFO] [stdout] 384 | end: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 385 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit_ranges` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Context> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub unit_ranges: Vec<(gimli::Range, usize)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct Func { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 396 | entry_off: gimli::UnitOffset, [INFO] [stdout] 397 | depth: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct ResUnit [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | funcs: LazyCell>, Error>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Context> { [INFO] [stdout] | -------------------------------------------------------- associated function in this implementation [INFO] [stdout] 36 | /// Copy debug sections from the object file and manage them with Rc. [INFO] [stdout] 37 | pub fn new_rc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_functions` and `find_location` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 410 | / impl ResUnit [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | R: gimli::Reader, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn parse_functions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn find_location( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `location` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 758 | pub struct Frame<'ctx, R: gimli::Reader> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 759 | /// The name of the function. [INFO] [stdout] 760 | pub function: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 761 | /// The source location corresponding to this frame. [INFO] [stdout] 762 | pub location: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_arc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Context> { [INFO] [stdout] | --------------------------------------------------------- associated function in this implementation [INFO] [stdout] 85 | /// Copy debug sections from the object file and manage them with Arc. [INFO] [stdout] 86 | pub fn new_arc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `language` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct FunctionName { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 767 | /// The name of the function. [INFO] [stdout] 768 | pub name: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] 769 | /// The language of the compilation unit containing this function. [INFO] [stdout] 770 | pub language: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unit`, `find_location`, `find_frames`, `parse_lines`, and `parse_functions` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl Context { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn find_unit(&self, probe: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn find_location(&self, probe: u64) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn find_frames(&self, probe: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn parse_lines(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn parse_functions(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw_name` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 773 | impl FunctionName { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 774 | /// The raw name of this function before demangling. [INFO] [stdout] 775 | pub fn raw_name(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequences` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct Lines { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 378 | files: Vec, [INFO] [stdout] 379 | sequences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file`, `line`, and `column` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct Location<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 782 | /// The file name. [INFO] [stdout] 783 | pub file: Option<&'a str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 784 | /// The line number. [INFO] [stdout] 785 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 786 | /// The column number. [INFO] [stdout] 787 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NT_PRFPREG` is never used [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NT_PRFPREG: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `rows` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct LineSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 383 | start: u64, [INFO] [stdout] 384 | end: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 385 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct Func { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 396 | entry_off: gimli::UnitOffset, [INFO] [stdout] 397 | depth: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct ResUnit [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | funcs: LazyCell>, Error>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_functions` and `find_location` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 410 | / impl ResUnit [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | R: gimli::Reader, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn parse_functions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn find_location( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `location` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 758 | pub struct Frame<'ctx, R: gimli::Reader> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 759 | /// The name of the function. [INFO] [stdout] 760 | pub function: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 761 | /// The source location corresponding to this frame. [INFO] [stdout] 762 | pub location: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `language` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct FunctionName { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 767 | /// The name of the function. [INFO] [stdout] 768 | pub name: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] 769 | /// The language of the compilation unit containing this function. [INFO] [stdout] 770 | pub language: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw_name` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 773 | impl FunctionName { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 774 | /// The raw name of this function before demangling. [INFO] [stdout] 775 | pub fn raw_name(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file`, `line`, and `column` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct Location<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 782 | /// The file name. [INFO] [stdout] 783 | pub file: Option<&'a str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 784 | /// The line number. [INFO] [stdout] 785 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 786 | /// The column number. [INFO] [stdout] 787 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NT_PRFPREG` is never used [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NT_PRFPREG: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.43s [INFO] running `Command { std: "docker" "inspect" "49358da2a3a5d73942015b673cb5d41278f4000de2af0bdb4935c07297d88c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49358da2a3a5d73942015b673cb5d41278f4000de2af0bdb4935c07297d88c5c", kill_on_drop: false }` [INFO] [stdout] 49358da2a3a5d73942015b673cb5d41278f4000de2af0bdb4935c07297d88c5c [INFO] checking jsgf/ruskcov against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsgf%2Fruskcov" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jsgf/ruskcov on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jsgf/ruskcov [INFO] finished tweaking git repo https://github.com/jsgf/ruskcov [INFO] tweaked toml for git repo https://github.com/jsgf/ruskcov written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jsgf/ruskcov 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86060df3a94de8d10f7c42a850af05ab3b6a17f026c7d4fc4555031376e7f330 [INFO] running `Command { std: "docker" "start" "-a" "86060df3a94de8d10f7c42a850af05ab3b6a17f026c7d4fc4555031376e7f330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86060df3a94de8d10f7c42a850af05ab3b6a17f026c7d4fc4555031376e7f330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86060df3a94de8d10f7c42a850af05ab3b6a17f026c7d4fc4555031376e7f330", kill_on_drop: false }` [INFO] [stdout] 86060df3a94de8d10f7c42a850af05ab3b6a17f026c7d4fc4555031376e7f330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5a2b74d113b7642b2a49c2c1d232dfbfab3217589561722e664afb666af9432 [INFO] running `Command { std: "docker" "start" "-a" "d5a2b74d113b7642b2a49c2c1d232dfbfab3217589561722e664afb666af9432", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling nix v0.16.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tinyset v0.3.5 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking intervaltree v0.2.4 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking gimli v0.19.0 [INFO] [stderr] Compiling ruskcov-inject v0.1.0 (/opt/rustwide/workdir/inject) [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking findshlibs v0.6.0 (https://github.com/gimli-rs/findshlibs.git#760f122b) [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking state v0.4.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.4 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking internment v0.3.10 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling ctor v0.1.12 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking goblin v0.1.2 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking inject-types v0.1.0 (/opt/rustwide/workdir/inject-types) [INFO] [stdout] warning: unused imports: `SIGSTOP` and `raise` [INFO] [stdout] --> inject/src/lib.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_char, c_int, c_void, dlsym, raise, size_t, RTLD_NEXT, SIGSTOP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `OsStr`, `ffi::OsStrExt`, and `slice` [INFO] [stdout] --> inject/src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, OsStr}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | os::unix::{ffi::OsStrExt, net::UnixStream}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | path::PathBuf, [INFO] [stdout] 26 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SIGSTOP` and `raise` [INFO] [stdout] --> inject/src/lib.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_char, c_int, c_void, dlsym, raise, size_t, RTLD_NEXT, SIGSTOP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `OsStr`, `ffi::OsStrExt`, and `slice` [INFO] [stdout] --> inject/src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, OsStr}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | os::unix::{ffi::OsStrExt, net::UnixStream}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | path::PathBuf, [INFO] [stdout] 26 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking object v0.16.0 [INFO] [stderr] Checking ruskcov v0.1.0 (/opt/rustwide/workdir/ruskcov) [INFO] [stdout] warning: unused imports: `BreakpointInst` and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deref`, `Index`, `Range`, `borrow::Borrow`, `iter`, `process::CommandExt`, and `self` [INFO] [stdout] --> ruskcov/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | ops::{Deref, Index, Range}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 18 | os::unix::{ffi::OsStrExt, net::UnixListener, process::CommandExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectInfo`, `SOCKET_ENV`, `SetBreakpointsReq`, and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/srcloc.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::ptrace` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use nix::sys::ptrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BreakpointInst` and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deref`, `Index`, `Range`, `borrow::Borrow`, `iter`, `process::CommandExt`, and `self` [INFO] [stdout] --> ruskcov/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | ops::{Deref, Index, Range}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 18 | os::unix::{ffi::OsStrExt, net::UnixListener, process::CommandExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectInfo`, `SOCKET_ENV`, `SetBreakpointsReq`, and `SetBreakpointsResp` [INFO] [stdout] --> ruskcov/src/srcloc.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use inject_types::{BreakpointInst, ObjectInfo, SetBreakpointsReq, SetBreakpointsResp, SOCKET_ENV}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::ptrace` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use nix::sys::ptrace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(v: VoidReg) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(v: VoidReg) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> ruskcov/src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let state = state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredumped` [INFO] [stdout] --> ruskcov/src/main.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredumped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:351:38 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | PtraceSyscall(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | Continued(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> ruskcov/src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let state = state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredumped` [INFO] [stdout] --> ruskcov/src/main.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | Signaled(pid, sig, coredumped) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredumped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ruskcov/src/main.rs:351:38 [INFO] [stdout] | [INFO] [stdout] 351 | PtraceEvent(pid, sig, event) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | PtraceSyscall(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> ruskcov/src/main.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | Continued(pid) => unimplemented!("{:?}", status), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ruskcov/src/main.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let mut state = Arc::new(Mutex::new(State::new(child))); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `tracees` are never read [INFO] [stdout] --> ruskcov/src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | primary: Child, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | tracees: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_child` is never used [INFO] [stdout] --> ruskcov/src/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_child(&mut self, child: &Child) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes` and `subslice_from_slice` are never used [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MappedSlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn subslice_from_slice(&self, slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressSpace` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AddressSpace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Process` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessState` is never used [INFO] [stdout] --> ruskcov/src/process.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ProcessState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_thread`, and `exec` are never used [INFO] [stdout] --> ruskcov/src/process.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new_thread(&self, pid: Pid) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn exec(&mut self, segments: impl IntoIterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit_ranges` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Context> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub unit_ranges: Vec<(gimli::Range, usize)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Context> { [INFO] [stdout] | -------------------------------------------------------- associated function in this implementation [INFO] [stdout] 36 | /// Copy debug sections from the object file and manage them with Rc. [INFO] [stdout] 37 | pub fn new_rc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_arc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Context> { [INFO] [stdout] | --------------------------------------------------------- associated function in this implementation [INFO] [stdout] 85 | /// Copy debug sections from the object file and manage them with Arc. [INFO] [stdout] 86 | pub fn new_arc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unit`, `find_location`, `find_frames`, `parse_lines`, and `parse_functions` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl Context { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn find_unit(&self, probe: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn find_location(&self, probe: u64) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn find_frames(&self, probe: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn parse_lines(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn parse_functions(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequences` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct Lines { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 378 | files: Vec, [INFO] [stdout] 379 | sequences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `rows` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct LineSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 383 | start: u64, [INFO] [stdout] 384 | end: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 385 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct Func { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 396 | entry_off: gimli::UnitOffset, [INFO] [stdout] 397 | depth: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct ResUnit [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | funcs: LazyCell>, Error>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_functions` and `find_location` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 410 | / impl ResUnit [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | R: gimli::Reader, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn parse_functions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn find_location( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `location` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 758 | pub struct Frame<'ctx, R: gimli::Reader> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 759 | /// The name of the function. [INFO] [stdout] 760 | pub function: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 761 | /// The source location corresponding to this frame. [INFO] [stdout] 762 | pub location: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `language` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct FunctionName { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 767 | /// The name of the function. [INFO] [stdout] 768 | pub name: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] 769 | /// The language of the compilation unit containing this function. [INFO] [stdout] 770 | pub language: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw_name` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 773 | impl FunctionName { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 774 | /// The raw name of this function before demangling. [INFO] [stdout] 775 | pub fn raw_name(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file`, `line`, and `column` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct Location<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 782 | /// The file name. [INFO] [stdout] 783 | pub file: Option<&'a str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 784 | /// The line number. [INFO] [stdout] 785 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 786 | /// The column number. [INFO] [stdout] 787 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NT_PRFPREG` is never used [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NT_PRFPREG: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ruskcov/src/main.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let mut state = Arc::new(Mutex::new(State::new(child))); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 100 | let map = { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let file = File::open(path).context("Failed to open object")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let objfile = object::File::parse(&*map) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let linkobj; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let linkmap; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let mut file = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | if let Ok(f) = File::open(&path) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | if let Some(file) = file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(obj) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | symtab::Context::new_from_mapping(mapping, objfile).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(file: File) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let map = unsafe { memmap::Mmap::map(&file)? }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | Ok(MappedSlice { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | start: 0, [INFO] [stdout] 22 | | end: map.len(), [INFO] [stdout] 23 | | mapping: Arc::new(map), [INFO] [stdout] 24 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn subslice(&self, range: R) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | mapping: self.mapping.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/process.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 48 | segments: impl IntoIterator, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | breakpoints: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | addrspace: Arc::new(addrspace), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 157 | let mapping = if let Some((offset, size)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | S::from(gimli::EndianReader::new(mapping, endian)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 198 | debug_abbrev: gimli::DebugAbbrev, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | debug_addr: gimli::DebugAddr, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | debug_info: gimli::DebugInfo, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | debug_line: gimli::DebugLine, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | debug_line_str: gimli::DebugLineStr, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | debug_ranges: gimli::DebugRanges, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | debug_rnglists: gimli::DebugRngLists, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | debug_str: gimli::DebugStr, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | debug_str_offsets: gimli::DebugStrOffsets, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | default_section: R, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | ) -> Result { [INFO] [stdout] 209 | Self::from_dwarf(gimli::Dwarf { [INFO] [stdout] | __________________________^ [INFO] [stdout] 210 | | debug_abbrev, [INFO] [stdout] 211 | | debug_addr, [INFO] [stdout] 212 | | debug_info, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ranges: gimli::RangeLists::new(debug_ranges, debug_rnglists), [INFO] [stdout] 224 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn from_dwarf(sections: gimli::Dwarf) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let mut unit_ranges = Vec::new(); [INFO] [stdout] 230 | let mut res_units = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | let mut units = sections.units(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | Ok(Context { [INFO] [stdout] | ____________^ [INFO] [stdout] 289 | | units: res_units, [INFO] [stdout] 290 | | unit_ranges, [INFO] [stdout] 291 | | sections, [INFO] [stdout] 292 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 336 | let (unit_id, loc, funcs) = match self.find_unit(probe) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let mut res: SmallVec<[_; 16]> = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | Ok(FrameIter { [INFO] [stdout] | ____________^ [INFO] [stdout] 350 | | unit_id, [INFO] [stdout] 351 | | units: &self.units, [INFO] [stdout] 352 | | sections: &self.sections, [INFO] [stdout] 353 | | funcs: funcs.into_iter(), [INFO] [stdout] 354 | | next: loc, [INFO] [stdout] 355 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `tracees` are never read [INFO] [stdout] --> ruskcov/src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | primary: Child, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | tracees: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_child` is never used [INFO] [stdout] --> ruskcov/src/main.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_child(&mut self, child: &Child) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes` and `subslice_from_slice` are never used [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MappedSlice { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn subslice_from_slice(&self, slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressSpace` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AddressSpace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:670:8 [INFO] [stdout] | [INFO] [stdout] 637 | let next = entry [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Process` is never constructed [INFO] [stdout] --> ruskcov/src/process.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessState` is never used [INFO] [stdout] --> ruskcov/src/process.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ProcessState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_thread`, and `exec` are never used [INFO] [stdout] --> ruskcov/src/process.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new_thread(&self, pid: Pid) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn exec(&mut self, segments: impl IntoIterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit_ranges` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Context> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub unit_ranges: Vec<(gimli::Range, usize)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 704 | let mut cursor = unit.dw_unit.entries_at_offset(func.entry_off)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 710 | let name = name_attr(entry, unit, self.sections, self.units, 16)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 734 | Ok(Some(Frame { [INFO] [stdout] | ____________^ [INFO] [stdout] 735 | | function: name.map(|name| FunctionName { [INFO] [stdout] 736 | | name, [INFO] [stdout] 737 | | language: unit.lang, [INFO] [stdout] 738 | | }), [INFO] [stdout] 739 | | location: loc, [INFO] [stdout] 740 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Context> { [INFO] [stdout] | -------------------------------------------------------- associated function in this implementation [INFO] [stdout] 36 | /// Copy debug sections from the object file and manage them with Rc. [INFO] [stdout] 37 | pub fn new_rc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_arc` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Context> { [INFO] [stdout] | --------------------------------------------------------- associated function in this implementation [INFO] [stdout] 85 | /// Copy debug sections from the object file and manage them with Arc. [INFO] [stdout] 86 | pub fn new_arc<'data, 'file, O: object::Object<'data, 'file>>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unit`, `find_location`, `find_frames`, `parse_lines`, and `parse_functions` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl Context { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn find_unit(&self, probe: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn find_location(&self, probe: u64) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn find_frames(&self, probe: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn parse_lines(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn parse_functions(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequences` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct Lines { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 378 | files: Vec, [INFO] [stdout] 379 | sequences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `rows` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct LineSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 383 | start: u64, [INFO] [stdout] 384 | end: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 385 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 395 | struct Func { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 396 | entry_off: gimli::UnitOffset, [INFO] [stdout] 397 | depth: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> ruskcov/src/symtab.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 400 | struct ResUnit [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | funcs: LazyCell>, Error>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_functions` and `find_location` are never used [INFO] [stdout] --> ruskcov/src/symtab.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 410 | / impl ResUnit [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | R: gimli::Reader, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn parse_functions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn find_location( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `location` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 758 | pub struct Frame<'ctx, R: gimli::Reader> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 759 | /// The name of the function. [INFO] [stdout] 760 | pub function: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 761 | /// The source location corresponding to this frame. [INFO] [stdout] 762 | pub location: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `language` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct FunctionName { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 767 | /// The name of the function. [INFO] [stdout] 768 | pub name: R, [INFO] [stdout] | ^^^^ [INFO] [stdout] 769 | /// The language of the compilation unit containing this function. [INFO] [stdout] 770 | pub language: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw_name` is never used [INFO] [stdout] --> ruskcov/src/symtab.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 773 | impl FunctionName { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 774 | /// The raw name of this function before demangling. [INFO] [stdout] 775 | pub fn raw_name(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file`, `line`, and `column` are never read [INFO] [stdout] --> ruskcov/src/symtab.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct Location<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 782 | /// The file name. [INFO] [stdout] 783 | pub file: Option<&'a str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 784 | /// The line number. [INFO] [stdout] 785 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 786 | /// The column number. [INFO] [stdout] 787 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NT_PRFPREG` is never used [INFO] [stdout] --> ruskcov/src/ptrace_x86.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NT_PRFPREG: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 100 | let map = { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let file = File::open(path).context("Failed to open object")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let objfile = object::File::parse(&*map) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let linkobj; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let linkmap; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let mut file = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | if let Ok(f) = File::open(&path) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | if let Some(file) = file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(obj) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | symtab::Context::new_from_mapping(mapping, objfile).map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(file: File) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let map = unsafe { memmap::Mmap::map(&file)? }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | Ok(MappedSlice { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | start: 0, [INFO] [stdout] 22 | | end: map.len(), [INFO] [stdout] 23 | | mapping: Arc::new(map), [INFO] [stdout] 24 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/mapped_slice.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn subslice(&self, range: R) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | mapping: self.mapping.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/process.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 48 | segments: impl IntoIterator, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | breakpoints: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | addrspace: Arc::new(addrspace), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 157 | let mapping = if let Some((offset, size)) = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | S::from(gimli::EndianReader::new(mapping, endian)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 198 | debug_abbrev: gimli::DebugAbbrev, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | debug_addr: gimli::DebugAddr, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | debug_info: gimli::DebugInfo, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | debug_line: gimli::DebugLine, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | debug_line_str: gimli::DebugLineStr, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | debug_ranges: gimli::DebugRanges, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | debug_rnglists: gimli::DebugRngLists, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | debug_str: gimli::DebugStr, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | debug_str_offsets: gimli::DebugStrOffsets, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | default_section: R, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | ) -> Result { [INFO] [stdout] 209 | Self::from_dwarf(gimli::Dwarf { [INFO] [stdout] | __________________________^ [INFO] [stdout] 210 | | debug_abbrev, [INFO] [stdout] 211 | | debug_addr, [INFO] [stdout] 212 | | debug_info, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ranges: gimli::RangeLists::new(debug_ranges, debug_rnglists), [INFO] [stdout] 224 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn from_dwarf(sections: gimli::Dwarf) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let mut unit_ranges = Vec::new(); [INFO] [stdout] 230 | let mut res_units = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | let mut units = sections.units(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | Ok(Context { [INFO] [stdout] | ____________^ [INFO] [stdout] 289 | | units: res_units, [INFO] [stdout] 290 | | unit_ranges, [INFO] [stdout] 291 | | sections, [INFO] [stdout] 292 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 336 | let (unit_id, loc, funcs) = match self.find_unit(probe) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let mut res: SmallVec<[_; 16]> = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | Ok(FrameIter { [INFO] [stdout] | ____________^ [INFO] [stdout] 350 | | unit_id, [INFO] [stdout] 351 | | units: &self.units, [INFO] [stdout] 352 | | sections: &self.sections, [INFO] [stdout] 353 | | funcs: funcs.into_iter(), [INFO] [stdout] 354 | | next: loc, [INFO] [stdout] 355 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:670:8 [INFO] [stdout] | [INFO] [stdout] 637 | let next = entry [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ruskcov/src/symtab.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 704 | let mut cursor = unit.dw_unit.entries_at_offset(func.entry_off)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 710 | let name = name_attr(entry, unit, self.sections, self.units, 16)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 734 | Ok(Some(Frame { [INFO] [stdout] | ____________^ [INFO] [stdout] 735 | | function: name.map(|name| FunctionName { [INFO] [stdout] 736 | | name, [INFO] [stdout] 737 | | language: unit.lang, [INFO] [stdout] 738 | | }), [INFO] [stdout] 739 | | location: loc, [INFO] [stdout] 740 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruskcov` (bin "ruskcov") due to 11 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ruskcov` (bin "ruskcov" test) due to 11 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5a2b74d113b7642b2a49c2c1d232dfbfab3217589561722e664afb666af9432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a2b74d113b7642b2a49c2c1d232dfbfab3217589561722e664afb666af9432", kill_on_drop: false }` [INFO] [stdout] d5a2b74d113b7642b2a49c2c1d232dfbfab3217589561722e664afb666af9432