{"action":"closed","issue":{"url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines/issues/8","repository_url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines","labels_url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines/issues/8/comments","events_url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines/issues/8/events","html_url":"https://github.com/dtolnay/cargo-llvm-lines/issues/8","id":279492966,"node_id":"MDU6SXNzdWUyNzk0OTI5NjY=","number":8,"title":"Fails to compile on windows","user":{"login":"fkaa","id":768574,"node_id":"MDQ6VXNlcjc2ODU3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/768574?v=4","gravatar_id":"","url":"https://api.github.com/users/fkaa","html_url":"https://github.com/fkaa","followers_url":"https://api.github.com/users/fkaa/followers","following_url":"https://api.github.com/users/fkaa/following{/other_user}","gists_url":"https://api.github.com/users/fkaa/gists{/gist_id}","starred_url":"https://api.github.com/users/fkaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkaa/subscriptions","organizations_url":"https://api.github.com/users/fkaa/orgs","repos_url":"https://api.github.com/users/fkaa/repos","events_url":"https://api.github.com/users/fkaa/events{/privacy}","received_events_url":"https://api.github.com/users/fkaa/received_events","type":"User","site_admin":false},"labels":[{"id":765341671,"node_id":"MDU6TGFiZWw3NjUzNDE2NzE=","url":"https://api.github.com/repos/dtolnay/cargo-llvm-lines/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-05T19:05:12Z","updated_at":"2018-06-28T16:38:01Z","closed_at":"2018-06-28T16:38:01Z","author_association":"NONE","body":"```bash\r\n>cargo install cargo-llvm-lines\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n  Installing cargo-llvm-lines v0.1.1\r\n   Compiling winapi-build v0.1.1\r\n   Compiling winapi v0.2.8\r\n   Compiling rustc-demangle v0.1.5\r\n   Compiling libc v0.2.34\r\n   Compiling rand v0.3.18\r\n   Compiling kernel32-sys v0.2.2\r\n   Compiling tempdir v0.3.5\r\n   Compiling isatty v0.1.6\r\n   Compiling cargo-llvm-lines v0.1.1\r\nerror[E0433]: failed to resolve. Could not find `unix` in `os`\r\n   --> C:\\Users\\tmtu\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cargo-llvm-lines-0.1.1\\src\\main.rs:174:22\r\n    |\r\n174 |         use std::os::unix::io::{AsRawFd, FromRawFd};\r\n    |                      ^^^^ Could not find `unix` in `os`\r\n\r\nerror[E0433]: failed to resolve. Use of undeclared type or module `AsRawFd`\r\n   --> C:\\Users\\tmtu\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cargo-llvm-lines-0.1.1\\src\\main.rs:184:58\r\n    |\r\n184 |             Stdio::from_raw_fd(child.stdout.as_ref().map(AsRawFd::as_raw_fd).unwrap())\r\n    |                                                          ^^^^^^^ Use of undeclared type or module `AsRawFd`\r\n\r\nerror[E0433]: failed to resolve. Use of undeclared type or module `AsRawFd`\r\n   --> C:\\Users\\tmtu\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cargo-llvm-lines-0.1.1\\src\\main.rs:190:58\r\n    |\r\n190 |             Stdio::from_raw_fd(child.stderr.as_ref().map(AsRawFd::as_raw_fd).unwrap())\r\n    |                                                          ^^^^^^^ Use of undeclared type or module `AsRawFd`\r\n\r\nerror[E0599]: no function or associated item named `from_raw_fd` found for type `std::process::Stdio` in the current scope\r\n   --> C:\\Users\\tmtu\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cargo-llvm-lines-0.1.1\\src\\main.rs:184:13\r\n    |\r\n184 |             Stdio::from_raw_fd(child.stdout.as_ref().map(AsRawFd::as_raw_fd).unwrap())\r\n    |             ^^^^^^^^^^^^^^^^^^ function or associated item not found in `std::process::Stdio`\r\n\r\nerror[E0599]: no function or associated item named `from_raw_fd` found for type `std::process::Stdio` in the current scope\r\n   --> C:\\Users\\tmtu\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cargo-llvm-lines-0.1.1\\src\\main.rs:190:13\r\n    |\r\n190 |             Stdio::from_raw_fd(child.stderr.as_ref().map(AsRawFd::as_raw_fd).unwrap())\r\n    |             ^^^^^^^^^^^^^^^^^^ function or associated item not found in `std::process::Stdio`\r\n\r\nerror: aborting due to 6 previous errors\r\n\r\nerror: failed to compile `cargo-llvm-lines v0.1.1`, intermediate artifacts can be found at `C:\\Users\\tmtu\\AppData\\Local\\Temp\\cargo-install.7IIKZmFJrIFc`\r\n\r\nCaused by:\r\n  Could not compile `cargo-llvm-lines`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n```"}}
{"actor":{"display_login":"dtolnay"}}