Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

build failure #153

Closed
nerdrew opened this issue Oct 8, 2014 · 4 comments
Closed

build failure #153

nerdrew opened this issue Oct 8, 2014 · 4 comments

Comments

@nerdrew
Copy link

nerdrew commented Oct 8, 2014

I'm getting the following error message when building rust-http-codegen:

Compiling rust-http-codegen v0.1.0-pre (file:///Users/andrew/dev/rust-http/codegen)
/Users/andrew/dev/rust-http/codegen/src/main.rs:3:25: 3:39 error: unknown feature, #[deny(unknown_features)] on by default
/Users/andrew/dev/rust-http/codegen/src/main.rs:3 #![feature(macro_rules, slicing_syntax)]
                                                                          ^~~~~~~~~~~~~~
/Users/andrew/dev/rust-http/codegen/src/branchify.rs:31:52: 31:62 warning: use of deprecated item: use iter_mut, #[warn(deprecated)] on by default
/Users/andrew/dev/rust-http/codegen/src/branchify.rs:31                 for next_branch in branch.children.mut_iter() {
                                                                                                           ^~~~~~~~~~
/Users/andrew/dev/rust-http/codegen/src/status.rs:42:22: 42:60 warning: use of deprecated item: use .push_str() instead, #[warn(deprecated)] on by default
/Users/andrew/dev/rust-http/codegen/src/status.rs:42         self.ident().append(self.reason_padding_spaces()[])
                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/andrew/dev/rust-http/codegen/src/status.rs:64:20: 64:32 warning: use of deprecated item: renamed to .push(), #[warn(deprecated)] on by default
/Users/andrew/dev/rust-http/codegen/src/status.rs:64             result.push_char(c);
                                                                        ^~~~~~~~~~~~
error: aborting due to previous error
Could not compile `rust-http-codegen`.

To learn more, run the command again with --verbose.

ENV:

% rustc -v
rustc 0.12.0-nightly (b5ba2f551 2014-10-06 20:27:14 +0000)
% cargo --version
cargo 0.0.1-pre-nightly (4e49c4c 2014-10-07 03:07:37 +0000)
% uname -a
Darwin marvin.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
@nerdrew
Copy link
Author

nerdrew commented Oct 8, 2014

Hmmm. Upon further reading, it looks like this is a rust bug: rust-lang/rust#17715

@zsiciarz
Copy link

zsiciarz commented Oct 9, 2014

FYI: it builds succesfully after 2af3e35.

@EdBrereton
Copy link

Builds happily in the current nightly version.

@reem
Copy link
Collaborator

reem commented Oct 9, 2014

Closing because this is fixed with the latest commits + nightly.

@reem reem closed this as completed Oct 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants