@@ -129,10 +129,10 @@ fn publish() {
129
129
. masquerade_as_nightly_cargo ( & [ "credential-process" ] )
130
130
. with_stderr (
131
131
r#"[UPDATING] [..]
132
- {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read","args":[] }
132
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read"}
133
133
[PACKAGING] foo v0.1.0 [..]
134
134
[PACKAGED] [..]
135
- {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"publish","name":"foo","vers":"0.1.0","cksum":"[..]","args":[] }
135
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"publish","name":"foo","vers":"0.1.0","cksum":"[..]"}
136
136
[UPLOADING] foo v0.1.0 [..]
137
137
[UPLOADED] foo v0.1.0 [..]
138
138
note: Waiting [..]
@@ -217,7 +217,7 @@ fn logout() {
217
217
. masquerade_as_nightly_cargo ( & [ "credential-process" ] )
218
218
. replace_crates_io ( server. index_url ( ) )
219
219
. with_stderr (
220
- r#"{"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"logout","args":[] }
220
+ r#"{"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"logout"}
221
221
"# ,
222
222
)
223
223
. run ( ) ;
@@ -231,8 +231,8 @@ fn yank() {
231
231
. masquerade_as_nightly_cargo ( & [ "credential-process" ] )
232
232
. with_stderr (
233
233
r#"[UPDATING] [..]
234
- {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read","args":[] }
235
- {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"yank","name":"foo","vers":"0.1.0","args":[] }
234
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read"}
235
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"yank","name":"foo","vers":"0.1.0"}
236
236
237
237
"# ,
238
238
)
@@ -247,8 +247,8 @@ fn owner() {
247
247
. masquerade_as_nightly_cargo ( & [ "credential-process" ] )
248
248
. with_stderr (
249
249
r#"[UPDATING] [..]
250
- {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read","args":[] }
251
- {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"owners","name":"foo","args":[] }
250
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative","headers":[..]},"kind":"get","operation":"read"}
251
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"owners","name":"foo"}
252
252
[OWNER] completed!
253
253
"# ,
254
254
)
@@ -349,7 +349,7 @@ fn all_not_found() {
349
349
. with_stderr (
350
350
r#"[UPDATING] [..]
351
351
[CREDENTIAL] [..]not_found[..] get crates-io
352
- {"v":1,"registry":{"index-url":"[..]","name":"crates-io","headers":[[..]"WWW-Authenticate: Cargo login_url=\"https://test-registry-login/me\""[..]]},"kind":"get","operation":"read","args":[] }
352
+ {"v":1,"registry":{"index-url":"[..]","name":"crates-io","headers":[[..]"WWW-Authenticate: Cargo login_url=\"https://test-registry-login/me\""[..]]},"kind":"get","operation":"read"}
353
353
[ERROR] failed to query replaced source registry `crates-io`
354
354
355
355
Caused by:
@@ -390,7 +390,7 @@ fn all_not_supported() {
390
390
. with_stderr (
391
391
r#"[UPDATING] [..]
392
392
[CREDENTIAL] [..]not_supported[..] get crates-io
393
- {"v":1,"registry":{"index-url":"[..]","name":"crates-io","headers":[[..]"WWW-Authenticate: Cargo login_url=\"https://test-registry-login/me\""[..]]},"kind":"get","operation":"read","args":[] }
393
+ {"v":1,"registry":{"index-url":"[..]","name":"crates-io","headers":[[..]"WWW-Authenticate: Cargo login_url=\"https://test-registry-login/me\""[..]]},"kind":"get","operation":"read"}
394
394
[ERROR] failed to query replaced source registry `crates-io`
395
395
396
396
Caused by:
@@ -437,9 +437,9 @@ fn multiple_providers() {
437
437
. with_stderr (
438
438
r#"[UPDATING] [..]
439
439
[CREDENTIAL] [..]url_not_supported[..] login crates-io
440
- {"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"login","token":"abcdefg","login-url":"[..]","args":[] }
440
+ {"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"login","token":"abcdefg","login-url":"[..]"}
441
441
[CREDENTIAL] [..]success_provider[..] login crates-io
442
- {"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"login","token":"abcdefg","login-url":"[..]","args":[] }
442
+ {"v":1,"registry":{"index-url":"https://github.com/rust-lang/crates.io-index","name":"crates-io"},"kind":"login","token":"abcdefg","login-url":"[..]"}
443
443
"# ,
444
444
)
445
445
. run ( ) ;
@@ -557,10 +557,10 @@ fn token_caching() {
557
557
. build ( ) ;
558
558
559
559
let output = r#"[UPDATING] `alternative` index
560
- {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read","args":[] }
560
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read"}
561
561
[PACKAGING] foo v0.1.0 [..]
562
562
[PACKAGED] [..]
563
- {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"publish","name":"foo","vers":"0.1.0","cksum":"[..]","args":[] }
563
+ {"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"publish","name":"foo","vers":"0.1.0","cksum":"[..]"}
564
564
[UPLOADING] foo v0.1.0 [..]
565
565
[UPLOADED] foo v0.1.0 [..]
566
566
note: Waiting [..]
0 commit comments