[INFO] fetching crate forensic-rs 0.13.1... [INFO] checking forensic-rs-0.13.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate forensic-rs 0.13.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate forensic-rs 0.13.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate forensic-rs 0.13.1 [INFO] tweaked toml for crates.io crate forensic-rs 0.13.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate forensic-rs 0.13.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding sqlite v0.28.1 (available: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlite v0.28.1 [INFO] [stderr] Downloaded sqlite3-sys v0.14.0 [INFO] [stderr] Downloaded sqlite3-src v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4155061c88cb7eaef095c04b0066551a8f6241ee46d6a90c5a2c314b8ab310b [INFO] running `Command { std: "docker" "start" "-a" "f4155061c88cb7eaef095c04b0066551a8f6241ee46d6a90c5a2c314b8ab310b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4155061c88cb7eaef095c04b0066551a8f6241ee46d6a90c5a2c314b8ab310b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4155061c88cb7eaef095c04b0066551a8f6241ee46d6a90c5a2c314b8ab310b", kill_on_drop: false }` [INFO] [stdout] f4155061c88cb7eaef095c04b0066551a8f6241ee46d6a90c5a2c314b8ab310b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e55e81a9d7f366b5f1afff768567a5dbb3aa34f28ae44c21bd9ece9c3e28453 [INFO] running `Command { std: "docker" "start" "-a" "1e55e81a9d7f366b5f1afff768567a5dbb3aa34f28ae44c21bd9ece9c3e28453", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking forensic-rs v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traits/vfs.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VPath(PathBuf); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinuxServiceVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | struct LinuxServiceVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowsArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct WindowsArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WinEvtVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | struct WinEvtVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistryArtifactsVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | struct RegistryArtifactsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherOsVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | struct OtherOsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinuxArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | struct LinuxArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacOsArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:566:8 [INFO] [stdout] | [INFO] [stdout] 566 | struct MacOsArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&mut Field> { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&'a mut Field> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&Text> { [INFO] [stdout] | ^^ this lifetime flows to the output ----- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&'a Text> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&Vec> { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 181 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&'a Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlite3-src v0.4.0 [INFO] [stderr] Checking sqlite3-sys v0.14.0 [INFO] [stderr] Checking sqlite v0.28.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `lib_build` [INFO] [stdout] --> tests/notifications.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(lib_build))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lib_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lib_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lib_build` [INFO] [stdout] --> tests/logging.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(lib_build))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lib_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lib_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traits/vfs.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VPath(PathBuf); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinuxServiceVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | struct LinuxServiceVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowsArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | struct WindowsArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WinEvtVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | struct WinEvtVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistryArtifactsVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | struct RegistryArtifactsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherOsVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | struct OtherOsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinuxArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | struct LinuxArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacOsArtifactVisitor` is never constructed [INFO] [stdout] --> src/artifact.rs:566:8 [INFO] [stdout] | [INFO] [stdout] 566 | struct MacOsArtifactVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&mut Field> { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&'a mut Field> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&Text> { [INFO] [stdout] | ^^ this lifetime flows to the output ----- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&'a Text> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&Vec> { [INFO] [stdout] | ^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 181 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&'a Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "1e55e81a9d7f366b5f1afff768567a5dbb3aa34f28ae44c21bd9ece9c3e28453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e55e81a9d7f366b5f1afff768567a5dbb3aa34f28ae44c21bd9ece9c3e28453", kill_on_drop: false }` [INFO] [stdout] 1e55e81a9d7f366b5f1afff768567a5dbb3aa34f28ae44c21bd9ece9c3e28453