Last nightly fails to build cbindgen (for desktop)
The last nightly builds fails for desktop while building cbindgen. This is the log for linux-x86_64:
Starting build (script: build): 2022-08-16 05:23:07
Compiling proc-macro2 v1.0.36
Compiling syn v1.0.89
Compiling unicode-xid v0.2.2
Compiling libc v0.2.121
Compiling serde_derive v1.0.136
Compiling serde v1.0.136
Compiling autocfg v1.1.0
Compiling memchr v2.4.1
Compiling hashbrown v0.11.2
Compiling cfg-if v1.0.0
Compiling log v0.4.16
Compiling serde_json v1.0.79
Compiling termcolor v1.1.3
Compiling fastrand v1.7.0
Compiling cbindgen v0.23.0 (/var/tmp/build/cbindgen)
Compiling strsim v0.10.0
Compiling remove_dir_all v0.5.3
Compiling textwrap v0.15.0
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /var/tmp/build/cbindgen/vendor/textwrap/src/lib.rs:200:9
|
200 | #[doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
Compiling itoa v1.0.1
Compiling ryu v1.0.9
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `textwrap`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Finishing build (script: build): 2022-08-16 05:23:13
This looks related to d8052c01 (#40582 (closed)).
/cc @pierov