Skip to content

unable to compile (2015-08-24) #6

@vn971

Description

@vn971

Hi! Unfortunately, gaol does not compile using the current "stable" and "nightly" rustc.

Error with stable:

lib.rs:11:1: 11:21 error: #[feature] may not be used on the stable release channel
lib.rs:11 #![feature(convert)]
          ^~~~~~~~~~~~~~~~~~~~

Error with "rustc 1.4.0-nightly (10d69db0a 2015-08-23)":

tests/file-read-metadata.rs:65:76: 65:93 error: no method named `position_elem` found for type `[u8; 4096]` in the current scope
tests/file-read-metadata.rs:65             PathBuf::from(OsStr::from_bytes(&new_temp_path[..new_temp_path.position_elem(&0)
                                                                                                          ^~~~~~~~~~~~~~~~~
tests/file-read-metadata.rs:65:76: 65:93 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
tests/file-read-metadata.rs:65:76: 65:93 help: candidate #1: use `core::slice::SliceExt`
error: aborting due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions