Hello! Autosynth couldn't regenerate nodejs-functions. 💔
[email protected] prepare /home/kbuilder/.cache/synthtool/nodejs-functions
> npm run compile-protos && npm run compile
> @google-cloud/[email protected] compile-protos /home/kbuilder/.cache/synthtool/nodejs-functions
> compileProtos src
> @google-cloud/[email protected] compile /home/kbuilder/.cache/synthtool/nodejs-functions
> tsc -p . && cp -r protos build/
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 647 packages in 13.573s
57 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
/home/kbuilder/.nvm/versions/node/v14.15.0/lib/node_modules/@google-cloud/functions -> /home/kbuilder/.cache/synthtool/nodejs-functions
/home/kbuilder/.cache/synthtool/nodejs-functions/samples/node_modules/@google-cloud/functions -> /home/kbuilder/.nvm/versions/node/v14.15.0/lib/node_modules/@google-cloud/functions -> /home/kbuilder/.cache/synthtool/nodejs-functions
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
removed 1 package and audited 138 packages in 1.809s
17 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-11-07 03:00:28,067 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/[email protected] fix /home/kbuilder/.cache/synthtool/nodejs-functions
> gts fix
version: 14
2020-11-07 03:00:36,292 synthtool [DEBUG] > Compiling protos...
DEBUG:synthtool:Compiling protos...
2020-11-07 03:00:40,832 synthtool [DEBUG] > Post-processing completed
DEBUG:synthtool:Post-processing completed
2020-11-07 03:00:43,833 synthtool [INFO] > Removing obsolete file package-lock.json.620595561...
INFO:synthtool:Removing obsolete file package-lock.json.620595561...
2020-11-07 03:00:43,833 synthtool [INFO] > Removing obsolete file __pycache__/synth.cpython-37.pyc...
INFO:synthtool:Removing obsolete file __pycache__/synth.cpython-37.pyc...
2020-11-07 03:00:43,833 synthtool [INFO] > Removing obsolete file samples/package-lock.json.2747171955...
INFO:synthtool:Removing obsolete file samples/package-lock.json.2747171955...
2020-11-07 03:00:43,834 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2020-11-07 03:00:43,894 autosynth [INFO] > Changed files:
2020-11-07 03:00:43,894 autosynth [INFO] > D __pycache__/synth.cpython-37.pyc
M synth.metadata
2020-11-07 03:00:43,894 autosynth [DEBUG] > Running: git log 24738f112727b56fc180b2ad3280456ccabd1af8 -1 --no-decorate --pretty=%s
2020-11-07 03:00:43,898 autosynth [DEBUG] > Running: git log 24738f112727b56fc180b2ad3280456ccabd1af8 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-11-07 03:00:43,901 autosynth [DEBUG] > Running: git add -A
2020-11-07 03:00:43,905 autosynth [DEBUG] > Running: git status --porcelain
2020-11-07 03:00:43,909 autosynth [DEBUG] > Running: git commit -m fix: do not modify options object, use defaultScopes
Regenerated the library using
[gapic-generator-typescript](https://github.com/googleapis/gapic-generator-typescript)
v1.2.1.
Source-Author: Alexander Fenster <[email protected]>
Source-Date: Fri Nov 6 15:42:23 2020 -0800
Source-Repo: googleapis/nodejs-functions
Source-Sha: 24738f112727b56fc180b2ad3280456ccabd1af8
Source-Link: https://github.com/googleapis/nodejs-functions/commit/24738f112727b56fc180b2ad3280456ccabd1af8
[autosynth-synthtool-0 7837826] fix: do not modify options object, use defaultScopes
2 files changed, 10 insertions(+), 5 deletions(-)
delete mode 100644 __pycache__/synth.cpython-37.pyc
2020-11-07 03:00:43,916 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7837826 fix: do not modify options object, use defaultScopes
2020-11-07 03:00:43,919 autosynth [DEBUG] > Running: git checkout autosynth-synthtool
Switched to branch 'autosynth-synthtool'
2020-11-07 03:00:43,924 autosynth [DEBUG] > Running: git diff HEAD..autosynth-synthtool-0 -- . :(exclude)synth.metadata
2020-11-07 03:00:43,927 autosynth [DEBUG] > Running: git diff HEAD autosynth-synthtool-0
2020-11-07 03:00:43,930 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmph420qytx/autosynth-synthtool-0.patch
error: cannot apply binary patch to '__pycache__/synth.cpython-37.pyc' without full index line
error: __pycache__/synth.cpython-37.pyc: patch does not apply
2020-11-07 03:00:43,933 autosynth [ERROR] > Command '['git', 'apply', '/tmpfs/tmp/tmph420qytx/autosynth-synthtool-0.patch']' returned non-zero exit status 1.
2020-11-07 03:00:44,111 autosynth [DEBUG] > Running: git checkout 24738f112727b56fc180b2ad3280456ccabd1af8
Note: checking out '24738f112727b56fc180b2ad3280456ccabd1af8'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 24738f1 fix: do not modify options object, use defaultScopes (#38)
2020-11-07 03:00:44,116 autosynth [DEBUG] > Running: git checkout 1f1148d3c7a7a52f0c98077f976bd9b3c948ee2b
HEAD is now at 1f1148d chore: add blacken to template (#842)
2020-11-07 03:00:44,121 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-11-07 03:00:44,125 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-11-07 03:00:44,129 autosynth [DEBUG] > Running: git merge --ff-only autosynth-synthtool-0
Updating 24738f1..7837826
Fast-forward
__pycache__/synth.cpython-37.pyc | Bin 988 -> 0 bytes
synth.metadata | 15 ++++++++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
delete mode 100644 __pycache__/synth.cpython-37.pyc
2020-11-07 03:00:44,136 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7837826 fix: do not modify options object, use defaultScopes
2020-11-07 03:00:44,140 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-07 03:00:44,144 autosynth [DEBUG] > Running: git diff HEAD..autosynth-0 -- . :(exclude)synth.metadata
2020-11-07 03:00:44,148 autosynth [DEBUG] > Running: git diff HEAD autosynth-0
2020-11-07 03:00:44,151 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmph420qytx/autosynth-0.patch
error: cannot apply binary patch to '__pycache__/synth.cpython-37.pyc' without full index line
error: __pycache__/synth.cpython-37.pyc: patch does not apply
2020-11-07 03:00:44,154 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/synth.cpython-36.pyc
Removing build/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 92, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 149, in synthesize_inner_loop
toolbox.patch_merge_version(0, comment)
File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
git.patch_merge(sub_branch, patch_file_path)
File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
subprocess.check_call(command, **args)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmph420qytx/autosynth-synthtool-0.patch']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 100, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 149, in synthesize_inner_loop
toolbox.patch_merge_version(0, comment)
File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
git.patch_merge(sub_branch, patch_file_path)
File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
subprocess.check_call(command, **args)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmph420qytx/autosynth-0.patch']' returned non-zero exit status 1.