[INFO] cloning repository https://github.com/teddy-otieno/backuptool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teddy-otieno/backuptool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c0259b4a501aa393cdacf42914e454cc2c65d78 [INFO] checking teddy-otieno/backuptool against master#96df4943409564a187894018f15f795426dc2e1f for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool on toolchain 96df4943409564a187894018f15f795426dc2e1f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/teddy-otieno/backuptool 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" "+96df4943409564a187894018f15f795426dc2e1f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking teddy-otieno/backuptool against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/teddy-otieno/backuptool 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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking teddy-otieno/backuptool against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/teddy-otieno/backuptool 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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c37b3a039784a66ee667730355e148952128e905a11593830b3f90b5e4ac7d3 [INFO] running `Command { std: "docker" "start" "-a" "2c37b3a039784a66ee667730355e148952128e905a11593830b3f90b5e4ac7d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c37b3a039784a66ee667730355e148952128e905a11593830b3f90b5e4ac7d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c37b3a039784a66ee667730355e148952128e905a11593830b3f90b5e4ac7d3", kill_on_drop: false }` [INFO] [stdout] 2c37b3a039784a66ee667730355e148952128e905a11593830b3f90b5e4ac7d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a3f3416229a7a2cd2fef94872ea195bea52fbd75f8f211c192b018c30cae4d4 [INFO] running `Command { std: "docker" "start" "-a" "1a3f3416229a7a2cd2fef94872ea195bea52fbd75f8f211c192b018c30cae4d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking backuptool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Workspace`, `create_directories_for_extraction` [INFO] [stdout] --> src/core.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use super::{Workspace, create_directories_for_extraction}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_bytes` is never used [INFO] [stdout] --> src/core.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_path_to_relative` is never used [INFO] [stdout] --> src/core.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn convert_path_to_relative(parent_path: &String, absolute_path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crawl_directory_and_append_to_archive` is never used [INFO] [stdout] --> src/core.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn crawl_directory_and_append_to_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directories_for_extraction` is never used [INFO] [stdout] --> src/core.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_directories_for_extraction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Workspace` is never constructed [INFO] [stdout] --> src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Workspace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `archive`, and `unarchive` are never used [INFO] [stdout] --> src/core.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | impl Workspace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 107 | pub fn new(path: String, path_to_backup: String, extraction_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn archive(&self) -> ZipResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn unarchive(&self) -> ZipResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "1a3f3416229a7a2cd2fef94872ea195bea52fbd75f8f211c192b018c30cae4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3f3416229a7a2cd2fef94872ea195bea52fbd75f8f211c192b018c30cae4d4", kill_on_drop: false }` [INFO] [stdout] 1a3f3416229a7a2cd2fef94872ea195bea52fbd75f8f211c192b018c30cae4d4