Opened 5 years ago

Last modified 4 months ago

#60434 new defect

racer @2.0.12: error[E0423]: expected function, tuple struct or tuple variant, found struct `ast::Name`

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: racer

Description

racer @2.0.12 does not build, at least not on my macOS High Sierra system:

error[E0423]: expected function, tuple struct or tuple variant, found struct `ast::Name`
   --> /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/.home/.cargo/macports/syntex_syntax-0.52.0/src/symbol.rs:146:27
    |
146 |                       name: ast::Name($index),
    |                             ^^^^^^^^^
...
165 | / declare_keywords! {
166 | |     // Invalid identifier
167 | |     (0,  Invalid,        "")
168 | |
...   |
228 | |     (55, Union,          "union")
229 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0423`.
error: could not compile `syntex_syntax`.
Caused by:
  process didn't exit successfully: `rustc --crate-name syntex_syntax /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/.home/.cargo/macports/syntex_syntax-0.52.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C debuginfo=2 -C metadata=939922f18aaa168f -C extra-filename=-939922f18aaa168f --out-dir /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps --target x86_64-apple-darwin -L dependency=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps -L dependency=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/release/deps --extern bitflags=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/libbitflags-1e758139b029d748.rmeta --extern libc=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/liblibc-4727237755072213.rmeta --extern log=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/liblog-e7e4b36f6732aeba.rmeta --extern rustc_serialize=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/librustc_serialize-412b72b7485d1e68.rmeta --extern syntex_errors=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/libsyntex_errors-af3aa5914b794b62.rmeta --extern syntex_pos=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/libsyntex_pos-4f369c9980f4c59b.rmeta --extern term=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/libterm-acc54d12db1f25da.rmeta --extern unicode_xid=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-rust-racer-31a1c3c/target/x86_64-apple-darwin/release/deps/libunicode_xid-04cb8e030b176832.rmeta --cap-lints allow -C linker=/usr/bin/clang` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
Command failed:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_racer/racer/work/racer-2.0.12" && /opt/local/bin/cargo build --release --frozen -v -j8
Exit code: 101

Attachments (1)

main.log.bz2 (9.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added
Note: See TracTickets for help on using tickets.