Deductions & credits

I do not see how foreign source income included in a W-2 is not taxable. I do not think it should be subtracted on Line 21. Edited to insert "not"

Further, if it is not taxable in the US, then you cannot claim a foreign tax credit because it has not been taxed by the US and another country.