[INFO] cloning repository https://github.com/shaunrd0/kot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunrd0/kot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunrd0%2Fkot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunrd0%2Fkot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a01ab6b532e058abbb8cc9b1821bbf259aa89894 [INFO] building shaunrd0/kot against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunrd0%2Fkot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaunrd0/kot on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaunrd0/kot [INFO] finished tweaking git repo https://github.com/shaunrd0/kot [INFO] tweaked toml for git repo https://github.com/shaunrd0/kot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shaunrd0/kot 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "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] building shaunrd0/kot against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunrd0%2Fkot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaunrd0/kot on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaunrd0/kot [INFO] finished tweaking git repo https://github.com/shaunrd0/kot [INFO] tweaked toml for git repo https://github.com/shaunrd0/kot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shaunrd0/kot 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49decb16310bf88c94749a74f563b2f353f34ac22ad126d1309c6be34b2ad4f6 [INFO] running `Command { std: "docker" "start" "-a" "49decb16310bf88c94749a74f563b2f353f34ac22ad126d1309c6be34b2ad4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49decb16310bf88c94749a74f563b2f353f34ac22ad126d1309c6be34b2ad4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49decb16310bf88c94749a74f563b2f353f34ac22ad126d1309c6be34b2ad4f6", kill_on_drop: false }` [INFO] [stdout] 49decb16310bf88c94749a74f563b2f353f34ac22ad126d1309c6be34b2ad4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc8c11574e659593d22d1cbb5cefd7598167997e8e55ea827127ceacf937232 [INFO] running `Command { std: "docker" "start" "-a" "6fc8c11574e659593d22d1cbb5cefd7598167997e8e55ea827127ceacf937232", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling kot v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `USER` not defined at compile time [INFO] [stdout] --> src/kot/kcli.rs:155:70 [INFO] [stdout] | [INFO] [stdout] 155 | &(env!("HOME").to_owned() + &"/.local/share/kot/dry-runs/" + env!("USER")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("USER")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/kot/kcli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kot::kfs::create_dir_all` [INFO] [stdout] --> src/kot/kcli.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::kot::kfs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/kot/kfs.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs_extra::dir` [INFO] [stdout] --> src/kot/kfs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use fs_extra::dir; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> src/kot/kgit.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kfs` [INFO] [stdout] --> src/kot/kgit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::kfs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kot::kfs::get_target_paths` [INFO] [stdout] --> src/kot.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::kot::kfs::get_target_paths; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/kot/kgit.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/kot/kcli.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | / return err!( [INFO] [stdout] 183 | | ErrorKind::ConfigError(format!("Backups already exist at: {:?}", &self.backup_dir)), [INFO] [stdout] 184 | | "Set the --force flag to overwrite configurations stored here".to_owned() [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/kot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(Error::new($type, $msg)) [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/kot/kfs.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / return err!( [INFO] [stdout] 92 | | ErrorKind::DirError(e.to_string()), [INFO] [stdout] 93 | | format!("Cannot move directory from {:?} to {:?}", src, dst) [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/kot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(Error::new($type, $msg)) [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/kot/kgit.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | / return [INFO] [stdout] 37 | | err!(ErrorKind::GitError(status.to_string()), [INFO] [stdout] 38 | | format!("Unable to clone repository")); [INFO] [stdout] | |_________________________________________________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/kot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(Error::new($type, $msg)) [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kot` (bin "kot") due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fc8c11574e659593d22d1cbb5cefd7598167997e8e55ea827127ceacf937232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc8c11574e659593d22d1cbb5cefd7598167997e8e55ea827127ceacf937232", kill_on_drop: false }` [INFO] [stdout] 6fc8c11574e659593d22d1cbb5cefd7598167997e8e55ea827127ceacf937232