{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/50189","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/50189/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/50189/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/50189/events","html_url":"https://github.com/rust-lang/rust/issues/50189","id":317006303,"number":50189,"title":"`x.py check` fails for rustc/rustdoc","user":{"login":"QuietMisdreavus","id":5217170,"avatar_url":"https://avatars2.githubusercontent.com/u/5217170?v=4","gravatar_id":"","url":"https://api.github.com/users/QuietMisdreavus","html_url":"https://github.com/QuietMisdreavus","followers_url":"https://api.github.com/users/QuietMisdreavus/followers","following_url":"https://api.github.com/users/QuietMisdreavus/following{/other_user}","gists_url":"https://api.github.com/users/QuietMisdreavus/gists{/gist_id}","starred_url":"https://api.github.com/users/QuietMisdreavus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuietMisdreavus/subscriptions","organizations_url":"https://api.github.com/users/QuietMisdreavus/orgs","repos_url":"https://api.github.com/users/QuietMisdreavus/repos","events_url":"https://api.github.com/users/QuietMisdreavus/events{/privacy}","received_events_url":"https://api.github.com/users/QuietMisdreavus/received_events","type":"User","site_admin":false},"labels":[{"id":325438536,"url":"https://api.github.com/repos/rust-lang/rust/labels/A-rustbuild","name":"A-rustbuild","color":"d7e102","default":false},{"id":650731663,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-bug","name":"C-bug","color":"f5f1fd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T22:32:03Z","updated_at":"2018-04-24T11:26:58Z","closed_at":null,"author_association":"MEMBER","body":"Today I tried to run `x.py check src/tools/rustdoc` and received the following output:\r\n\r\n```console\r\n$ ./x.py check src/tools/rustdoc\r\n    Finished dev [unoptimized] target(s) in 0.0 secs\r\nChecking rustdoc artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)\r\nChecking rustdoc artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)\r\n   Compiling libc v0.2.40\r\n   Compiling bitflags v0.9.1\r\nerror[E0463]: can't find crate for `std`\r\n\r\nerror: aborting due to previous error\r\n\r\nFor more information about this error, try `rustc --explain E0463`.\r\nerror: Could not compile `libc`.\r\n\r\nCaused by:\r\n  process didn't exit successfully: `/home/misdreavus/git/rust/build/bootstrap/debug/rustc --crate-name libc /home/misdreavus/.cargo/registry/src/githu\r\nb.com-1ecc6299db9ec823/libc-0.2.40/src/lib.rs --error-format json --crate-type lib --emit=dep-info,metadata -C debug-assertions=off -C overflow-checks=\r\non --cfg feature=\"default\" --cfg feature=\"use_std\" -C metadata=ed02443a93d1eccc -C extra-filename=-ed02443a93d1eccc --out-dir /home/misdreavus/git/rust\r\n/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/home/misdreavus/git\r\n/rust/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/misdreavus/git/rust/build/x86_64-unknown-li\r\nnux-gnu/stage0-tools/release/deps --cap-lints allow` (exit code: 101)\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror[E0463]: can't find crate for `core`\r\n\r\nerror: aborting due to previous error\r\n\r\nFor more information about this error, try `rustc --explain E0463`.\r\nerror: Could not compile `bitflags`.\r\n\r\nCaused by:\r\n  process didn't exit successfully: `/home/misdreavus/git/rust/build/bootstrap/debug/rustc --crate-name bitflags /home/misdreavus/.cargo/registry/src/g\r\nithub.com-1ecc6299db9ec823/bitflags-0.9.1/src/lib.rs --error-format json --crate-type lib --emit=dep-info,metadata -C debug-assertions=off -C overflow-\r\nchecks=on --cfg feature=\"default\" --cfg feature=\"example_generated\" -C metadata=5a81f943b20a42e4 -C extra-filename=-5a81f943b20a42e4 --out-dir /home/mi\r\nsdreavus/git/rust/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/ho\r\nme/misdreavus/git/rust/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/misdreavus/git/rust/build/\r\nx86_64-unknown-linux-gnu/stage0-tools/release/deps --cap-lints allow` (exit code: 101)\r\ncommand did not execute successfully: \"/home/misdreavus/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo\" \"check\" \"--target\" \"x86_64-unknown-li\r\nnux-gnu\" \"-j\" \"2\" \"--release\" \"--manifest-path\" \"/home/misdreavus/git/rust/src/tools/rustdoc/Cargo.toml\" \"--message-format\" \"json\"\r\nexpected success, got: exit code: 101\r\nthread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\nfailed to run: /home/misdreavus/git/rust/build/bootstrap/debug/bootstrap check src/tools/rustdoc\r\nBuild completed unsuccessfully in 0:00:04\r\n```\r\n\r\nThe \"compilation\" process fails because it doesn't have `std` or `core` handy.\r\n\r\nOddly enough, i get similar failures when i check a compiler crate, but *not* when i check std or core themselves."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/383896987","html_url":"https://github.com/rust-lang/rust/issues/50189#issuecomment-383896987","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/50189","id":383896987,"user":{"login":"varkor","id":3943692,"avatar_url":"https://avatars1.githubusercontent.com/u/3943692?v=4","gravatar_id":"","url":"https://api.github.com/users/varkor","html_url":"https://github.com/varkor","followers_url":"https://api.github.com/users/varkor/followers","following_url":"https://api.github.com/users/varkor/following{/other_user}","gists_url":"https://api.github.com/users/varkor/gists{/gist_id}","starred_url":"https://api.github.com/users/varkor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varkor/subscriptions","organizations_url":"https://api.github.com/users/varkor/orgs","repos_url":"https://api.github.com/users/varkor/repos","events_url":"https://api.github.com/users/varkor/events{/privacy}","received_events_url":"https://api.github.com/users/varkor/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T11:26:58Z","updated_at":"2018-04-24T11:26:58Z","author_association":"CONTRIBUTOR","body":"Does it fail if you just run `x.py check` (i.e. on no specific crate)?"}}
{"actor":{"display_login":"varkor"}}