Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: unexpected closing delimiter: ] in src/../generated/bindings.rs:15424:39 #1589

Open
vgivanovic opened this issue Nov 23, 2020 · 0 comments

Comments

@vgivanovic
Copy link

Using an updated, distcleaned source, and also with the Arch Linux AUR package (remacs-git):

error: unexpected closing delimiter: ]`
--> src/../generated/bindings.rs:15424:39
|
15419 | pub struct Lisp_String {
| - this opening brace...
15420 | pub u: Lisp_String__bindgen_ty_1,
15421 | }
| - ...matches this closing brace
...
15424 | # [ derive ( Copy , Clone ) ]; 4usize ] , }# [ repr ( C ) ]
| ^ unexpected closing delimiter

error: aborting due to previous error

error: could not compile remacs.

Caused by:
process didn't exit successfully: rustc --crate-name remacs --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C panic=abort -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="unexec"' --cfg 'feature="use-xml2"' --cfg 'feature="window-system"' --cfg 'feature="window-system-x11"' -C metadata=ea414e57a2dd3fa4 -C extra-filename=-ea414e57a2dd3fa4 --out-dir /usr/local/src/remacs/rust_src/target/debug/deps -C incremental=/usr/local/src/remacs/rust_src/target/debug/incremental -L dependency=/usr/local/src/remacs/rust_src/target/debug/deps --extern base64=/usr/local/src/remacs/rust_src/target/debug/deps/libbase64-13f04ca6589e9c34.rlib --extern cfg_if=/usr/local/src/remacs/rust_src/target/debug/deps/libcfg_if-eb569dc908f26788.rlib --extern errno=/usr/local/src/remacs/rust_src/target/debug/deps/liberrno-a4de0e8b07aad1ec.rlib --extern field_offset=/usr/local/src/remacs/rust_src/target/debug/deps/libfield_offset-a72105e6cdcb0671.rlib --extern flate2=/usr/local/src/remacs/rust_src/target/debug/deps/libflate2-9e757549d0dadb71.rlib --extern itertools=/usr/local/src/remacs/rust_src/target/debug/deps/libitertools-42e127e39d73a43f.rlib --extern lazy_static=/usr/local/src/remacs/rust_src/target/debug/deps/liblazy_static-4ae020ed14010134.rlib --extern libc=/usr/local/src/remacs/rust_src/target/debug/deps/liblibc-04bc34b16497a97c.rlib --extern line_wrap=/usr/local/src/remacs/rust_src/target/debug/deps/libline_wrap-fd27a733b66dee4e.rlib --extern md5=/usr/local/src/remacs/rust_src/target/debug/deps/libmd5-33468d36fadb9d75.rlib --extern rand=/usr/local/src/remacs/rust_src/target/debug/deps/librand-5fd97671e1481f9e.rlib --extern remacs_lib=/usr/local/src/remacs/rust_src/target/debug/deps/libremacs_lib-55c126ef522df753.rlib --extern remacs_macros=/usr/local/src/remacs/rust_src/target/debug/deps/libremacs_macros-66b3cfe3fea4ae03.so --extern sha1=/usr/local/src/remacs/rust_src/target/debug/deps/libsha1-6498049ba457dec1.rlib --extern sha2=/usr/local/src/remacs/rust_src/target/debug/deps/libsha2-5f53cb41632fb8ce.rlib --extern systemstat=/usr/local/src/remacs/rust_src/target/debug/deps/libsystemstat-7dc0d104a0ed5c4d.rlib (exit code: 1)
cargo --verbose build 124.46s user 7.97s system 543% cpu 24.375 total
101 vladimir@prokofiev /usr/local/src/remacs/rust_src (git)-[master] % po
/usr/local/src/remacs /usr/local/src/elegant-emacs ~
`

I noticed that earlier I got:

