The Latest: China: swimmer Chen Xinyi tests positive at Rio

RIO DE JANEIRO (AP) The Latest on the 2016 Summer Olympics being held in Rio de Janeiro (all times local):

3:35 a.m.

Chinese officials say a female Chinese swimmer has tested positive for a banned substance at the Rio Olympics – the first competitor in the sport to fail a test at the games.

The Chinese Swimming Association says 18-year-old Chen Xinyi has tested positive for the diuretic hydrochlorothiazide after she finished fourth in the women's 100-meter butterfly Sunday, missing a bronze medal by nine-hundredths of a second. Xinhua, China's official state news agency, reported the story Friday.

Chen was also scheduled to compete Friday in the 50 meter freestyle.

Chen has applied to the International Olympic Committee to have her B sample tested and to get a hearing on the matter, Xinhua said, citing the swimming association, which promised in a statement to ''take this matter seriously.''