[INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] fatal: error closing file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf/packed-refs.new: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/vivainio/rraf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/rraf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adce84d3cbcfad1dc0b2d8c3835e63f86eb8cdf0 [INFO] checking vivainio/rraf against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf" "/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/vivainio/rraf on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivainio/rraf [INFO] finished tweaking git repo https://github.com/vivainio/rraf [INFO] tweaked toml for git repo https://github.com/vivainio/rraf written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vivainio/rraf 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" "+af54b6062f33b99e418444700f3a823ef0214052" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427a12f469a30d2ca0da0e4cf7dbf635cf86a6c0dca6eb15e986a3f69181a57a [INFO] running `Command { std: "docker" "start" "-a" "427a12f469a30d2ca0da0e4cf7dbf635cf86a6c0dca6eb15e986a3f69181a57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427a12f469a30d2ca0da0e4cf7dbf635cf86a6c0dca6eb15e986a3f69181a57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427a12f469a30d2ca0da0e4cf7dbf635cf86a6c0dca6eb15e986a3f69181a57a", kill_on_drop: false }` [INFO] [stdout] 427a12f469a30d2ca0da0e4cf7dbf635cf86a6c0dca6eb15e986a3f69181a57a [INFO] checking vivainio/rraf against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Frraf" "/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/vivainio/rraf on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivainio/rraf [INFO] finished tweaking git repo https://github.com/vivainio/rraf [INFO] tweaked toml for git repo https://github.com/vivainio/rraf written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vivainio/rraf 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" "+af54b6062f33b99e418444700f3a823ef0214052" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd742b11b332a6281511fff235a0e91efdb6f1345c9933d04e3ff8dee263f15 [INFO] running `Command { std: "docker" "start" "-a" "2cd742b11b332a6281511fff235a0e91efdb6f1345c9933d04e3ff8dee263f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd742b11b332a6281511fff235a0e91efdb6f1345c9933d04e3ff8dee263f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd742b11b332a6281511fff235a0e91efdb6f1345c9933d04e3ff8dee263f15", kill_on_drop: false }` [INFO] [stdout] 2cd742b11b332a6281511fff235a0e91efdb6f1345c9933d04e3ff8dee263f15 [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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b433b8dd2e547013f77190b5a33fb519ebc8de6e3d926e9b613dac1e38eb903 [INFO] running `Command { std: "docker" "start" "-a" "8b433b8dd2e547013f77190b5a33fb519ebc8de6e3d926e9b613dac1e38eb903", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking getopts v0.2.19 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking rraf v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winhandle::get_handles` [INFO] [stdout] --> src/futil.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winhandle::get_handles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/futil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::temp_dir` [INFO] [stdout] --> src/futil.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env::temp_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/futil.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/gitcmd.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/gitcmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/gitcmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workdir` [INFO] [stdout] --> src/gitcmd.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn git_clean(workdir: &str) -> io::Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workdir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_path` is never read [INFO] [stdout] --> src/futil.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Trash { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | root_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winhandle::get_handles` [INFO] [stdout] --> src/futil.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winhandle::get_handles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/futil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::temp_dir` [INFO] [stdout] --> src/futil.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env::temp_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/futil.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/gitcmd.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/gitcmd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/gitcmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | env::set_current_dir(&workdir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = env::set_current_dir(&workdir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | hnd.wait(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = hnd.wait(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/futil.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let buf = path.to_str().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workdir` [INFO] [stdout] --> src/gitcmd.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn git_clean(workdir: &str) -> io::Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workdir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_path` is never read [INFO] [stdout] --> src/futil.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Trash { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 82 | root_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | env::set_current_dir(&workdir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = env::set_current_dir(&workdir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | hnd.wait(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = hnd.wait(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/futil.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let buf = path.to_str().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/futil.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | fs::create_dir(&td); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = fs::create_dir(&td); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/futil.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | t.move_path(td.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = t.move_path(td.as_path()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "8b433b8dd2e547013f77190b5a33fb519ebc8de6e3d926e9b613dac1e38eb903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b433b8dd2e547013f77190b5a33fb519ebc8de6e3d926e9b613dac1e38eb903", kill_on_drop: false }` [INFO] [stdout] 8b433b8dd2e547013f77190b5a33fb519ebc8de6e3d926e9b613dac1e38eb903