Hello, We are the team of students from NC State working on the project *M1506: Refactor GLES2 implementation for non-android platforms. * The team members are Divya Jain, Neal O'Hara & Prashant Gupta.
When we clone the rust-layers and run cargo build, we are getting compile errors using the latest nightly build of rust on aster v0.4.10 module. We have the error attached in the file. We are wondering if it is a known issue or is there a workaround for this? Thank you Regards Divya Jain
> rust-layers/ cargo build --verbose Compiling make-cmd v0.1.0 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/make-cmd-0.1.0/src/lib.rs --crate-name make_cmd --crate-type lib -g -C metadata=ab8a67340b84cd87 -C extra-filename=-ab8a67340b84cd87 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling skia v0.0.20130412 (https://github.com/servo/skia#c743b936) Running `rustc /home/ngohara/.cargo/git/checkouts/skia-f12ca6b6c762458f/master/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/build/skia-d333fdba915552af --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling rustc-serialize v0.3.16 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/rustc-serialize-0.3.16/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=7ff5bfc027146194 -C extra-filename=-7ff5bfc027146194 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Fresh libc v0.1.10 Compiling serde_codegen v0.5.3 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/serde_codegen-0.5.3/build.rs --crate-name build_script_build --crate-type bin -g --cfg feature=\"quasi_macros\" --cfg feature=\"nightly\" --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/build/serde_codegen-dd5523c3ab9d998b --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling winapi v0.2.4 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/winapi-0.2.4/src/lib.rs --crate-name winapi --crate-type lib -g -C metadata=21b078e9a1931364 -C extra-filename=-21b078e9a1931364 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling winapi-build v0.1.1 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=304afb6bdff23d72 -C extra-filename=-304afb6bdff23d72 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling log v0.3.2 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/log-0.3.2/src/lib.rs --crate-name log --crate-type lib -g -C metadata=f18a3e885170bd3f -C extra-filename=-f18a3e885170bd3f --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --extern libc=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps/liblibc-144c435538abd757.rlib --cap-lints allow` Compiling bitflags v0.3.2 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/bitflags-0.3.2/src/lib.rs --crate-name bitflags --crate-type lib -g -C metadata=c495827ddcd6a202 -C extra-filename=-c495827ddcd6a202 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling xml-rs v0.1.26 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.26/src/lib.rs --crate-name xml --crate-type lib -g -C metadata=ec337cc3dc06d297 -C extra-filename=-ec337cc3dc06d297 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --extern bitflags=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps/libbitflags-c495827ddcd6a202.rlib --cap-lints allow` Fresh khronos_api v0.0.8 Compiling azure v0.1.0 (https://github.com/servo/rust-azure#cf625c81) Running `rustc /home/ngohara/.cargo/git/checkouts/rust-azure-97bcec2370a94878/master/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/build/azure-f792f70de9cc89e8 --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling quasi v0.3.4 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/quasi-0.3.4/src/lib.rs --crate-name quasi --crate-type lib -g -C metadata=efbd7ea6c8509942 -C extra-filename=-efbd7ea6c8509942 --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` Compiling aster v0.4.10 Running `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/lib.rs --crate-name aster --crate-type lib -g -C metadata=b2447dd3d53f960d -C extra-filename=-b2447dd3d53f960d --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:462:18: 462:32 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:462 impl<F> Invoke<P<ast::StructDef>> for ItemStructBuilder<F> ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:462:18: 462:32 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:467:35: 467:49 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:467 fn invoke(self, struct_def: P<ast::StructDef>) -> F::Result { ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:467:35: 467:49 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:508:26: 508:40 error: `ast::StructDef` does not name a structure [E0422] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:508 let struct_def = ast::StructDef { ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/item.rs:508:26: 508:40 help: run `rustc --explain E0422` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:25:23: 25:37 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:25 where F: Invoke<P<ast::StructDef>> ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:25:23: 25:37 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:60:32: 60:46 error: `ast::StructDef` does not name a structure [E0422] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:60 self.callback.invoke(P(ast::StructDef { ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:60:32: 60:46 help: run `rustc --explain E0422` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:68:23: 68:37 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:68 where F: Invoke<P<ast::StructDef>>, ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/struct_def.rs:68:23: 68:37 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:67:43: 67:59 error: use of undeclared type name `ast::VariantKind` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:67 pub fn build_variant_kind(self, kind: ast::VariantKind) -> F::Result { ^~~~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:67:43: 67:59 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:104:15: 104:30 error: use of undeclared type name `ast::VariantArg` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:104 args: Vec<ast::VariantArg>, ^~~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:104:15: 104:30 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:120:24: 120:39 error: `ast::VariantArg` does not name a structure [E0422] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:120 self.args.push(ast::VariantArg { ^~~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:120:24: 120:39 help: run `rustc --explain E0422` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:132:20: 132:41 error: unresolved name `ast::TupleVariantKind` [E0425] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:132 let kind = ast::TupleVariantKind(self.args); ^~~~~~~~~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:132:20: 132:41 help: run `rustc --explain E0425` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:173:18: 173:32 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:173 impl<F> Invoke<P<ast::StructDef>> for VariantStructBuilder<F> ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:173:18: 173:32 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:178:35: 178:49 error: use of undeclared type name `ast::StructDef` [E0412] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:178 fn invoke(self, struct_def: P<ast::StructDef>) -> F::Result { ^~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:178:35: 178:49 help: run `rustc --explain E0412` to see a detailed explanation /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:179:20: 179:42 error: unresolved name `ast::StructVariantKind` [E0425] /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:179 let kind = ast::StructVariantKind(struct_def); ^~~~~~~~~~~~~~~~~~~~~~ /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/variant.rs:179:20: 179:42 help: run `rustc --explain E0425` to see a detailed explanation error: aborting due to 13 previous errors Build failed, waiting for other jobs to finish... Could not compile `aster`. Caused by: Process didn't exit successfully: `rustc /home/ngohara/.cargo/registry/src/github.com-0a35038f75765ae4/aster-0.4.10/src/lib.rs --crate-name aster --crate-type lib -g -C metadata=b2447dd3d53f960d -C extra-filename=-b2447dd3d53f960d --out-dir /home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --emit=dep-info,link -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps -L dependency=/home/ngohara/Dropbox/517_ECE_ruby/rust-layers/target/debug/deps --cap-lints allow` (exit code: 101)
_______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo