INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-16 10:05:17,044 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-16 10:05:17,044 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-16 10:05:17,044 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-16 10:05:17,045 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-16 10:05:17,045 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-16 10:05:17,045 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-16 10:05:17,046 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-16 10:05:17,046 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-16 10:05:17,046 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-16 10:05:17,047 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-16 10:05:17,047 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-16 10:05:17,063 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-16 10:05:17,077 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-16 10:05:17,383 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-16 10:05:17,450 autosynth [ERROR] > Synthesis failed
2021-06-16 10:05:17,450 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 2732eb14 feat: add schema support (#3816)
2021-06-16 10:05:17,505 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Feature.php.
2021-06-17 10:05:06,880 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/NormalizedVertex.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/NormalizedVertex.php.
2021-06-17 10:05:06,880 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GcsDestination.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GcsDestination.php.
2021-06-17 10:05:06,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation.php.
2021-06-17 10:05:06,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageAnnotationContext.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageAnnotationContext.php.
2021-06-17 10:05:06,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextDetectionParams.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextDetectionParams.php.
2021-06-17 10:05:06,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListProductSetsResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListProductSetsResponse.php.
2021-06-17 10:05:06,882 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-17 10:05:06,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-17 10:05:06,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-17 10:05:06,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-17 10:05:06,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-17 10:05:06,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-17 10:05:06,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-17 10:05:06,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-17 10:05:06,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-17 10:05:06,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-17 10:05:06,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-17 10:05:06,886 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-17 10:05:06,899 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-17 10:05:06,912 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-17 10:05:07,205 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-17 10:05:07,290 autosynth [ERROR] > Synthesis failed
2021-06-17 10:05:07,291 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8ac25c6f docs(Readme): Fixes "Authentication Guide" link (#4113)
2021-06-17 10:05:07,349 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ld ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product.php.
2021-06-18 10:07:52,828 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/LatLongRect.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/LatLongRect.php.
2021-06-18 10:07:52,829 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileResponse.php.
2021-06-18 10:07:52,829 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Paragraph.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Paragraph.php.
2021-06-18 10:07:52,829 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileRequest.php.
2021-06-18 10:07:52,829 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
2021-06-18 10:07:52,830 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EntityAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EntityAnnotation.php.
2021-06-18 10:07:52,830 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-18 10:07:52,831 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-18 10:07:52,831 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-18 10:07:52,831 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-18 10:07:52,832 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-18 10:07:52,833 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-18 10:07:52,833 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-18 10:07:52,833 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-18 10:07:52,834 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-18 10:07:52,834 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-18 10:07:52,834 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-18 10:07:52,834 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-18 10:07:52,847 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-18 10:07:52,861 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-18 10:07:53,171 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-18 10:07:53,244 autosynth [ERROR] > Synthesis failed
2021-06-18 10:07:53,244 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 09ee1035 chore: release 0.159.0 (#4123)
2021-06-18 10:07:53,306 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
*/\\n\\s{4}protected \\$' in src/V1/DeleteProductRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DeleteProductRequest.php.
2021-06-19 10:07:00,652 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
2021-06-19 10:07:00,652 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation.php.
2021-06-19 10:07:00,652 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AnnotateFileRequest.php.
2021-06-19 10:07:00,653 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/BatchOperationMetadata.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/BatchOperationMetadata.php.
2021-06-19 10:07:00,653 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/LocationInfo.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/LocationInfo.php.
2021-06-19 10:07:00,653 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Position.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Position.php.
2021-06-19 10:07:00,654 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-19 10:07:00,654 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-19 10:07:00,654 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-19 10:07:00,655 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-19 10:07:00,655 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-19 10:07:00,655 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-19 10:07:00,655 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-19 10:07:00,656 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-19 10:07:00,657 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-19 10:07:00,657 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-19 10:07:00,657 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-19 10:07:00,658 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-19 10:07:00,673 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-19 10:07:00,687 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-19 10:07:00,989 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-19 10:07:01,066 autosynth [ERROR] > Synthesis failed
2021-06-19 10:07:01,067 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0486bd2d chore: release 0.159.1 (#4134)
2021-06-19 10:07:01,128 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
 src/V1/ListProductSetsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListProductSetsRequest.php.
2021-06-20 10:05:32,551 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Block.php.
2021-06-20 10:05:32,551 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Paragraph.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Paragraph.php.
2021-06-20 10:05:32,551 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListProductSetsResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListProductSetsResponse.php.
2021-06-20 10:05:32,552 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EntityAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EntityAnnotation.php.
2021-06-20 10:05:32,552 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsyncBatchAnnotateImagesRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsyncBatchAnnotateImagesRequest.php.
2021-06-20 10:05:32,552 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CropHint.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CropHint.php.
2021-06-20 10:05:32,553 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-20 10:05:32,553 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-20 10:05:32,553 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-20 10:05:32,554 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-20 10:05:32,554 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-20 10:05:32,554 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-20 10:05:32,554 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-20 10:05:32,555 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-20 10:05:32,555 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-20 10:05:32,556 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-20 10:05:32,556 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-20 10:05:32,556 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-20 10:05:32,569 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-20 10:05:32,581 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-20 10:05:32,855 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-20 10:05:32,901 autosynth [ERROR] > Synthesis failed
2021-06-20 10:05:32,901 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0486bd2d chore: release 0.159.1 (#4134)
2021-06-20 10:05:32,954 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Property.php.
2021-06-21 10:05:18,880 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportProductSetsGcsSource.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportProductSetsGcsSource.php.
2021-06-21 10:05:18,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ColorInfo.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ColorInfo.php.
2021-06-21 10:05:18,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageProperties.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageProperties.php.
2021-06-21 10:05:18,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchParams.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchParams.php.
2021-06-21 10:05:18,881 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageAnnotationContext.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImageAnnotationContext.php.
2021-06-21 10:05:18,882 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/BatchOperationMetadata.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/BatchOperationMetadata.php.
2021-06-21 10:05:18,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-21 10:05:18,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-21 10:05:18,883 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-21 10:05:18,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-21 10:05:18,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-21 10:05:18,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-21 10:05:18,884 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-21 10:05:18,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-21 10:05:18,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-21 10:05:18,885 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-21 10:05:18,886 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-21 10:05:18,886 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-21 10:05:18,900 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-21 10:05:18,912 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-21 10:05:19,186 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-21 10:05:19,238 autosynth [ERROR] > Synthesis failed
2021-06-21 10:05:19,238 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0486bd2d chore: release 0.159.1 (#4134)
2021-06-21 10:05:19,295 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextDetectionParams.php.
2021-06-22 10:06:23,716 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Page.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Page.php.
2021-06-22 10:06:23,716 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetProductSetRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetProductSetRequest.php.
2021-06-22 10:06:23,716 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateProductSetRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateProductSetRequest.php.
2021-06-22 10:06:23,717 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateReferenceImageRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateReferenceImageRequest.php.
2021-06-22 10:06:23,717 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AddProductToProductSetRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AddProductToProductSetRequest.php.
2021-06-22 10:06:23,717 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsyncBatchAnnotateFilesRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsyncBatchAnnotateFilesRequest.php.
2021-06-22 10:06:23,718 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/ObjectAnnotation.php.
2021-06-22 10:06:23,718 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/GroupedResult.php.
2021-06-22 10:06:23,718 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ProductSearchResults/Result.php.
2021-06-22 10:06:23,719 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Product/KeyValue.php.
2021-06-22 10:06:23,719 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedBreak.php.
2021-06-22 10:06:23,719 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/DetectedLanguage.php.
2021-06-22 10:06:23,720 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/TextAnnotation/TextProperty.php.
2021-06-22 10:06:23,720 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebImage.php.
2021-06-22 10:06:23,720 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebEntity.php.
2021-06-22 10:06:23,720 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebLabel.php.
2021-06-22 10:06:23,721 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/WebDetection/WebPage.php.
2021-06-22 10:06:23,721 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/FaceAnnotation/Landmark.php.
2021-06-22 10:06:23,734 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-22 10:06:23,746 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-22 10:06:24,040 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npx'
2021-06-22 10:06:24,087 autosynth [ERROR] > Synthesis failed
2021-06-22 10:06:24,087 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9a2c84a6 feat(spanner): add support for RPC Priority (#4018)
2021-06-22 10:06:24,140 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Ensure make 4.1 is the default on Linux/ppc64le build machines

I've just replaced /usr/bin/make with a symlink to /usr/local/bin/make after hitting the issue described in #499 again. Ideally we'd modify the playbooks to remove the system installed make (as we do for the GIT_Source role unless the dont_remove_system tag is skipped on the playbooks (Hmmm that should possibly have been called remove_system
Since it affected the builds today (Maybe as a result of whatever's causing https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1097) I've adjusted it again so hopefully that will have resolved the immediate problem.

Looks like I might have to "break" one of the real bulid machines in order to verify this ... I'll wait til I'm back in the office though :-)

This issue doesn't appear to be specific to PPC - recently the gmake role has been changed in such a way that it won't execute on any playbooks (ref : #1129 ), and so when running on a SUSE12 Vagrant VM (x86) in the VagrantPlaybookCheck Jenkins job, version 3.82 was being used, which caused the same issues that were on the ppc machines. A PR will be put in to fix the issue with the playbooks.

Let's try and break one of the build machines tomorrow @Willsparker :-)

I've "broken" build-osuosl-centos74-ppc64le-2 so we can see if this recurs. /usr/bin/make is now 3.82 again

Assuming that this issue should still be prevalent when running the JavaFutures Jenkins Job, the issue seems resolved -  build-osuosl-centos74-ppc64le-2 was able to build Loom, Valhalla and Amber in ~1 hr. @sxa555 Did you remove a tag from the machine to stop other jobs from running on it?

https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk14u/job/jdk14u-linux-ppc64le-openj9-linuxXL/4/ ran on that machine so it looks like it's still running things

Looks like /usr/bin/make was  still set as a symlink to 4.1 - I've switched it back to being 3.82 - let's see what happens overnight

Going to close this again as /usr/bin/make being 3.82 is not slowing down build-osuosl-centos74-ppc64le-2. Can re-open (again) if it recurs. It's worth noting that we did see a slowdown on one of the Linux/s390x boxes last week but wasn't clear if it was exactly the same problem

Causing problems again on the openj9 builds - taking 5 hours at present. This screenshot is from the current situation on https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-ppc64le-openj9/ - I've switched /usr/bin/make back to point at 4.1 to prevent slowing down the release cycle any further

It seems that job (as linked above) is back to a fairly consistent time of sub-45 minutes for the build section.

This would fairly point to the issue being the make version, however the playbooks should install gmake fine ( https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/d3f1eca8397c9e5115fef848af84ae28d98b614d/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/gmake/tasks/main.yml#L21 ) , and then subsequently symlink it. I suppose maybe yum broke the symlink by updating make , causing the original issue.
I've also seen no issue with building (or it taking awhile) on CentOS6/7/8 (admittedly they'll be x64) in the VagrantPlaybookCheck Jenkins job, so in the current state, the playbooks should be okay.

The /usr/bin/make symlink is pointing back to our 4.1 make. The underlying issue needs a resolution - at the moment I believe that when the OS updates make it removes the symlink and puts it back to 3.82

So we're back to the intial list of suggestions - presumably option 3 next?

As you say, replace /usr/bin/make with a symlink, but that will be overridden if yum decides to update make ... TO avoid that we can add an exclude for make into /etc/yum.conf

That wouldn't be too difficult to put in - echo "exclude= make" > /etc/yum.conf , except 'Ansiblised'

Update from @sxa on Slack, in response to my above suggestion:

The problem with that is that it could block other things (such as yum) from receiving patches, plus you have to be fairly selective about which systems to apply it to.


Multifield is validating even if disabled

I'm using a multifield with a multifieldpanel (with  the property minItems=1) and this is being enabled/disabled using a checkbox. If the checkbox is disabled, the multifield is being validated and this is making a validation error when the multifield is empty (and disabled).
I've able to fix this in the bellow code but i would like to know if this is really an issue or i'm having a bad implementation:
validate: function() {
            //BEGIN The multifield is disabled FIX
            if(this.hasClass("x-masked")) {
                return true;
            }
           //END The multifield is disabled FIX
            if (this.minItems && (this.getActualItemCount() < this.minItems)) {
                if (!this.allowZeroItems) {
                    this.markInvalid("This field must have at least " + this.minItems + " items.");
                    return false;
                } else if (this.getActualItemCount() > 0 ) {
                    this.markInvalid("This field must have 0 items or at least " + this.minItems + " items.");
                    return false;
                }
            }
            if (this.maxItems && (this.getActualItemCount() > this.maxItems)) {
                this.markInvalid(CQ.I18n.get('You are only allowed to add {0} items to this field', [this.maxItems]));
                return false;
            }

            return originalValidateFunction.apply(this);
        },

@GonzaloCalandria in the interim, could you do something like ...
(function() {
    var acsCommonsValidateFunction = CQ.form.MultiField.prototype.validate;
    CQ.Ext.override(CQ.form.MultiField, {

        validate: function() {
            //BEGIN The multifield is disabled FIX
            if(this.hasClass("x-masked")) {
                return true;
            }
            //END The multifield is disabled FIX

            return acsCommonsValidateFunction.apply(this);
        }
    });
}());

and make that JS part of a clientlibs dependency that is dependent on acs-commons.cq.widgets
Been awhile since ive done anything w ExtJS (TG) so not sure how well that'll work.

ClassicUI


[UIKit] Fix keyboard behavior

Fix keyboard behaviour with SwiftUI interop. The problem was in the default root FocusModifier. Now, we will handle it, And if only root FocusModifier is active - we will ignore it.
Previously
When nothing is focused, and the keyboard appears — the Compose view moves up. That is wrong behavior.
https://user-images.githubusercontent.com/99798741/218848401-da607a48-1665-4fcb-8637-f71096251092.mp4
After
Now, if nothing is focused, and a keyboard appears — then Compose view will stay on current position.
https://user-images.githubusercontent.com/99798741/218848418-eaf619c0-066d-463b-a5f0-bbedad6b550a.mp4

Maybe we should perform a different algorithm? I.e. it will still be an issue, if we have a textfield with a size of the whole screen.
We can decide somehow if the keyboard will intercept the widget after we apply the offset. If this is the case, we won't apply the offset.

if we have a textfield with a size of the whole screen.
Yes, I missed this bug. Users may want to create an application like Notepad, and it will look bad on keyboard appears.

We can decide somehow if the keyboard will intercept the widget after we apply the offset. If this is the case, we won't apply the offset.
Yes, actually I did it. An algorithm looks at selected focused rectangle and decides how much to offset ComposeView on keyboard appearance.

@igordmn The easiest way to change algorithm:
Check, if focused.rectange.top < 0 (position moves out of the screen) — then, move it only to position y = 0.
This check will save current logic and help to solve the problem with fullscreen TextField.

Check, if focused.rectange.top < 0 (position moves out of the screen) — then, move it only to position y = 0.

Sounds good!

This check will save current logic

By current you mean this PR or jb-main?

Sounds good!

After second thought, not so good :). User can't be able to see the text at the bottom of the textfield.
Also, not only textfields can be focused.
I believe we need to check how Android behaves. It has BringIntoViewRequester which is called by textfields.
We can do a quick fix right now (checking root, or with the new algorithm), and make a separate issue with high priority to investigate this.

@igordmn Yeah, good plan. I created issue: https://github.com/JetBrains/compose-jb/issues/2752
The latest commit adds this change:
https://user-images.githubusercontent.com/99798741/219087235-5db2e73f-7113-4c68-8cf1-90ea35779fd6.mp4


Mediapipe face mesh - One single unmovable index at the center of each Eyes appear

One single unmovable index at the center of each Eyes appear.
When all other landmarks are moving as per there face movement, that single landmark is not moving.
Need to know the reason for that steadiness of landmark.

@aishwarya123mathpati,
Closing this as duplicate of #4688. Please follow up with another issue raised. Thank you


does rkt use cgroups for resource control?

Recently started using rkt. When trying to compare docker vs rkt, i find that rkt does not create any new cgroup in any subsystem? Am I missing some internal implementation details here? How does rkt use cgroups for resource control?

There are two parts to this: pod-level resource control and app-level resource control (this is described in the spec as "isolators" here)
rkt itself does not currently provide resource control at the pod level; we instead recommend launching it under systemd (or equivalent). Because rkt execs pods (containers) directly, and does not have a daemon, any limits applied to the run command will continue to apply to the entire pod. (At some point we may explore implementing resource controls directly in rkt, but it's also feasible that we maintain this kind of recommendation instead, since it's a little more flexible.)
For the per-app controls, the default rkt stage1 utilises its built-in systemd to isolate cpu and memory (others to be completed). Note that much of this code has landed only recently on master so you will need to run a recent rkt build to see the effects.
Hopefully that addresses your questions, if not feel free to re-open.

Thanks information links you provided were helpful


[JSON:API] Some custom fetch settings are overridden by defaults

https://github.com/orbitjs/orbit/blob/a3e44597a43e58e1d788e473a9a24edd6bf747e0/packages/%40orbit/jsonapi/src/lib/transform-requests.ts#L160-L164
I have several cases that I need to call custom endpoints to act on records. These endpoints doesn't comply fully with JSON:API, but I'd like Orbit to call them since they return proper formatted JSON:API responses that I would like Orbit to process (add to cache, etc).
Currently:
{
  "data": {
    "id": "1",
    "type": "planet",
    "attributes": {
      "name": "Custom Planet",
      "oxygen": 0.3
    }
  }
}

Example:
remote.update(
  (t) => t.updateRecord({"type": "planet", "id": "1"}),
  {
    sources: {
        remote: {
          settings: {
              method: "POST",
          },
          url: `/api/planets/1/purify-air/`,
        },
    },
  }
);

(Just an example, purify-air can change a lot of other things based on different planet conditions, so can't simply say replaceAttribute(..., "oxygen", 1))
Return:
{
  "data": {
    "id": "1",
    "type": "planet",
    "attributes": {
      "name": "Custom Planet",
      "oxygen": 1
    }
  }
}

Note that I'm using POST instead of PATCH for this custom endpoint, and would like Orbit to treat it as updateRecord/PATCH

We should probably reverse the order of these settings, so that custom settings can always be used to override defaults. For example:
const settings = {
   method: 'PATCH',
   json: requestDoc,
   ...requestProcessor.buildFetchSettings(request)
};

Of course, we'll need some tests to ensure that this doesn't have unintended side effects.

Exactly. I'm not sure though why there are not like that by default :)


[verilator] Add a sim-timeout mechanism

The Verilator testbench chip_earlgrey_verilator does not have a simulation timeout mechanism (AFAIK). If a test hangs due to a bug somewhere, it needs to be manually killed. It will be useful to have a timeout mechanism instead that will gracefully kill the test if it took too long to run.
The timeout can be made programmable so that it is set to a reasonable value for most tests. There may of course be tests that might end up being longer running - for those, we should be able to increase the timeout via a runtime plusarg switch.

Our verilator test wrapper does have command line argument --term-after-cycles that should fulfill your needs. In https://github.com/lowRISC/opentitan/pull/6664 @rswarbrick  also added a way to trigger the same functionality from within the top-level C++ wrapper file.
This gives the ability to set a default for the toplevel simulation, and allows for overriding this default with a command line switch, which is I think all this issue asked for.
@sriyerg, Please let me know if something is missing, or close the issue otherwise.

Thanks; yes, that should do it!


Alternate swerve velocity control

Swap swerve velocity to open loop. This should save battery power and make tuning much easier. The velocity won't be perfectly but that isn't that important.

Can we close #6 since this appears to be a duplicate of it?


ES6 w/Babel and off-click-filter as a helper directive, with a factory for caching

I want to bring in this commit, with a simple gulp task to transpile, plus serve a minified version.
@TheSharpieOne Is this ok?

#40

to build : npm run build or grunt build

Yeah, looks good. Gulp instead of grunt though.

Woops! Muscle memory.


python3Packages.pyfronius: init at 0.5.2

Motivation for this change
Python module to communicate with Fronius Symo
https://github.com/nielstron/pyfronius/
This is a Home Assistant dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 128552 run on x86_64-linux 1

2 packages built:

python38Packages.pyfronius
python39Packages.pyfronius

Result of nixpkgs-review pr 128552 at 16cf8003 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pyfronius
python39Packages.pyfronius

Result of nixpkgs-review pr 128552 run on x86_64-linux 1

2 packages built:

python38Packages.pyfronius
python39Packages.pyfronius


Add possibility to ignore the patch version

Thanks for this nice action
I need to test my CMake modules with different CMake version. CMake patch version are mainly fixing features than expanding features. It would be nice to have an option to always download the highest patch version for a given major/minor version :
    # Option 1: specify in a input parameter the desired version (using multiple lines).
    - name: Get specific version CMake and Ninja
      uses: lukka/get-cmake@latest
      with:
        cmakeVersion: 3.24.x             # <--= optional, overrides the _latest_ version of CMake
        ninjaVersion: 1.11.x             # <--= optional, overrides the _latest_ version of Ninja

@flagarde sound good to me. For the syntax to specify the requested version, would be ok to use semantic version ranges, like npm does on packages.json?

@lukka Any syntax providing the feature would be 0K.

@flagarde you may give a try to the version on PR: get-cmake@dev/any-version

solved in https://github.com/lukka/get-cmake/releases/tag/v3.25.1


some error in kitti_dc.json file

Thanks for your good work.
I am following data_preparing as illustrated in readme.md.
I note that there is "2011_09_28_drive_0016_sync" in the kitti_dc.json.

However, the dataset downloaded from https://github.com/youmizym/CompletionFormer/files/11832324/kitti_archives_to_download.txt does not contain this folder.

It will cause some problems in the training.
Coudl you help me to solve this problem?

Hi,
Thanks for pointing out this. I have updated the script (https://github.com/youmi-zym/CompletionFormer/files/12575038/kitti_archives_to_download.txt) there accordingly. Thanks!
Best,
Youmin


URLGenerator signed route not working as expected

Q
A

Bug?
yes

New Feature?
yes

Framework
Laravel

Framework version
5.6

Package version
2.0.0-alpha2

PHP version
7.2.6

Actual Behaviour
First i tried using the Laravel signed URL feature with QUEUE_DRIVER set to sync and its working fine, like this code below:
URL::temporarySignedRoute('route.name')

But when I change it my QUEUE_DRIVER to redis I got an issue saying Route 'route.name' is not defined.
so instead of using the normal URL facade of Laravel, I used something like this:
app('api.url')->version('v1')->temporarySignedRoute('route.name');

now the error is showing that the keyResolver is set to NULL. So I check how Laravel registered their Illuminate\Routing\UrlGenerator and found this inIlluminate\Routing\RoutingServiceProvider
Click here to see the code
$url->setKeyResolver(function () {
    return $this->app->make('config')->get('app.key');
});

Expected Behaviour
It should allow me to successfully make a signed URL
app('api.url')->version('v1')->signedRoute('route.name');
app('api.url')->version('v1')->temporarySignedRoute('route.name');

Steps to Reproduce
Just create a mail class like this having your URL link for the email and set your QUEUE_DRIVER to anything aside from sync in my end I used redis:
class SendEmail extends Mailable implements ShouldQueue
{
    ...

    public function url()
    {
        return app('api.url')->version('v1')->temporarySignedRoute('route.name');
    }

Possible Solutions
Just insert this code in the Dingo\Api\Provider\RoutingServiceProvider
in line 55:
$url->setKeyResolver(function () {
    return config('app.key');
});

and it should successfully create the signed URL you want

https://github.com/dingo/api/pull/1590

Temporary fix will be something like this
app('api.url')
    ->version('v1')
    ->setKeyResolver(config('app.key'))
    ->temporarySignedRoute('route.name',
        now()->addDay(), ['id' => 1]
    )

now ,it 's not work.

@jourdon Can you be more specific please? What version of this package are you using? What is the error you are getting?


Check validness of object in cache on Get

This can address this note in readme:

Note: Althou this short implementation frees memory after ttl duration, it will not erase entry for key in cache. It can be a problem, if you do not check nillnes after getting element from cache and call Set afterwards.

Now lru have no clue about validness of object inside entry and can not erase it from cache on Get.
If lru change value type to any type in entry struct – it can allow type check for some Validator interface with Valid() bool method. This allows checking in Get method for entry validness and erase non-valid entries from cache.
This implies, that eviction can happen in Get method and (for now) there is no way to know about it.

I think Get method should not evict entries under hood.


Updating dependencies. 0 npm vulnerabilities.

:tada: This PR is included in version 4.4.6 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Telegram Text-To-Image Generation Bot

AIM

A telegram bot that takes a text prompt and generates an image based on that prompt.

DETAILS

User enters a text prompt for an image.
An image is returned using openai's dall-e API.

Please assign this issue to me

Hi, @Archit-Kohli  I can create a text to image bot generator as i have already work on this multiple times and can easily deliver on time. uses openai and telegram bot generation earlier also.
please assign this issue me this issue under Gssoc23

assigned to @Archit-Kohli


RFE: Make it possible to attach name constraints to trust anchors

It should be possible to attach name constraints to trust anchors.  The specifics of the mechanism for that are not too important, except to say that the constraints have to be stored with or close to the trust anchor, or failing that, in a configuration file.
Preferably name constraints of all types supported by OpenSSL should be possible to apply to any arbitrary trust anchor, but at the very least name constraints on dNSName SANs.

X509_AUX is a way to store trust settings for certificates. If it's possible to add them to the current structure, it's not going to enforce the constraints.

Marking as inactive, to be closed at the end of 3.4  dev, barring further input


concurrency changes in vibe.d

https://github.com/rejectedsoftware/vibe.d/pull/1345
makes kafka-d not work anymore

I think this can be closed


Fix ColoTensorSpec for py11

📌 Checklist before creating the PR

[ ] I have created an issue for this PR for traceability
[ ] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[ ] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

📝 What does this PR do?
On python 3.11, currently the code reports this failure:
  File "/opt/conda/envs/lab42/lib/python3.11/site-packages/colossalai/legacy/tensor/tensor_spec.py", line 10, in <module>
    @dataclass
     ^^^^^^^^^
  File "/opt/conda/envs/lab42/lib/python3.11/dataclasses.py", line 1230, in dataclass
    return wrap(cls)
           ^^^^^^^^^
  File "/opt/conda/envs/lab42/lib/python3.11/dataclasses.py", line 1220, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/lab42/lib/python3.11/dataclasses.py", line 958, in _process_class
    cls_fields.append(_get_field(cls, name, type, kw_only))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/lab42/lib/python3.11/dataclasses.py", line 815, in _get_field
    raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'colossalai.legacy.tensor.distspec._DistSpec'> for field dist_attr is not allowed: use default_factory

This PR fixes the issue.
💥 Checklist before requesting a review

[ ] I have linked my PR to an issue (instruction)
[ ] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[ ] I have performed a self-review of my code
[ ] I have added thorough tests.
[ ] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[ ] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

Hi, please rebase the main branch as we've fixed some bugs


Remove stabilized publish-lockfile feature

The feature was stabilized/removed in https://github.com/rust-lang/cargo/pull/7026. Now all binaries include the Cargo.lock by default.
Fixes #57

bors r+

Published as version 0.6.2


Improve Docker setup

The current official docker images and the provided docker files are quite huge and could use some optimization. Here is a list of optimizations I suggest:

Do not install debug tools (vim, tcpdump, netcat) in the image by default
Use an alpine image for production instead of jessie
Build using the latest go version (1.11.5 at the time)
Since MySQL support is coming, consider moving schema and storage specific tasks to separate images and use them as init containers
Move the dockerfile to the repository root and instead of cloning the repo copy the files from the local repo (this is kinda the standard way)

I'm happy to provide a PR for addressing the above if you agree or further discuss here if necessary.

This one might contain some ideas:
https://towardsdatascience.com/slimming-down-your-docker-images-275f0ca9337e


Chase tutorial needs to account for variable auto-renaming

Instructions are correct, they ask you to create a new variable by name pizza.


Update mongodb-connector-reference.adoc - FindDocuments Default value to retrieve the complete document

In Documentation, it wasn't mentioned what is the default value to retrieve the complete document.
Fields a| String | Comma-separated list of fields to return from each document. To retrieve full document use comma ",".|

Thanks @bharathChamala for your contribution!


Visitor location data with IPv6

location data seems to come back as unknown with ipv6 traffic (or maybe just my ipv6 traffic), is there anything I can do to help diagnose that?

We track location via a third party package. I don't think they support ipv6.