{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/787","repository_url":"https://api.github.com/repos/rust-lang-nursery/rls","labels_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/787/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/787/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/787/events","html_url":"https://github.com/rust-lang-nursery/rls/issues/787","id":307859063,"number":787,"title":"RLS and build scripts","user":{"login":"rocallahan","id":296135,"avatar_url":"https://avatars0.githubusercontent.com/u/296135?v=4","gravatar_id":"","url":"https://api.github.com/users/rocallahan","html_url":"https://github.com/rocallahan","followers_url":"https://api.github.com/users/rocallahan/followers","following_url":"https://api.github.com/users/rocallahan/following{/other_user}","gists_url":"https://api.github.com/users/rocallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/rocallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocallahan/subscriptions","organizations_url":"https://api.github.com/users/rocallahan/orgs","repos_url":"https://api.github.com/users/rocallahan/repos","events_url":"https://api.github.com/users/rocallahan/events{/privacy}","received_events_url":"https://api.github.com/users/rocallahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T00:18:21Z","updated_at":"2018-03-23T00:18:21Z","closed_at":null,"author_association":"NONE","body":"I built my own RLS from the current master and tried using it with VSCode on our workspace project. Our project builds clean with stable and nightly compilers. Running `rm -rf target/rls` and then `RUST_DEBUG=rls=debug,cargo=debug code` I get output culminating with\r\n```\r\nINFO:cargo::ops::cargo_rustc::job_queue: start: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(lib)/Profile(check) => Host\r\nDEBUG:cargo::ops::cargo_rustc: linking /home/roc/pernosco/code/target/rls/debug/deps/libapp_service-f5325063338ed139.rmeta to /home/roc/pernosco/code/target/rls/debug/libapp_service.rmeta\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: write fingerprint: /home/roc/pernosco/code/target/rls/debug/.fingerprint/app-service-f5325063338ed139/lib-app_service-f5325063338ed139\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: app-service v0.1.0 (file:///home/roc/pernosco/code/app-service) => Target(lib)/Profile(check) => Host\r\nINFO:cargo::ops::cargo_rustc::job_queue: start: test-tools v0.1.0 (file:///home/roc/pernosco/code/test-tools) => Target(lib)/Profile(check) => Host\r\nINFO:cargo::ops::cargo_rustc::job_queue: start: write-recorder v0.1.0 (file:///home/roc/pernosco/code/write-recorder) => Target(lib)/Profile(check) => Host\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(lib)/Profile(check) => Host\r\nDEBUG:cargo: handle_error; err=Error { repr: Os { code: 2, message: \"No such file or directory\" } }\r\n\r\nstack backtrace:\r\n   0:     0x5573e62bb9ac - backtrace::backtrace::trace::hdfa95f8d32c4833a\r\n   1:     0x5573e62bb0a2 - backtrace::capture::Backtrace::new_unresolved::heb777c4a2573ab70\r\n   2:     0x5573e613006e - failure::backtrace::internal::InternalBacktrace::new::hf74106a8eec73313\r\n   3:     0x5573e612fe01 - failure::backtrace::Backtrace::new::h675f1f1c4c6e99b6\r\n   4:     0x5573e60ac565 - <core::result::Result<T, E> as cargo::util::errors::CargoResultExt<T, E>>::chain_err::hfd54ef76fcc9ea7b\r\n   5:     0x5573e5f6e20f - cargo::ops::cargo_rustc::fingerprint::Fingerprint::update_local::hcbad74533042b334\r\n   6:     0x5573e5f740a9 - <F as cargo::ops::cargo_rustc::job::FnBox<A, R>>::call_box::h6e203759248d524c\r\n   7:     0x5573e5ef88c5 - <F as cargo::ops::cargo_rustc::job::FnBox<A, R>>::call_box::hb5bfe3508ea79969\r\n   8:     0x5573e5ef9e0e - cargo::ops::cargo_rustc::job::Job::run::h8fc46ce5ec1dc47f\r\n   9:     0x5573e6070f8d - <F as crossbeam::FnBox>::call_box::h0b498d38a9f3ba64\r\n  10:     0x7efeab7e742e - __rust_maybe_catch_panic\r\n                        at /checkout/src/libpanic_unwind/lib.rs:101\r\n  11:     0x5573e60b6e43 - <F as alloc::boxed::FnBox<A>>::call_box::h07cc3581f2e0e2ae\r\n  12:     0x7efeab7bdfe7 - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h45bad4268ff813ab\r\n                        at /checkout/src/liballoc/boxed.rs:825\r\n                         - std::sys_common::thread::start_thread::h97260957c81cf142\r\n                        at /checkout/src/libstd/sys_common/thread.rs:24\r\n  13:     0x7efeab79c218 - std::sys::unix::thread::Thread::new::thread_start::h3838be2df5be642c\r\n                        at /checkout/src/libstd/sys/unix/thread.rs:90\r\n  14:     0x7efeab12e50a - start_thread\r\n  15:     0x7efeaa90416e - clone\r\n  16:                0x0 - <unknown>\r\n\r\nfailed to stat `/home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-bf66aacf144de699/dep-lib-registers_recorder-bf66aacf144de699`\r\nDEBUG:cargo::ops::cargo_rustc: linking /home/roc/pernosco/code/target/rls/debug/deps/libtest_tools-f95ad9b7f39d24aa.rmeta to /home/roc/pernosco/code/target/rls/debug/libtest_tools.rmeta\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: write fingerprint: /home/roc/pernosco/code/target/rls/debug/.fingerprint/test-tools-f95ad9b7f39d24aa/lib-test_tools-f95ad9b7f39d24aa\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: test-tools v0.1.0 (file:///home/roc/pernosco/code/test-tools) => Target(lib)/Profile(check) => Host\r\nDEBUG:cargo::ops::cargo_rustc: linking /home/roc/pernosco/code/target/rls/debug/deps/libwrite_recorder-40e51b06e780b29e.rmeta to /home/roc/pernosco/code/target/rls/debug/libwrite_recorder.rmeta\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: write fingerprint: /home/roc/pernosco/code/target/rls/debug/.fingerprint/write-recorder-40e51b06e780b29e/lib-write_recorder-40e51b06e780b29e\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: write-recorder v0.1.0 (file:///home/roc/pernosco/code/write-recorder) => Target(lib)/Profile(check) => Host\r\nINFO:rls::build::cargo: cargo failed\r\ncause: build failed\r\nstdout: \r\nCaused by:\r\n  No such file or directory (os error 2)\r\n```\r\nEarlier on there are other `registers-recorder` jobs:\r\n```\r\nINFO:cargo::ops::cargo_rustc::job_queue: start: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(script)/Profile(build) => Host\r\nDEBUG:cargo::ops::cargo_rustc: linking /home/roc/pernosco/code/target/rls/debug/build/registers-recorder-23f6f7f693c05546/build_script_build-23f6f7f693c05546 to /home/roc/pernosco/code/target/rls/debug/build/registers-recorder-23f6f7f693c05546/build-script-build\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: write fingerprint: /home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-23f6f7f693c05546/build-script-build_script_build-23f6f7f693c05546\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(script)/Profile(build) => Host\r\nINFO:cargo::ops::cargo_rustc::job_queue: start: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(script)/Profile(run) => Host\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: write fingerprint: /home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-a6e4a634eef8af90/build\r\nINFO:cargo::ops::cargo_rustc::job_queue: end: registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder) => Target(script)/Profile(run) => Host\r\n```\r\nand even earlielr\r\n```\r\nINFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder): failed to read `/home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-a6e4a634eef8af90/build`\r\nINFO:cargo::ops::cargo_rustc::fingerprint:   cause: No such file or directory (os error 2)\r\nDEBUG:cargo::ops::cargo_rustc::fingerprint: fingerprint at: /home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-23f6f7f693c05546/build-script-build_script_build-23f6f7f693c05546\r\nINFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for registers-recorder v0.1.0 (file:///home/roc/pernosco/code/registers-recorder): failed to read `/home/roc/pernosco/code/target/rls/debug/.fingerprint/registers-recorder-23f6f7f693c05546/build-script-build_script_build-23f6f7f693c05546`\r\nINFO:cargo::ops::cargo_rustc::fingerprint:   cause: No such file or directory (os error 2)\r\nINFO:cargo::ops::cargo_rustc::context: Target filenames: [(\"/home/roc/pernosco/code/target/rls/debug/build/registers-recorder-23f6f7f693c05546/build_script_build-23f6f7f693c05546\", Some(\"/home/roc/pernosco/code/target/rls/debug/build/registers-recorder-23f6f7f693c05546/build-script-build\"), Normal)]\r\n```\r\nI don't know what `dep-lib-registers_recorder-bf66aacf144de699` is supposed to be, but that hash doesn't occur anywhere in the RUST_LOG output.\r\n`ls target/rls/debug/.fingerprint/registers-recorder-*` gives\r\n```\r\ntarget/rls/debug/.fingerprint/registers-recorder-23f6f7f693c05546:\r\nbuild-script-build_script_build-23f6f7f693c05546  build-script-build_script_build-23f6f7f693c05546.json  dep-build-script-build_script_build-23f6f7f693c05546\r\n\r\ntarget/rls/debug/.fingerprint/registers-recorder-a6e4a634eef8af90:\r\nbuild  build.json\r\n\r\ntarget/rls/debug/.fingerprint/registers-recorder-bf66aacf144de699:\r\n```"}}
{"actor":{"display_login":"rocallahan"}}