@@ -962,7 +962,7 @@ fn dev_dependencies2() {
962962 . build ( ) ;
963963 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
964964[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
965- (in the `foo` package)
965+ (in the `foo` package)
966966[LOCKING] 1 package to latest compatible version
967967[CHECKING] foo v0.1.0 ([ROOT]/foo)
968968[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1077,7 +1077,7 @@ fn build_dependencies2() {
10771077 . build ( ) ;
10781078 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
10791079[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1080- (in the `foo` package)
1080+ (in the `foo` package)
10811081[LOCKING] 1 package to latest compatible version
10821082[CHECKING] foo v0.1.0 ([ROOT]/foo)
10831083[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1185,7 +1185,7 @@ fn lib_crate_type2() {
11851185 p. cargo ( "check" )
11861186 . with_stderr_data ( str![ [ r#"
11871187[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1188- (in the `foo` library target)
1188+ (in the `foo` library target)
11891189[CHECKING] foo v0.5.0 ([ROOT]/foo)
11901190[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
11911191
@@ -1276,7 +1276,7 @@ fn bin_crate_type2() {
12761276 p. cargo ( "check" )
12771277 . with_stderr_data ( str![ [ r#"
12781278[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1279- (in the `foo` binary target)
1279+ (in the `foo` binary target)
12801280[CHECKING] foo v0.5.0 ([ROOT]/foo)
12811281[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
12821282
@@ -1385,9 +1385,9 @@ fn examples_crate_type2() {
13851385 p. cargo ( "check" )
13861386 . with_stderr_data ( str![ [ r#"
13871387[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1388- (in the `ex` example target)
1388+ (in the `ex` example target)
13891389[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1390- (in the `goodbye` example target)
1390+ (in the `goodbye` example target)
13911391[CHECKING] foo v0.5.0 ([ROOT]/foo)
13921392[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
13931393
@@ -1524,7 +1524,7 @@ fn cargo_platform_build_dependencies2() {
15241524 p. cargo ( "check" )
15251525 . with_stderr_data ( str![ [ r#"
15261526[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1527- (in the `[HOST_TARGET]` platform target)
1527+ (in the `[HOST_TARGET]` platform target)
15281528[LOCKING] 1 package to latest compatible version
15291529[COMPILING] build v0.5.0 ([ROOT]/foo/build)
15301530[COMPILING] foo v0.5.0 ([ROOT]/foo)
@@ -1655,7 +1655,7 @@ fn cargo_platform_dev_dependencies2() {
16551655 p. cargo ( "check" )
16561656 . with_stderr_data ( str![ [ r#"
16571657[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
1658- (in the `[HOST_TARGET]` platform target)
1658+ (in the `[HOST_TARGET]` platform target)
16591659[LOCKING] 1 package to latest compatible version
16601660[CHECKING] foo v0.5.0 ([ROOT]/foo)
16611661[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1784,7 +1784,7 @@ fn default_features2() {
17841784
17851785 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
17861786[WARNING] `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1787- (in the `a` dependency)
1787+ (in the `a` dependency)
17881788[LOCKING] 1 package to latest compatible version
17891789[CHECKING] a v0.1.0 ([ROOT]/foo/a)
17901790[CHECKING] foo v0.1.0 ([ROOT]/foo)
@@ -1959,7 +1959,7 @@ fn workspace_default_features2() {
19591959[CHECKING] workspace_only v0.1.0 ([ROOT]/foo/workspace_only)
19601960[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
19611961[WARNING] [ROOT]/foo/workspace_only/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1962- (in the `dep_workspace_only` dependency)
1962+ (in the `dep_workspace_only` dependency)
19631963
19641964"# ] ]
19651965 . unordered ( ) ,
@@ -2070,7 +2070,7 @@ fn lib_proc_macro2() {
20702070 foo. cargo ( "check" )
20712071 . with_stderr_data ( str![ [ r#"
20722072[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2073- (in the `foo` library target)
2073+ (in the `foo` library target)
20742074[CHECKING] foo v0.1.0 ([ROOT]/foo)
20752075[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
20762076
@@ -2158,7 +2158,7 @@ fn bin_proc_macro2() {
21582158 foo. cargo ( "check" )
21592159 . with_stderr_data ( str![ [ r#"
21602160[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2161- (in the `foo` binary target)
2161+ (in the `foo` binary target)
21622162[CHECKING] foo v0.5.0 ([ROOT]/foo)
21632163[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
21642164
@@ -3596,22 +3596,22 @@ fn legacy_binary_paths_warnings() {
35963596 p. cargo ( "check -v" )
35973597 . with_stderr_data ( str![ [ r#"
35983598[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3599- disables Cargo from automatically inferring other binary targets.
3600- This inference behavior will change in the Rust 2018 edition and the following
3601- files will be included as a binary target:
3602-
3603- * src/main.rs
3604-
3605- This is likely to break cargo build or cargo test as these files may not be
3606- ready to be compiled as a binary target today. You can future-proof yourself
3607- and disable this warning by adding `autobins = false` to your [package]
3608- section. You may also move the files to a location where Cargo would not
3609- automatically infer them to be a target, such as in subfolders.
3610-
3611- For more information on this warning you can consult
3612- https://github.com/rust-lang/cargo/issues/5330
3599+ disables Cargo from automatically inferring other binary targets.
3600+ This inference behavior will change in the Rust 2018 edition and the following
3601+ files will be included as a binary target:
3602+
3603+ * src/main.rs
3604+
3605+ This is likely to break cargo build or cargo test as these files may not be
3606+ ready to be compiled as a binary target today. You can future-proof yourself
3607+ and disable this warning by adding `autobins = false` to your [package]
3608+ section. You may also move the files to a location where Cargo would not
3609+ automatically infer them to be a target, such as in subfolders.
3610+
3611+ For more information on this warning you can consult
3612+ https://github.com/rust-lang/cargo/issues/5330
36133613[WARNING] path `src/main.rs` was erroneously implicitly accepted for binary `bar`,
3614- please set bin.path in Cargo.toml
3614+ please set bin.path in Cargo.toml
36153615[CHECKING] foo v1.0.0 ([ROOT]/foo)
36163616[RUNNING] `rustc [..]`
36173617[RUNNING] `rustc [..]`
@@ -3641,22 +3641,22 @@ please set bin.path in Cargo.toml
36413641 p. cargo ( "check -v" )
36423642 . with_stderr_data ( str![ [ r#"
36433643[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3644- disables Cargo from automatically inferring other binary targets.
3645- This inference behavior will change in the Rust 2018 edition and the following
3646- files will be included as a binary target:
3647-
3648- * src/bin/main.rs
3649-
3650- This is likely to break cargo build or cargo test as these files may not be
3651- ready to be compiled as a binary target today. You can future-proof yourself
3652- and disable this warning by adding `autobins = false` to your [package]
3653- section. You may also move the files to a location where Cargo would not
3654- automatically infer them to be a target, such as in subfolders.
3655-
3656- For more information on this warning you can consult
3657- https://github.com/rust-lang/cargo/issues/5330
3644+ disables Cargo from automatically inferring other binary targets.
3645+ This inference behavior will change in the Rust 2018 edition and the following
3646+ files will be included as a binary target:
3647+
3648+ * src/bin/main.rs
3649+
3650+ This is likely to break cargo build or cargo test as these files may not be
3651+ ready to be compiled as a binary target today. You can future-proof yourself
3652+ and disable this warning by adding `autobins = false` to your [package]
3653+ section. You may also move the files to a location where Cargo would not
3654+ automatically infer them to be a target, such as in subfolders.
3655+
3656+ For more information on this warning you can consult
3657+ https://github.com/rust-lang/cargo/issues/5330
36583658[WARNING] path `src/bin/main.rs` was erroneously implicitly accepted for binary `bar`,
3659- please set bin.path in Cargo.toml
3659+ please set bin.path in Cargo.toml
36603660[CHECKING] foo v1.0.0 ([ROOT]/foo)
36613661[RUNNING] `rustc [..]`
36623662[RUNNING] `rustc [..]`
@@ -3685,7 +3685,7 @@ please set bin.path in Cargo.toml
36853685 p. cargo ( "check -v" )
36863686 . with_stderr_data ( str![ [ r#"
36873687[WARNING] path `src/bar.rs` was erroneously implicitly accepted for binary `bar`,
3688- please set bin.path in Cargo.toml
3688+ please set bin.path in Cargo.toml
36893689[CHECKING] foo v1.0.0 ([ROOT]/foo)
36903690[RUNNING] `rustc [..]`
36913691[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments