[rust-dev] build error

Amitava Shee amitava.shee at gmail.com
Sat Apr 7 12:28:19 PDT 2012


I am on osx snow leopard (10.6.8)

amitava:src amitava$ uname -a
Darwin amitava.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

It used to build fine up until now. I get the following error

src/rustc/middle/typeck.rs:370:14: 370:28 error: unresolved name:
ast::re_static
src/rustc/middle/typeck.rs:370               ast::re_static {
                                             ^~~~~~~~~~~~~~
src/rustc/middle/typeck.rs:370:14: 370:28 error: not a enum variant:
ast::re_static
src/rustc/middle/typeck.rs:370               ast::re_static {
                                             ^~~~~~~~~~~~~~
src/rustc/middle/region.rs:380:6: 380:20 error: unresolved name:
ast::re_static
src/rustc/middle/region.rs:380       ast::re_static { /* fallthrough */ }
                                     ^~~~~~~~~~~~~~
src/rustc/middle/region.rs:380:6: 380:20 error: not a enum variant:
ast::re_static
src/rustc/middle/region.rs:380       ast::re_static { /* fallthrough */ }
                                     ^~~~~~~~~~~~~~
src/rustc/metadata/creader.rs:272:8: 272:32 error: unresolved name:
attr::find_linkage_attrs
src/rustc/metadata/creader.rs:272     for
attr::find_linkage_attrs(attrs).each {|attr|
                                          ^~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous errors
make: ***
[x86_64-apple-darwin/stage0/lib/rustc/x86_64-apple-darwin/lib/librustc.dylib]
Error 101

Here's my git log output
==================
amitava:src amitava$ git log
commit 7aaa120bcc8819c32c78f49aee90b331a2759a40
Author: Haitao Li <lihaitao at gmail.com>
Date:   Sun Apr 8 02:00:00 2012 +0800

    Check version when resolving transitive dependent crates

    Issue #2138

commit 5aa5220f8a3fc3ec0c58dede9f4c14be4a3752af
Author: Haitao Li <lihaitao at gmail.com>
Date:   Sun Apr 8 01:59:37 2012 +0800

    Encode crate dependencies' hash and version data

commit 5300662b4e06f4cde219427bbcc2313eca0a5c51
Author: Niko Matsakis <niko at alum.mit.edu>
Date:   Fri Apr 6 17:37:37 2012 -0700

    Refactor inference so that subtyping/lub/glb share more code

commit 2f42b14b4f57d602ffa446a8f30840c2dcbeb127
Author: Haitao Li <lihaitao at gmail.com>
Date:   Fri Apr 6 18:45:49 2012 +0800

    Use version and hash in crate_map name

    Related issue #2137

Thankd & Regards,
Amitava Shee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120407/0b1ca12f/attachment.html>


More information about the Rust-dev mailing list