Running/usr/local/src/remacs/rust_src/remacs-bindings/target/release/remacs-bindings bindings ../rust_src/generated/bindings.rsRustfmt failed at stdin:169: line exceeded maximum length (maximum: 100, found: 221) (sorry) Rustfmt failed at stdin:2921: line exceeded maximum length (maximum: 100, found: 364) (sorry) Rustfmt failed at stdin:10115: line exceeded maximum length (maximum: 100, found: 250) (sorry) Rustfmt failed at stdin:10126: line exceeded maximum length (maximum: 100, found: 307) (sorry) Rustfmt failed at stdin:10127: line exceeded maximum length (maximum: 100, found: 307) (sorry) Rustfmt failed at stdin:10128: line exceeded maximum length (maximum: 100, found: 303) (sorry) Rustfmt failed at stdin:10129: line exceeded maximum length (maximum: 100, found: 303) (sorry) Rustfmt failed at stdin:15033: line exceeded maximum length (maximum: 100, found: 145) (sorry) Rustfmt failed at stdin:15211: line exceeded maximum length (maximum: 100, found: 175) (sorry) Rustfmt failed at stdin:15223: line exceeded maximum length (maximum: 100, found: 143) (sorry) Rustfmt failed at stdin:15231: line exceeded maximum length (maximum: 100, found: 145) (sorry) Rustfmt failed at stdin:15949: line exceeded maximum length (maximum: 100, found: 1808) (sorry) Rustfmt failed at stdin:16579: line exceeded maximum length (maximum: 100, found: 203) (sorry) Rustfmt failed at stdin:16650: line exceeded maximum length (maximum: 100, found: 211) (sorry) Rustfmt failed at stdin:16798: line exceeded maximum length (maximum: 100, found: 115) (sorry) Rustfmt failed at stdin:16830: line exceeded maximum length (maximum: 100, found: 115) (sorry) Rustfmt failed at stdin:16996: line exceeded maximum length (maximum: 100, found: 116) (sorry) Rustfmt failed at stdin:17061: line exceeded maximum length (maximum: 100, found: 115) (sorry) Rustfmt failed at stdin:18639: line exceeded maximum length (maximum: 100, found: 267) (sorry) Rustfmt failed at stdin:20190: line exceeded maximum length (maximum: 100, found: 220) (sorry) Rustfmt failed at stdin:20679: line exceeded maximum length (maximum: 100, found: 145) (sorry) Rustfmt failed at stdin:22864: line exceeded maximum length (maximum: 100, found: 4671) (sorry) Rustfmt failed at stdin:23098: line exceeded maximum length (maximum: 100, found: 4777) (sorry) Rustfmt failed at stdin:28590: line exceeded maximum length (maximum: 100, found: 3922) (sorry) Rustfmt failed at stdin:36091: line exceeded maximum length (maximum: 100, found: 257) (sorry) Rustfmt failed at stdin:36537: line exceeded maximum length (maximum: 100, found: 170) (sorry) Rustfmt failed at stdin:36649: line exceeded maximum length (maximum: 100, found: 173) (sorry) Rustfmt failed at stdin:36948: line exceeded maximum length (maximum: 100, found: 164) (sorry) Rustfmt failed at stdin:40075: line exceeded maximum length (maximum: 100, found: 331) (sorry) Rustfmt failed at stdin:43701: line exceeded maximum length (maximum: 100, found: 146) (sorry) Rustfmt failed at stdin:43709: line exceeded maximum length (maximum: 100, found: 145) (sorry) Rustfmt failed at stdin:43717: line exceeded maximum length (maximum: 100, found: 148) (sorry) Rustfmt failed at stdin:43745: line exceeded maximum length (maximum: 100, found: 146) (sorry) Rustfmt failed at stdin:43773: line exceeded maximum length (maximum: 100, found: 146) (sorry) Rustfmt failed at stdin:45279: line exceeded maximum length (maximum: 100, found: 3943) (sorry) Rustfmt failed at stdin:47580: line exceeded maximum length (maximum: 100, found: 4902) (sorry) Rustfmt failed at stdin:47583: line exceeded maximum length (maximum: 100, found: 228) (sorry) Rustfmt failed at stdin:49810: line exceeded maximum length (maximum: 100, found: 222) (sorry) Rustfmt failed at stdin:52031: line exceeded maximum length (maximum: 100, found: 165) (sorry) Rustfmt failed at stdin:54310: line exceeded maximum length (maximum: 100, found: 172) (sorry) Rustfmt failed at stdin:54345: line exceeded maximum length (maximum: 100, found: 213) (sorry) Rustfmt failed at stdin:58278: line exceeded maximum length (maximum: 100, found: 148) (sorry) Rustfmt failed at stdin:59680: line exceeded maximum length (maximum: 100, found: 151) (sorry) Rustfmt failed at stdin:59780: line exceeded maximum length (maximum: 100, found: 155) (sorry) Rustfmt failed at stdin:61824: line exceeded maximum length (maximum: 100, found: 156) (sorry) Rustfmt failed at stdin:62080: line exceeded maximum length (maximum: 100, found: 243) (sorry) Rustfmt failed at stdin:62081: line exceeded maximum length (maximum: 100, found: 247) (sorry) Rustfmt failed at stdin:62082: line exceeded maximum length (maximum: 100, found: 333) (sorry) Rustfmt failed at stdin:62083: line exceeded maximum length (maximum: 100, found: 333) (sorry) Rustfmt failed at stdin:62101: line exceeded maximum length (maximum: 100, found: 149) (sorry) Rustfmt failed at stdin:62109: line exceeded maximum length (maximum: 100, found: 145) (sorry) Rustfmt failed at stdin:62676: line exceeded maximum length (maximum: 100, found: 289) (sorry) Rustfmt failed at stdin:63045: line exceeded maximum length (maximum: 100, found: 162) (sorry) Rustfmt failed at stdin:68193: line exceeded maximum length (maximum: 100, found: 1352) (sorry) Rustfmt failed at stdin:68850: line exceeded maximum length (maximum: 100, found: 1071) (sorry) Rustfmt failed at stdin:71005: line exceeded maximum length (maximum: 100, found: 384) (sorry) Rustfmt failed at stdin:73748: line exceeded maximum length (maximum: 100, found: 2410) (sorry) Rustfmt failed at stdin:74016: line exceeded maximum length (maximum: 100, found: 149) (sorry) Rustfmt failed at stdin:74904: line exceeded maximum length (maximum: 100, found: 947) (sorry) Rustfmt failed at stdin:75153: line exceeded maximum length (maximum: 100, found: 301) (sorry) Rustfmt failed at stdin:77128: line exceeded maximum length (maximum: 100, found: 1277) (sorry) Rustfmt failed at stdin:77543: line exceeded maximum length (maximum: 100, found: 114) (sorry) Rustfmt failed at stdin:81331: line exceeded maximum length (maximum: 100, found: 2504) (sorry) Rustfmt failed at stdin:81725: line exceeded maximum length (maximum: 100, found: 3853) (sorry) Rustfmt failed at stdin:82138: line exceeded maximum length (maximum: 100, found: 1080) (sorry) Rustfmt failed at stdin:82323: line exceeded maximum length (maximum: 100, found: 2302) (sorry) Rustfmt failed at stdin:82670: line exceeded maximum length (maximum: 100, found: 544) (sorry) Rustfmt failed at stdin:83549: line exceeded maximum length (maximum: 100, found: 1100) (sorry) Rustfmt failed at stdin:83747: line exceeded maximum length (maximum: 100, found: 3785) (sorry) Rustfmt failed at stdin:85864: line exceeded maximum length (maximum: 100, found: 1257) (sorry) Rustfmt failed at stdin:87200: line exceeded maximum length (maximum: 100, found: 887) (sorry) Rustfmt failed at stdin:88250: line exceeded maximum length (maximum: 100, found: 763) (sorry) Rustfmt failed at stdin:88333: line exceeded maximum length (maximum: 100, found: 1340) (sorry) Rustfmt failed at stdin:88495: line exceeded maximum length (maximum: 100, found: 716) (sorry) Rustfmt failed at stdin:88866: line exceeded maximum length (maximum: 100, found: 327) (sorry) Rustfmt failed at stdin:88976: line exceeded maximum length (maximum: 100, found: 489) (sorry) Rustfmt failed at stdin:89239: line exceeded maximum length (maximum: 100, found: 4646) (sorry) Rustfmt failed at stdin:89630: line exceeded maximum length (maximum: 100, found: 2076) (sorry) Rustfmt failed at stdin:90165: line exceeded maximum length (maximum: 100, found: 20837) (sorry) Rustfmt failed at stdin:92028: line exceeded maximum length (maximum: 100, found: 1865) (sorry) Rustfmt failed at stdin:92601: line exceeded maximum length (maximum: 100, found: 1615) (sorry) Rustfmt failed at stdin:93064: line exceeded maximum length (maximum: 100, found: 2036) (sorry) Rustfmt failed at stdin:93383: line exceeded maximum length (maximum: 100, found: 434) (sorry) Rustfmt failed at stdin:93509: line exceeded maximum length (maximum: 100, found: 2080) (sorry) Rustfmt failed at stdin:93970: line exceeded maximum length (maximum: 100, found: 503) (sorry) Rustfmt failed at stdin:94720: line exceeded maximum length (maximum: 100, found: 753) (sorry) Rustfmt failed at stdin:94954: line exceeded maximum length (maximum: 100, found: 229) (sorry) Rustfmt failed at stdin:95200: line exceeded maximum length (maximum: 100, found: 1307) (sorry) Rustfmt failed at stdin:95692: line exceeded maximum length (maximum: 100, found: 4365) (sorry) Rustfmt failed at stdin:96088: line exceeded maximum length (maximum: 100, found: 1825) (sorry) Rustfmt failed at stdin:96428: line exceeded maximum length (maximum: 100, found: 3215) (sorry) Rustfmt failed at stdin:96735: line exceeded maximum length (maximum: 100, found: 261) (sorry) Rustfmt failed at stdin:96873: line exceeded maximum length (maximum: 100, found: 865) (sorry) Rustfmt failed at stdin:97160: line exceeded maximum length (maximum: 100, found: 1226) (sorry) Rustfmt failed at stdin:97296: line exceeded maximum length (maximum: 100, found: 694) (sorry) Rustfmt failed at stdin:97381: line exceeded maximum length (maximum: 100, found: 962) (sorry) Rustfmt failed at stdin:97530: line exceeded maximum length (maximum: 100, found: 859) (sorry) Rustfmt failed at stdin:97750: line exceeded maximum length (maximum: 100, found: 693) (sorry) Rustfmt failed at stdin:98078: line exceeded maximum length (maximum: 100, found: 496) (sorry) Rustfmt failed at stdin:98184: line exceeded maximum length (maximum: 100, found: 3523) (sorry) Rustfmt failed at stdin:98845: line exceeded maximum length (maximum: 100, found: 650) (sorry) Rustfmt failed at stdin:100364: line exceeded maximum length (maximum: 100, found: 498) (sorry) Rustfmt failed at stdin:100624: line exceeded maximum length (maximum: 100, found: 1166) (sorry) Rustfmt failed at stdin:101935: line exceeded maximum length (maximum: 100, found: 1037) (sorry) Rustfmt failed at stdin:102248: line exceeded maximum length (maximum: 100, found: 1121) (sorry) Rustfmt failed at stdin:102425: line exceeded maximum length (maximum: 100, found: 231) (sorry) Rustfmt failed at stdin:102540: line exceeded maximum length (maximum: 100, found: 3795) (sorry) Rustfmt failed at stdin:102873: line exceeded maximum length (maximum: 100, found: 1622) (sorry) Rustfmt failed at stdin:103062: line exceeded maximum length (maximum: 100, found: 553) (sorry) Rustfmt failed at stdin:103226: line exceeded maximum length (maximum: 100, found: 2415) (sorry) Rustfmt failed at stdin:103411: line exceeded maximum length (maximum: 100, found: 3122) (sorry) Rustfmt failed at stdin:107454: line exceeded maximum length (maximum: 100, found: 868) (sorry) Rustfmt failed at stdin:107729: line exceeded maximum length (maximum: 100, found: 1255) (sorry) Rustfmt failed at stdin:109342: line exceeded maximum length (maximum: 100, found: 1260) (sorry) Rustfmt failed at stdin:110005: line exceeded maximum length (maximum: 100, found: 643) (sorry) Rustfmt failed at stdin:111027: line exceeded maximum length (maximum: 100, found: 2257) (sorry) Rustfmt failed at stdin:121175: line exceeded maximum length (maximum: 100, found: 583) (sorry) Rustfmt failed at stdin:121994: line exceeded maximum length (maximum: 100, found: 3511) (sorry) Rustfmt failed at stdin:122240: line exceeded maximum length (maximum: 100, found: 198) (sorry) Rustfmt failed at stdin:122636: line exceeded maximum length (maximum: 100, found: 870) (sorry) Rustfmt failed at stdin:122832: line exceeded maximum length (maximum: 100, found: 2741) (sorry) Rustfmt failed at stdin:123096: line exceeded maximum length (maximum: 100, found: 1188) (sorry) Rustfmt failed at stdin:123389: line exceeded maximum length (maximum: 100, found: 4503) (sorry) Rustfmt failed at stdin:123790: line exceeded maximum length (maximum: 100, found: 1125) (sorry) Rustfmt failed at stdin:124366: line exceeded maximum length (maximum: 100, found: 778) (sorry) Rustfmt failed at stdin:125124: line exceeded maximum length (maximum: 100, found: 1092) (sorry) Rustfmt failed at stdin:125437: line exceeded maximum length (maximum: 100, found: 741) (sorry) Rustfmt failed at stdin:125551: line exceeded maximum length (maximum: 100, found: 4825) (sorry) Rustfmt failed at stdin:125974: line exceeded maximum length (maximum: 100, found: 1040) (sorry) Rustfmt failed at stdin:126494: line exceeded maximum length (maximum: 100, found: 12547) (sorry) Rustfmt failed at stdin:128124: line exceeded maximum length (maximum: 100, found: 393) (sorry) Rustfmt failed at stdin:128320: line exceeded maximum length (maximum: 100, found: 2308) (sorry) Rustfmt failed at stdin:130019: line exceeded maximum length (maximum: 100, found: 1610) (sorry) Rustfmt failed at stdin:131151: line exceeded maximum length (maximum: 100, found: 568) (sorry) Rustfmt failed at stdin:131238: line exceeded maximum length (maximum: 100, found: 634) (sorry) Rustfmt failed at stdin:131485: line exceeded maximum length (maximum: 100, found: 610) (sorry) Rustfmt failed at stdin:131971: line exceeded maximum length (maximum: 100, found: 571) (sorry) Rustfmt failed at stdin:132160: line exceeded maximum length (maximum: 100, found: 3172) (sorry) Rustfmt failed at stdin:132614: line exceeded maximum length (maximum: 100, found: 439) (sorry) Rustfmt failed at stdin:132743: line exceeded maximum length (maximum: 100, found: 3017) (sorry) Rustfmt failed at stdin:133073: line exceeded maximum length (maximum: 100, found: 1107) (sorry) Rustfmt failed at stdin:133237: line exceeded maximum length (maximum: 100, found: 4608) (sorry) Rustfmt failed at stdin:135651: line exceeded maximum length (maximum: 100, found: 1537) (sorry) Rustfmt failed at stdin:135844: line exceeded maximum length (maximum: 100, found: 2676) (sorry) Rustfmt failed at stdin:136848: line exceeded maximum length (maximum: 100, found: 1082) (sorry) Rustfmt failed at stdin:137328: line exceeded maximum length (maximum: 100, found: 2188) (sorry) Rustfmt failed at stdin:137826: line exceeded maximum length (maximum: 100, found: 2900) (sorry) Rustfmt failed at stdin:138575: line exceeded maximum length (maximum: 100, found: 554) (sorry) Rustfmt failed at stdin:138821: line exceeded maximum length (maximum: 100, found: 265) (sorry) Rustfmt failed at stdin:139136: line exceeded maximum length (maximum: 100, found: 525) (sorry) Rustfmt failed at stdin:140033: line exceeded maximum length (maximum: 100, found: 185) (sorry) Rustfmt failed at stdin:140269: line exceeded maximum length (maximum: 100, found: 856) (sorry) Rustfmt failed at stdin:140508: line exceeded maximum length (maximum: 100, found: 1876) (sorry) Rustfmt failed at stdin:140977: line exceeded maximum length (maximum: 100, found: 1130) (sorry) Rustfmt failed at stdin:141332: line exceeded maximum length (maximum: 100, found: 1200) (sorry) Rustfmt failed at stdin:141511: line exceeded maximum length (maximum: 100, found: 1455) (sorry) Rustfmt failed at stdin:141727: line exceeded maximum length (maximum: 100, found: 566) (sorry) Rustfmt failed at stdin:141856: line exceeded maximum length (maximum: 100, found: 853) (sorry) Rustfmt failed at stdin:142585: line exceeded maximum length (maximum: 100, found: 546) (sorry) Rustfmt failed at stdin:143028: line exceeded maximum length (maximum: 100, found: 529) (sorry) Rustfmt failed at stdin:143156: line exceeded maximum length (maximum: 100, found: 1388) (sorry) Rustfmt failed at stdin:143408: line exceeded maximum length (maximum: 100, found: 645) (sorry) Rustfmt failed at stdin:143862: line exceeded maximum length (maximum: 100, found: 730) (sorry) Rustfmt failed at stdin:146480: line exceeded maximum length (maximum: 100, found: 1372) (sorry) Rustfmt failed at stdin:147022: line exceeded maximum length (maximum: 100, found: 1113) (sorry) Rustfmt failed at stdin:148809: line exceeded maximum length (maximum: 100, found: 641) (sorry) Rustfmt failed at stdin:149780: line exceeded maximum length (maximum: 100, found: 1366) (sorry) Rustfmt failed at stdin:152486: line exceeded maximum length (maximum: 100, found: 620) (sorry) Rustfmt failed at stdin:153349: line exceeded maximum length (maximum: 100, found: 2457) (sorry) Rustfmt failed at stdin:153908: line exceeded maximum length (maximum: 100, found: 880) (sorry) Rustfmt failed at stdin:155158: line exceeded maximum length (maximum: 100, found: 1437) (sorry) Rustfmt failed at stdin:155387: line exceeded maximum length (maximum: 100, found: 2496) (sorry) Rustfmt failed at stdin:155909: line exceeded maximum length (maximum: 100, found: 506) (sorry) Rustfmt failed at stdin:156063: line exceeded maximum length (maximum: 100, found: 515) (sorry) Rustfmt failed at stdin:156475: line exceeded maximum length (maximum: 100, found: 1221) (sorry) Rustfmt failed at stdin:157225: line exceeded maximum length (maximum: 100, found: 1996) (sorry) Rustfmt failed at stdin:158691: line exceeded maximum length (maximum: 100, found: 766) (sorry) Rustfmt failed at stdin:160174: line exceeded maximum length (maximum: 100, found: 1000) (sorry) Rustfmt failed at stdin:161274: line exceeded maximum length (maximum: 100, found: 2300) (sorry) Rustfmt failed at stdin:161909: line exceeded maximum length (maximum: 100, found: 2302) (sorry) Rustfmt failed at stdin:162433: line exceeded maximum length (maximum: 100, found: 842) (sorry) Rustfmt failed at stdin:162967: line exceeded maximum length (maximum: 100, found: 1222) (sorry) Rustfmt failed at stdin:163182: line exceeded maximum length (maximum: 100, found: 579) (sorry) Rustfmt failed at stdin:163260: line exceeded maximum length (maximum: 100, found: 467) (sorry) Rustfmt failed at stdin:165271: line exceeded maximum length (maximum: 100, found: 380) (sorry) Rustfmt failed at stdin:165465: line exceeded maximum length (maximum: 100, found: 545) (sorry) Rustfmt failed at stdin:166069: line exceeded maximum length (maximum: 100, found: 507) (sorry) Rustfmt failed at stdin:166781: line exceeded maximum length (maximum: 100, found: 656) (sorry) Rustfmt failed at stdin:168629: line exceeded maximum length (maximum: 100, found: 1462) (sorry) Rustfmt failed at stdin:169062: line exceeded maximum length (maximum: 100, found: 8027) (sorry) Rustfmt failed at stdin:170420: line exceeded maximum length (maximum: 100, found: 3579) (sorry)

which might not be an issue, but since it involved bindings.rs, I thought I should mention it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant