"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^TestDirRename$'" - Starting (try 3/5)
2025/03/22 01:34:39 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-nolacic4dubo"
2025/03/22 01:34:39 DEBUG : Using config file from "/home/rclone/.rclone.conf"
2025/03/22 01:34:39 DEBUG : proton drive root link ID 'rclone-test-nolacic4dubo': Has cached credentials
2025/03/22 01:34:41 DEBUG : proton drive root link ID 'rclone-test-nolacic4dubo': Used cached credential to initialize the ProtonDrive API
2025/03/22 01:34:41 DEBUG : Creating backend with remote "/tmp/rclone3616059383"
=== RUN   TestDirRename
    run.go:180: Remote "proton drive root link ID 'rclone-test-nolacic4dubo'", Local "Local file system at /tmp/rclone3616059383", Modify Window "1s"
2025/03/22 01:34:41 INFO  : proton drive root link ID 'rclone-test-nolacic4dubo': poll-interval is not supported by this remote
2025/03/22 01:34:41 NOTICE: proton drive root link ID 'rclone-test-nolacic4dubo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2025/03/22 01:34:49 ERROR : dir/not found: Dir.Rename error: file does not exist
2025/03/22 01:34:50.440968 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/T6AOEV5mXdjjujP085dkWVlKFeS26XzW_Y4n5j2bbEyKsBM7BHWQ8ADL63X_IIwSHm4-TuEdVh7g4MhlaVR5nA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1
2025/03/22 01:34:50.440992 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/T6AOEV5mXdjjujP085dkWVlKFeS26XzW_Y4n5j2bbEyKsBM7BHWQ8ADL63X_IIwSHm4-TuEdVh7g4MhlaVR5nA==/move: This value should not be blank. (Code=2000, Status=400)
2025/03/22 01:34:50 ERROR : dir: Dir.Rename error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/T6AOEV5mXdjjujP085dkWVlKFeS26XzW_Y4n5j2bbEyKsBM7BHWQ8ADL63X_IIwSHm4-TuEdVh7g4MhlaVR5nA==/move: This value should not be blank. (Code=2000, Status=400)
    dir_test.go:537: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:537
        	Error:      	Received unexpected error:
        	            	400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/T6AOEV5mXdjjujP085dkWVlKFeS26XzW_Y4n5j2bbEyKsBM7BHWQ8ADL63X_IIwSHm4-TuEdVh7g4MhlaVR5nA==/move: This value should not be blank. (Code=2000, Status=400)
        	Test:       	TestDirRename
    dir_test.go:249: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:249
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:538
        	Error:      	Not equal: 
        	            	expected: []string{"dir2,0,true"}
        	            	actual  : []string{"dir,0,true"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,3 +1,3 @@
        	            	 ([]string) (len=1) {
        	            	- (string) (len=11) "dir2,0,true"
        	            	+ (string) (len=10) "dir,0,true"
        	            	 }
        	Test:       	TestDirRename
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:295: Flushing the directory cache
    fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3
    fstest.go:295: Flushing the directory cache
    fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3
    fstest.go:295: Flushing the directory cache
    fstest.go:299: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:544
        	Error:      	Should be true
        	Test:       	TestDirRename
        	Messages:   	listing wrong, want
        	            	  dir2/file1 (14), dir2/file3 (15) got
        	            	  dir/file1 (14), dir/file3 (15)
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:544
        	Error:      	Should be true
        	Test:       	TestDirRename
        	Messages:   	Unexpected file "dir/file1"
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:544
        	Error:      	Should be true
        	Test:       	TestDirRename
        	Messages:   	Unexpected file "dir/file3"
    fstest.go:197: Not found "dir2/file3"
    fstest.go:197: Not found "dir2/file1"
    fstest.go:200: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:200
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:304
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:544
        	Error:      	Not equal: 
        	            	expected: 0
        	            	actual  : 2
        	Test:       	TestDirRename
        	Messages:   	2 objects not found
    fstest.go:321: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:544
        	Error:      	Not equal: 
        	            	expected: []string{"dir2"}
        	            	actual  : []string{"dir"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,3 +1,3 @@
        	            	 ([]string) (len=1) {
        	            	- (string) (len=4) "dir2"
        	            	+ (string) (len=3) "dir"
        	            	 }
        	Test:       	TestDirRename
        	Messages:   	directories
    dir_test.go:548: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:548
        	Error:      	Received unexpected error:
        	            	file does not exist
        	Test:       	TestDirRename
2025/03/22 01:36:54 DEBUG : WaitForWriters: timeout=30s
2025/03/22 01:36:54 DEBUG : dir: Looking for writers
2025/03/22 01:36:54 DEBUG : file1: reading active writers
2025/03/22 01:36:54 DEBUG : file3: reading active writers
2025/03/22 01:36:54 DEBUG : : Looking for writers
2025/03/22 01:36:54 DEBUG : dir: reading active writers
2025/03/22 01:36:54 DEBUG : >WaitForWriters: 
--- FAIL: TestDirRename (191.37s)
panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered]
	panic: interface conversion: vfs.Node is nil, not *vfs.Dir

goroutine 77 [running]:
testing.tRunner.func1.2({0x2241c80, 0xc0009f5ec0})
	/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1632 +0x230
testing.tRunner.func1()
	/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1635 +0x35e
panic({0x2241c80?, 0xc0009f5ec0?})
	/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:785 +0x132
github.com/rclone/rclone/vfs.TestDirRename(0xc000415ba0)
	/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:549 +0x10d1
testing.tRunner(0xc000415ba0, 0x27f0f98)
	/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0xf4
created by testing.(*T).Run in goroutine 1
	/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x390
"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^TestDirRename$'" - Finished ERROR in 3m13.332296991s (try 3/5): exit status 2: Failed [TestDirRename]