[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/iamsauravsharma/cargo-cleaner [INFO] [stderr] 982b2c9..f87f342 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f87f342f2746943c54de011d8136531d46330076 [INFO] testing iamsauravsharma/cargo-cleaner against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsauravsharma%2Fcargo-cleaner" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamsauravsharma/cargo-cleaner on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-1/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63cb1203d14190ca51487981d62bb18527202ee5228f3317f137b39596c16fd5 [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" "63cb1203d14190ca51487981d62bb18527202ee5228f3317f137b39596c16fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63cb1203d14190ca51487981d62bb18527202ee5228f3317f137b39596c16fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63cb1203d14190ca51487981d62bb18527202ee5228f3317f137b39596c16fd5", kill_on_drop: false }` [INFO] [stdout] 63cb1203d14190ca51487981d62bb18527202ee5228f3317f137b39596c16fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0a9bb29fe2fce240a3f38391dbe3fe8eab62ca3211d08615a9be512109d2af0 [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" "c0a9bb29fe2fce240a3f38391dbe3fe8eab62ca3211d08615a9be512109d2af0", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling cargo-trim v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.28s [INFO] running `Command { std: "docker" "inspect" "c0a9bb29fe2fce240a3f38391dbe3fe8eab62ca3211d08615a9be512109d2af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a9bb29fe2fce240a3f38391dbe3fe8eab62ca3211d08615a9be512109d2af0", kill_on_drop: false }` [INFO] [stdout] c0a9bb29fe2fce240a3f38391dbe3fe8eab62ca3211d08615a9be512109d2af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f9eacf7256750df842b974e77987b1f6552df64ced95ce8aef983955711c692 [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" "8f9eacf7256750df842b974e77987b1f6552df64ced95ce8aef983955711c692", 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.84s [INFO] running `Command { std: "docker" "inspect" "8f9eacf7256750df842b974e77987b1f6552df64ced95ce8aef983955711c692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9eacf7256750df842b974e77987b1f6552df64ced95ce8aef983955711c692", kill_on_drop: false }` [INFO] [stdout] 8f9eacf7256750df842b974e77987b1f6552df64ced95ce8aef983955711c692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", 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] a9d765aff24c65a80cbcc3969d65f333427fb7d174e1ed20881f43fb1e2d4551 [INFO] running `Command { std: "docker" "start" "-a" "a9d765aff24c65a80cbcc3969d65f333427fb7d174e1ed20881f43fb1e2d4551", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cargo_trim-b5f9a481fcbb2dd0 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/command_output-b4f187f3ad92ce98 [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] [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] Finished dev [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running `/opt/rustwide/target/debug/cargo-trim trim help remove` [INFO] [stderr] Blocking waiting for file lock on build directory [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 to be removed [INFO] [stdout] -e, --exclude Remove crate from exclude [INFO] [stdout] -i, --include Remove crate from include [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test test_remove_help ... ok [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [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 Remove provided crates from registry or git [INFO] [stdout] -t, --top 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.23s [INFO] [stderr] Running `/opt/rustwide/target/debug/cargo-trim trim help list` [INFO] [stdout] cargo-trim-list 0.6.1 [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.31s [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 Remove provided crates from registry or git [INFO] [stdout] -t, --top Show certain number of top registry crates which have highest size [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test test_registry_help ... ok [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running `/opt/rustwide/target/debug/cargo-trim trim help` [INFO] [stdout] cargo-trim 0.6.1 [INFO] [stdout] Saurav Sharma [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] -e, --exclude 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 to reduce size of .cargo [possible values: all, index, git, git- [INFO] [stdout] checkout, git-db] [INFO] [stdout] -f, --ignore-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 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 Remove provided crates from registry or git [INFO] [stdout] -d, --directory Set directory of Rust project [use TRIM_DIRECTORY environment variable for [INFO] [stdout] creating directory list without editing conf file] [INFO] [stdout] -t, --top Show certain number of top crates which have highest size [INFO] [stdout] -w, --wipe 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.52s [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] [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" "a9d765aff24c65a80cbcc3969d65f333427fb7d174e1ed20881f43fb1e2d4551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d765aff24c65a80cbcc3969d65f333427fb7d174e1ed20881f43fb1e2d4551", kill_on_drop: false }` [INFO] [stdout] a9d765aff24c65a80cbcc3969d65f333427fb7d174e1ed20881f43fb1e2d4551