Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coreutils (dis)armed #719

Closed
MagaTailor opened this issue Nov 25, 2015 · 0 comments
Closed

Coreutils (dis)armed #719

MagaTailor opened this issue Nov 25, 2015 · 0 comments

Comments

@MagaTailor
Copy link

More fallout from this.

For example:

Compiling chroot v0.0.1 (file:///tmp/coreutils-master)
src/chroot/../common/c_types.rs:1:43: 1:61 warning: unknown `allow` attribute: `raw_pointer_derive`, #[warn(unknown_lints)] on by default
src/chroot/../common/c_types.rs:1 #![allow(dead_code, non_camel_case_types, raw_pointer_derive)]
                                                                            ^~~~~~~~~~~~~~~~~~
src/chroot/../common/c_types.rs:131:26: 131:72 error: mismatched types:
 expected `*const u8`,
    found `*const i8`
(expected u8,
    found i8) [E0308]
src/chroot/../common/c_types.rs:131                 getpwnam(cstr.as_bytes_with_nul().as_ptr() as *const i8)
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/chroot/../common/c_types.rs:131:26: 131:72 help: run `rustc --explain E0308` to see a detailed explanation`

or

Compiling nohup v0.0.1 (file:///tmp/coreutils-master)
src/nohup/../common/c_types.rs:1:43: 1:61 warning: unknown `allow` attribute: `raw_pointer_derive`, #[warn(unknown_lints)] on by default
src/nohup/../common/c_types.rs:1 #![allow(dead_code, non_camel_case_types, raw_pointer_derive)]
                                                                           ^~~~~~~~~~~~~~~~~~
src/nohup/../common/c_types.rs:131:26: 131:72 error: mismatched types:
 expected `*const u8`,
    found `*const i8`
(expected u8,
    found i8) [E0308]
src/nohup/../common/c_types.rs:131                 getpwnam(cstr.as_bytes_with_nul().as_ptr() as *const i8)
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/nohup/../common/c_types.rs:131:26: 131:72 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error

etc.

ebfe added a commit to ebfe/coreutils that referenced this issue Dec 13, 2015
@ebfe ebfe mentioned this issue Dec 13, 2015
ebfe added a commit to ebfe/coreutils that referenced this issue Dec 19, 2015
@cnd cnd closed this as completed in #745 Dec 19, 2015
Arcterus pushed a commit to Arcterus/coreutils that referenced this issue Jun 18, 2020
rivy pushed a commit to rivy/rs.coreutils that referenced this issue Nov 7, 2020
rivy pushed a commit to rivy/rs.coreutils that referenced this issue Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant