Skip to content

Commit

Permalink
test: Update tests for latest cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 29, 2024
1 parent d48cbc1 commit 522160c
Show file tree
Hide file tree
Showing 28 changed files with 61 additions and 12 deletions.
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/alt_registry/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
Checking none's dependencies
Updating '[ROOTURL]/alternative-registry' index
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/cli_rust_version/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/exclude_dep/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking None's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/ignore_rust_version/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/implicit_prerelease/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
16 changes: 8 additions & 8 deletions tests/cargo-upgrade/invalid_manifest/stderr.log
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Updating '[ROOTURL]/registry' index
Error: `cargo metadata` exited with an error: error: failed to parse manifest at `[ROOT]/case/Cargo.toml`

Caused by:
TOML parse error at line 1, column 6
|
1 | This is clearly not a valid Cargo.toml.
| ^
expected `.`, `=`
Error: `cargo metadata` exited with an error: warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
error: expected `.`, `=`
--> Cargo.toml:1:6
|
1 | This is clearly not a valid Cargo.toml.
| ^
|

Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
Updating '[ROOTURL]/registry' index
Error: `cargo metadata` exited with an error: error: failed to parse manifest at `[ROOT]/case/Cargo.toml`

Caused by:
TOML parse error at line 1, column 6
Error: `cargo metadata` exited with an error: warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
...
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/lockfile/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/optional_dep/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/package_rust_version/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/pinned/stderr.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--pinned` to upgrade pinned version requirements
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserve_op/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserve_precision_major/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserve_precision_minor/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserve_precision_patch/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserves_inline_table/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/preserves_std_table/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/single_dep/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/specified/stderr.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--verbose` to show more dependencies
excluded: my-package2
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/upgrade_all/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/upgrade_everything/stderr.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Updating '[ROOTURL]/registry' index
Checking None's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--verbose` to show more dependencies
latest: serde
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/upgrade_renamed/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking cargo-list-test-fixture's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/upgrade_verbose/stderr.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Updating '[ROOTURL]/registry' index
Checking None's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/upgrade_workspace/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/virtual_manifest/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/workspace_inheritance/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--verbose` to show more dependencies
local: three
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/workspace_member_cwd/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--verbose` to show more dependencies
excluded: three
2 changes: 2 additions & 0 deletions tests/cargo-upgrade/workspace_member_manifest_path/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
Checking three's dependencies
Checking two's dependencies
Upgrading recursive dependencies
warning: `[ROOT]/home/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
note: Re-run with `--verbose` to show more dependencies
excluded: three

0 comments on commit 522160c

Please sign in to comment.