@@ -839,7 +839,7 @@ fn dev_dependencies2() {
839839 . build ( ) ;
840840 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
841841[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
842- (in the `foo` package)
842+ (in the `foo` package)
843843[LOCKING] 1 package to latest compatible version
844844[CHECKING] foo v0.1.0 ([ROOT]/foo)
845845[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -954,7 +954,7 @@ fn build_dependencies2() {
954954 . build ( ) ;
955955 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
956956[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
957- (in the `foo` package)
957+ (in the `foo` package)
958958[LOCKING] 1 package to latest compatible version
959959[CHECKING] foo v0.1.0 ([ROOT]/foo)
960960[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1062,7 +1062,7 @@ fn lib_crate_type2() {
10621062 p. cargo ( "check" )
10631063 . with_stderr_data ( str![ [ r#"
10641064[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1065- (in the `foo` library target)
1065+ (in the `foo` library target)
10661066[CHECKING] foo v0.5.0 ([ROOT]/foo)
10671067[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
10681068
@@ -1153,7 +1153,7 @@ fn bin_crate_type2() {
11531153 p. cargo ( "check" )
11541154 . with_stderr_data ( str![ [ r#"
11551155[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1156- (in the `foo` binary target)
1156+ (in the `foo` binary target)
11571157[CHECKING] foo v0.5.0 ([ROOT]/foo)
11581158[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
11591159
@@ -1262,9 +1262,9 @@ fn examples_crate_type2() {
12621262 p. cargo ( "check" )
12631263 . with_stderr_data ( str![ [ r#"
12641264[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1265- (in the `ex` example target)
1265+ (in the `ex` example target)
12661266[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1267- (in the `goodbye` example target)
1267+ (in the `goodbye` example target)
12681268[CHECKING] foo v0.5.0 ([ROOT]/foo)
12691269[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
12701270
@@ -1401,7 +1401,7 @@ fn cargo_platform_build_dependencies2() {
14011401 p. cargo ( "check" )
14021402 . with_stderr_data ( str![ [ r#"
14031403[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1404- (in the `[HOST_TARGET]` platform target)
1404+ (in the `[HOST_TARGET]` platform target)
14051405[LOCKING] 1 package to latest compatible version
14061406[COMPILING] build v0.5.0 ([ROOT]/foo/build)
14071407[COMPILING] foo v0.5.0 ([ROOT]/foo)
@@ -1532,7 +1532,7 @@ fn cargo_platform_dev_dependencies2() {
15321532 p. cargo ( "check" )
15331533 . with_stderr_data ( str![ [ r#"
15341534[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
1535- (in the `[HOST_TARGET]` platform target)
1535+ (in the `[HOST_TARGET]` platform target)
15361536[LOCKING] 1 package to latest compatible version
15371537[CHECKING] foo v0.5.0 ([ROOT]/foo)
15381538[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1661,7 +1661,7 @@ fn default_features2() {
16611661
16621662 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
16631663[WARNING] `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1664- (in the `a` dependency)
1664+ (in the `a` dependency)
16651665[LOCKING] 1 package to latest compatible version
16661666[CHECKING] a v0.1.0 ([ROOT]/foo/a)
16671667[CHECKING] foo v0.1.0 ([ROOT]/foo)
@@ -1836,7 +1836,7 @@ fn workspace_default_features2() {
18361836[CHECKING] workspace_only v0.1.0 ([ROOT]/foo/workspace_only)
18371837[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
18381838[WARNING] [ROOT]/foo/workspace_only/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1839- (in the `dep_workspace_only` dependency)
1839+ (in the `dep_workspace_only` dependency)
18401840
18411841"# ] ]
18421842 . unordered ( ) ,
@@ -1947,7 +1947,7 @@ fn lib_proc_macro2() {
19471947 foo. cargo ( "check" )
19481948 . with_stderr_data ( str![ [ r#"
19491949[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
1950- (in the `foo` library target)
1950+ (in the `foo` library target)
19511951[CHECKING] foo v0.1.0 ([ROOT]/foo)
19521952[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
19531953
@@ -2035,7 +2035,7 @@ fn bin_proc_macro2() {
20352035 foo. cargo ( "check" )
20362036 . with_stderr_data ( str![ [ r#"
20372037[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2038- (in the `foo` binary target)
2038+ (in the `foo` binary target)
20392039[CHECKING] foo v0.5.0 ([ROOT]/foo)
20402040[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
20412041
@@ -3473,22 +3473,22 @@ fn legacy_binary_paths_warnings() {
34733473 p. cargo ( "check -v" )
34743474 . with_stderr_data ( str![ [ r#"
34753475[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3476- disables Cargo from automatically inferring other binary targets.
3477- This inference behavior will change in the Rust 2018 edition and the following
3478- files will be included as a binary target:
3479-
3480- * src/main.rs
3481-
3482- This is likely to break cargo build or cargo test as these files may not be
3483- ready to be compiled as a binary target today. You can future-proof yourself
3484- and disable this warning by adding `autobins = false` to your [package]
3485- section. You may also move the files to a location where Cargo would not
3486- automatically infer them to be a target, such as in subfolders.
3487-
3488- For more information on this warning you can consult
3489- https://github.com/rust-lang/cargo/issues/5330
3476+ disables Cargo from automatically inferring other binary targets.
3477+ This inference behavior will change in the Rust 2018 edition and the following
3478+ files will be included as a binary target:
3479+
3480+ * src/main.rs
3481+
3482+ This is likely to break cargo build or cargo test as these files may not be
3483+ ready to be compiled as a binary target today. You can future-proof yourself
3484+ and disable this warning by adding `autobins = false` to your [package]
3485+ section. You may also move the files to a location where Cargo would not
3486+ automatically infer them to be a target, such as in subfolders.
3487+
3488+ For more information on this warning you can consult
3489+ https://github.com/rust-lang/cargo/issues/5330
34903490[WARNING] path `src/main.rs` was erroneously implicitly accepted for binary `bar`,
3491- please set bin.path in Cargo.toml
3491+ please set bin.path in Cargo.toml
34923492[CHECKING] foo v1.0.0 ([ROOT]/foo)
34933493[RUNNING] `rustc [..]`
34943494[RUNNING] `rustc [..]`
@@ -3518,22 +3518,22 @@ please set bin.path in Cargo.toml
35183518 p. cargo ( "check -v" )
35193519 . with_stderr_data ( str![ [ r#"
35203520[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3521- disables Cargo from automatically inferring other binary targets.
3522- This inference behavior will change in the Rust 2018 edition and the following
3523- files will be included as a binary target:
3524-
3525- * src/bin/main.rs
3526-
3527- This is likely to break cargo build or cargo test as these files may not be
3528- ready to be compiled as a binary target today. You can future-proof yourself
3529- and disable this warning by adding `autobins = false` to your [package]
3530- section. You may also move the files to a location where Cargo would not
3531- automatically infer them to be a target, such as in subfolders.
3532-
3533- For more information on this warning you can consult
3534- https://github.com/rust-lang/cargo/issues/5330
3521+ disables Cargo from automatically inferring other binary targets.
3522+ This inference behavior will change in the Rust 2018 edition and the following
3523+ files will be included as a binary target:
3524+
3525+ * src/bin/main.rs
3526+
3527+ This is likely to break cargo build or cargo test as these files may not be
3528+ ready to be compiled as a binary target today. You can future-proof yourself
3529+ and disable this warning by adding `autobins = false` to your [package]
3530+ section. You may also move the files to a location where Cargo would not
3531+ automatically infer them to be a target, such as in subfolders.
3532+
3533+ For more information on this warning you can consult
3534+ https://github.com/rust-lang/cargo/issues/5330
35353535[WARNING] path `src/bin/main.rs` was erroneously implicitly accepted for binary `bar`,
3536- please set bin.path in Cargo.toml
3536+ please set bin.path in Cargo.toml
35373537[CHECKING] foo v1.0.0 ([ROOT]/foo)
35383538[RUNNING] `rustc [..]`
35393539[RUNNING] `rustc [..]`
@@ -3562,7 +3562,7 @@ please set bin.path in Cargo.toml
35623562 p. cargo ( "check -v" )
35633563 . with_stderr_data ( str![ [ r#"
35643564[WARNING] path `src/bar.rs` was erroneously implicitly accepted for binary `bar`,
3565- please set bin.path in Cargo.toml
3565+ please set bin.path in Cargo.toml
35663566[CHECKING] foo v1.0.0 ([ROOT]/foo)
35673567[RUNNING] `rustc [..]`
35683568[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments