When I run prune after about an hour of “pruning” I get a stack trace. I am using rclone as a backend, so I suspect this is the issue, but I thought I should report it anyway:
/usr/bin/restic --repo rest:<repo> prune
repository 1ab49f08 opened successfully, password is correct
loading indexes...
loading all snapshots...
finding data that is still in use for 17 snapshots
[1:29] 100.00% 17 / 17 snapshots
searching used packs...
collecting packs for deletion and repacking
[1:22:45] 0.00% 0 / 6694496 packs processed
Get "<repo>": EOF
List
github.com/restic/restic/internal/backend/rest.(*Backend).List
github.com/restic/restic/internal/backend/rest/rest.go:411
github.com/restic/restic/internal/backend.(*RetryBackend).List.func1
github.com/restic/restic/internal/backend/backend_retry.go:137
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer
github.com/cenkalti/backoff/v4@v4.1.1/retry.go:55
github.com/cenkalti/backoff/v4.RetryNotify
github.com/cenkalti/backoff/v4@v4.1.1/retry.go:34
github.com/restic/restic/internal/backend.(*RetryBackend).retry
github.com/restic/restic/internal/backend/backend_retry.go:46
github.com/restic/restic/internal/backend.(*RetryBackend).List
github.com/restic/restic/internal/backend/backend_retry.go:136
github.com/restic/restic/internal/repository.(*Repository).List
github.com/restic/restic/internal/repository/repository.go:670
main.prune
github.com/restic/restic/cmd/restic/cmd_prune.go:312
main.runPruneWithRepo
github.com/restic/restic/cmd/restic/cmd_prune.go:173
main.runPrune
github.com/restic/restic/cmd/restic/cmd_prune.go:151
main.glob..func19
github.com/restic/restic/cmd/restic/cmd_prune.go:35
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.2.1/command.go:902
main.main
github.com/restic/restic/cmd/restic/main.go:98
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
Thanks.