{"id":628,"date":"2024-10-17T12:39:24","date_gmt":"2024-10-17T12:39:24","guid":{"rendered":"https:\/\/carson.fenimorefamily.com\/?p=628"},"modified":"2024-10-17T12:39:25","modified_gmt":"2024-10-17T12:39:25","slug":"cargo-build-freezing","status":"publish","type":"post","link":"https:\/\/carson.fenimorefamily.com\/?p=628","title":{"rendered":"Cargo build freezing&#8230;"},"content":{"rendered":"\n<p>Occasionally cargo build freezes near the last step (26\/27 for me) and i ctrl-c. Then running cargo build again I get this error:<\/p>\n\n\n\n<p>&#8220;<strong>Blocking<\/strong> waiting for file lock on build directory&#8221;<\/p>\n\n\n\n<p>Searching the internets people claim this can be fixable by clearing out the package-cache (&#8220;rm -rf ~\/.cargo\/.package-cache&#8221;), however this doesn&#8217;t work for me. What DOES work is cargo clean then rebuild. This takes WAY too long.  A better way is to just pkill the running process (ps aux | grep cargo, or pkill cargo).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally cargo build freezes near the last step (26\/27 for me) and i ctrl-c. Then running cargo build again I get this error: &#8220;Blocking waiting for file lock on build directory&#8221; Searching the internets people claim this can be fixable by clearing out the package-cache (&#8220;rm -rf ~\/.cargo\/.package-cache&#8221;), however this doesn&#8217;t work for me. What &hellip; <a href=\"https:\/\/carson.fenimorefamily.com\/?p=628\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cargo build freezing&#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-628","post","type-post","status-publish","format-standard","hentry","category-rust"],"_links":{"self":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=628"}],"version-history":[{"count":1,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/628\/revisions"}],"predecessor-version":[{"id":629,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/628\/revisions\/629"}],"wp:attachment":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}