Swift build-script fails with error Unknown target name: "begin_borrow"

Looks like this is caused by [docs] Begin adding section describing OSSA. by gottesmm · Pull Request #32808 · apple/swift · GitHub. There isn’t a section on begin_borrow in the doc hence the warning. cc @Michael_Gottesman

I suppose in the meantime you can probably just fix it locally by doing something like this.