For my pistols and ARs- I like and use FL paste for cleaning and have been using it successfully for years. I use a small paint brush and brush it on, +Boresnake the barrel, wipe it all off and then oil/grease with ALG &Militech). It is by far the easiest way to clean for me as it is a paste, it cleans very well, it isn't toxic, it doesn't spray everywhere, it smells good, and tub lasts for years. I try to train often so round counts are high and I have not had issues with malfunctions or abnormal wear. It just doesn't feel like a lube to me, although it works great on the sliding door and shower curtain rod.
I did use it on a 10/22 once and a few years later I pulled it out and the bolt was covered in crud so I can attest to it gumming up if left on and used for storage. A hairdryer fixed that quickly.
I just ran out and ordered a tub of track lube to compare!