[INFO] cloning repository https://github.com/iamsauravsharma/cargo-cleaner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamsauravsharma/cargo-cleaner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsauravsharma%2Fcargo-cleaner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsauravsharma%2Fcargo-cleaner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89fdb96104a3b5f1c8912e0bf7d1a67812eece47
[INFO] testing iamsauravsharma/cargo-cleaner against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsauravsharma%2Fcargo-cleaner" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/iamsauravsharma/cargo-cleaner on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/iamsauravsharma/cargo-cleaner
[INFO] finished tweaking git repo https://github.com/iamsauravsharma/cargo-cleaner
[INFO] tweaked toml for git repo https://github.com/iamsauravsharma/cargo-cleaner written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/iamsauravsharma/cargo-cleaner already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c059b1e07d347c18cea8ea165fbc9e52d8442769eb834d2b58a9170dec76d48b
[INFO] running `Command { std: "docker" "start" "-a" "c059b1e07d347c18cea8ea165fbc9e52d8442769eb834d2b58a9170dec76d48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c059b1e07d347c18cea8ea165fbc9e52d8442769eb834d2b58a9170dec76d48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c059b1e07d347c18cea8ea165fbc9e52d8442769eb834d2b58a9170dec76d48b", kill_on_drop: false }`
[INFO] [stdout] c059b1e07d347c18cea8ea165fbc9e52d8442769eb834d2b58a9170dec76d48b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4c8f349aaec5815cde41d100b7485d9735322265ec9de85f450d795a7ad0e66
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a4c8f349aaec5815cde41d100b7485d9735322265ec9de85f450d795a7ad0e66", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v0.10.0
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling dirs v3.0.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling cargo-trim v0.6.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 32.07s
[INFO] running `Command { std: "docker" "inspect" "a4c8f349aaec5815cde41d100b7485d9735322265ec9de85f450d795a7ad0e66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4c8f349aaec5815cde41d100b7485d9735322265ec9de85f450d795a7ad0e66", kill_on_drop: false }`
[INFO] [stdout] a4c8f349aaec5815cde41d100b7485d9735322265ec9de85f450d795a7ad0e66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f50942ec83b7c4a18893d7963b7817de9dbd375d815cadfa602db2395ef9c25f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f50942ec83b7c4a18893d7963b7817de9dbd375d815cadfa602db2395ef9c25f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo-trim v0.6.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.63s
[INFO] running `Command { std: "docker" "inspect" "f50942ec83b7c4a18893d7963b7817de9dbd375d815cadfa602db2395ef9c25f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f50942ec83b7c4a18893d7963b7817de9dbd375d815cadfa602db2395ef9c25f", kill_on_drop: false }`
[INFO] [stdout] f50942ec83b7c4a18893d7963b7817de9dbd375d815cadfa602db2395ef9c25f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fe10c50815a305ba033991c800efeee7687e5f619b57c7651b0634880d86cd1c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fe10c50815a305ba033991c800efeee7687e5f619b57c7651b0634880d86cd1c", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/cargo_trim-2b8b6b848cbe177b
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/command_output-37c63633f6479953
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help config`
[INFO] [stdout] cargo-trim-config 0.6.1
[INFO] [stdout] Query config file data
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim config [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -d, --directory           Query about directory data
[INFO] [stdout]     -e, --exclude             Query about exclude data
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -f, --ignore-file-name    Query about ignored file name data
[INFO] [stdout]     -i, --include             Query about include data
[INFO] [stdout]     -l, --location            Return config file location
[INFO] [stdout]     -p, --print               Print/Display config file content
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] test test_config_help ... ok
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help git`
[INFO] [stdout] cargo-trim-git 0.6.1
[INFO] [stdout] Perform operation only to git related cache file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim git [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all                 Clean up all .cargo/git follow config file data
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -l, --light               Light cleanup repos by removing git checkout but stores git db for future compilation
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query               Return size of different .cargo/git cache folders
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from git
[INFO] [stdout]     -t, --top <number>         Show certain number of top git crates which have highest size
[INFO] [stdout] test test_git_help ... ok
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.48s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help`
[INFO] [stdout] cargo-trim 0.6.1
[INFO] [stdout] Saurav Sharma <appdroiddeveloper@gmail.com>
[INFO] [stdout] Binary application to cleanup $CARGO_HOME cache
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim [FLAGS] [OPTIONS] [SUBCOMMAND]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all                 Clean up all .cargo/registry & .cargo/git follow config file data
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -l, --light               Light cleanup repos by removing git checkout and registry source but stores git db and
[INFO] [stdout]                               registry archive for future compilation without internet requirement
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query               Return size of different .cargo/cache folders
[INFO] [stdout]     -u, --update              Generate and Update Cargo.lock file present inside config directory folder path
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...           Set directory of Rust project [use TRIM_DIRECTORY environment variable for
[INFO] [stdout]                                              creating directory list without editing conf file]
[INFO] [stdout]     -e, --exclude <crate>...                 Add listed crates to default conf file exclude list [use TRIM_EXCLUDE
[INFO] [stdout]                                              environment variable for creating exclude list without editing conf file]
[INFO] [stdout]     -g, --gc <git compress>                  Git compress to reduce size of .cargo [possible values: all, index, git,
[INFO] [stdout]                                              git-checkout, git-db]
[INFO] [stdout]     -f, --ignore-file-name <file-name>...    Add file name/directory name to ignore list in conf file while scanning for
[INFO] [stdout]                                              Cargo.toml within given rust project directory
[INFO] [stdout]     -i, --include <crate>...                 Add listed crates to default conf file include list [use TRIM_INCLUDE
[INFO] [stdout]                                              environment variable for creating include list without editing conf file]
[INFO] [stdout]     -r, --remove <crate>...                  Remove provided crates from registry or git
[INFO] [stdout]     -t, --top <number>                       Show certain number of top crates which have highest size
[INFO] [stdout]     -w, --wipe <folder>...                   Wipe folder [possible values: git, checkouts, db, registry, cache, index,
[INFO] [stdout]                                              index-cache, src]
[INFO] [stdout] 
[INFO] [stdout] SUBCOMMANDS:
[INFO] [stdout]     clear       Clear current working directory from cargo cache config
[INFO] [stdout]     config      Query config file data
[INFO] [stdout]     git         Perform operation only to git related cache file
[INFO] [stdout]     help        Prints this message or the help of the given subcommand(s)
[INFO] [stdout]     init        Initialize current working directory as cargo trim directory
[INFO] [stdout]     list        List out crates
[INFO] [stdout]     registry    Perform operation only to registry related cache file
[INFO] [stdout]     remove      Remove values from config file
[INFO] [stdout] test test_help ... ok
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.54s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help remove`
[INFO] [stdout] cargo-trim-remove 0.6.1
[INFO] [stdout] Remove values from config file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim remove [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -n, --dry-run    Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help       Prints help information
[INFO] [stdout]     -V, --version    Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...           Directory to be removed
[INFO] [stdout]     -e, --exclude <crate>...                 Remove crate from exclude
[INFO] [stdout]     -f, --ignore-file-name <file-name>...    Remove file name from ignore file name list
[INFO] [stdout]     -i, --include <crate>...                 Remove crate from include
[INFO] [stdout] test test_remove_help ... ok
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.70s
[INFO] [stdout] cargo-trim-list 0.6.1
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help list`
[INFO] [stdout] List out crates
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim list [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           list out all installed crate
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -o, --old           List out old crates
[INFO] [stdout]     -z, --old-orphan    List out crates which is both old and orphan
[INFO] [stdout]     -x, --orphan        List out orphan crates
[INFO] [stdout]     -u, --use           List out used crates
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] test test_list_help ... ok
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.74s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help registry`
[INFO] [stdout] cargo-trim-registry 0.6.1
[INFO] [stdout] Perform operation only to registry related cache file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim registry [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all                 Clean up all .cargo/registry follow config file data
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -l, --light               Light cleanup repos by removing registry source but stores registry archive for future
[INFO] [stdout]                               compilation
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query               Return size of different .cargo/registry cache folders
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from registry
[INFO] [stdout]     -t, --top <number>         Show certain number of top registry crates which have highest size
[INFO] [stdout] test test_registry_help ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fe10c50815a305ba033991c800efeee7687e5f619b57c7651b0634880d86cd1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe10c50815a305ba033991c800efeee7687e5f619b57c7651b0634880d86cd1c", kill_on_drop: false }`
[INFO] [stdout] fe10c50815a305ba033991c800efeee7687e5f619b57c7651b0634880d86cd1c
