The present invention relates to compounds useful as inhibitors of ATR protein kinase. The invention also relates to pharmaceutically acceptable compositions comprising the compounds of this invention methods of treating of various diseases, disorders, and conditions using the compounds of this invention processes for preparing the compounds of this invention intermediates for the preparation of the compounds of this invention solid forms of the compounds of this invention and methods of using the compounds in in vitro applications, such as the study of kinases in biological and pathological phenomena the study of intracellular signal transduction pathways mediated by such kinases and the comparative evaluation of new kinase inhibitors.The compounds of this invention have formula I-1: wherein the variables are as defined herein.Additionally, the compounds of this invention have formula II: or a pharmaceutically acceptable salt thereof, wherein the variables are as defined herein.本發明係關於適用作ATR蛋白激酶抑制劑之化合物。本發明亦關於包含本發明化合物之醫藥學上可接受之組合物;使用本發明化合物治療多種疾病、病症及病況之方法;製備本發明化合物之方法;用於製備本發明化合物之中間物;本發明化合物之固體形式;及在活體外應用中使用該等化合物之方法,該等活體外應用諸如為生物及病理學現象中之激酶之研究;由該等激酶介導之細胞內信號轉導路徑之研究;及新穎激酶抑制劑之比較評估。本發明化合物具有式I-1:其中各變數如本文中所定義。另外,本發明化合物具有式II:或其醫藥學上可接受之鹽,其中各變數如本文中所定義。