Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHANGE ME] Re-generated to pick up changes in the API or client library generator. #418

Closed
wants to merge 1 commit into from

Conversation

dpebot
Copy link
Contributor

@dpebot dpebot commented Nov 2, 2018

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Cloning googleapis.
synthtool > Running generator for google/spanner/artman_spanner.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-v1.
synthtool > Running generator for google/spanner/admin/database/artman_spanner_admin_database.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-database-v1.
synthtool > Running generator for google/spanner/admin/instance/artman_spanner_admin_instance.yaml.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-instance-v1.
.circleci/config.yml
.circleci/npm-install-retry.js
.eslintignore
.eslintrc.yml
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
CODE_OF_CONDUCT.md
codecov.yaml
synthtool > Replaced "(const SpannerClient = require\\('\\./spanner_client'\\);)" in src/v1/index.js.
synthtool > Replaced '(module\\.exports\\.SpannerClient = SpannerClient;)' in src/v1/index.js.
synthtool > Replaced '../../package.json' in src/v1/database_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/instance_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/spanner_client.js.
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> grpc@1.16.0 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall


> @google-cloud/spanner@2.1.0 prepare /tmpfs/src/git/autosynth/working_repo
> npm run compile


> @google-cloud/spanner@2.1.0 compile /tmpfs/src/git/autosynth/working_repo
> tsc -p . && cp src/v1/*.json build/src/v1 && cp -r protos build

src/index.ts:665:26 - error TS2345: Argument of type 'this' is not assignable to parameter of type 'GrpcService | GrpcServiceObject'.
  Type 'Spanner' is not assignable to type 'GrpcService | GrpcServiceObject'.
    Type 'Spanner' is not assignable to type 'GrpcServiceObject'.
      Type 'this' is not assignable to type 'GrpcServiceObject'.
        Type 'Spanner' is not assignable to type 'GrpcServiceObject'.
          Property 'delete' is missing in type 'Spanner'.

665     return new Operation(this, name);
                             ~~~~

src/index.ts:710:3 - error TS2416: Property 'request' in type 'Spanner' is not assignable to the same property in base type 'GrpcService'.
  Type '(config: any, callback: any) => void | Promise<any>' is not assignable to type '{ (reqOpts: DecorateRequestOptions): Promise<Response>; (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void; (reqOpts: DecorateRequestOptions, callback?: BodyResponseCallback | undefined): void | Promise<...>; (protoOpts: ProtoOpts, reqOpts: DecorateRequestOptions, callback: ServiceRequestCallbac...'.

710   request(config, callback): void|Promise<any> {
      ~~~~~~~

src/index.ts:743:3 - error TS2416: Property 'requestStream' in type 'Spanner' is not assignable to the same property in base type 'GrpcService'.
  Type '(config: any) => Transform' is not assignable to type '{ (reqOpts: DecorateRequestOptions): Request; (protoOpts: ProtoOpts, reqOpts: DecorateRequestOptions): Duplex; }'.
    Type 'Transform' is not assignable to type 'Request'.
      Property 'debug' is missing in type 'Transform'.

743   requestStream(config) {
      ~~~~~~~~~~~~~

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@2.1.0 compile: `tsc -p . && cp src/v1/*.json build/src/v1 && cp -r protos build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@2.1.0 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2018-11-02T11_06_56_470Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@2.1.0 prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@2.1.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2018-11-02T11_06_56_563Z-debug.log

> @google-cloud/spanner@2.1.0 fix /tmpfs/src/git/autosynth/working_repo
> eslint --fix '**/*.js'


/tmpfs/src/git/autosynth/working_repo/benchmark/ycsb.js
  25:27  error  "../" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/batch.js
  26:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  62:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/crud.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   62:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  116:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  162:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  213:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/dml.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   72:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  116:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  159:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  204:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  255:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  307:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  358:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  465:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  500:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/indexing.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   66:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  114:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  171:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  224:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  20:27  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/schema.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   73:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  118:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/struct.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   83:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  136:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  226:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  275:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/spanner.test.js
  20:27  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/timestamp.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
   66:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  129:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  177:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  236:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  302:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/transaction.js
   21:29  error  "@google-cloud/spanner" is not found  node/no-missing-require
  101:29  error  "@google-cloud/spanner" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/scripts/cleanup.js
  17:27  error  "../" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/src/v1/database_admin_client.js
  23:25  error  "../../../package.json" is not found      node/no-missing-require
  23:25  error  "../../../package.json" is not published  node/no-unpublished-require

/tmpfs/src/git/autosynth/working_repo/src/v1/instance_admin_client.js
  23:25  error  "../../../package.json" is not found      node/no-missing-require
  23:25  error  "../../../package.json" is not published  node/no-unpublished-require

/tmpfs/src/git/autosynth/working_repo/src/v1/spanner_client.js
  22:25  error  "../../../package.json" is not found      node/no-missing-require
  22:25  error  "../../../package.json" is not published  node/no-unpublished-require

/tmpfs/src/git/autosynth/working_repo/test/gapic-v1.js
  19:31  error  "../src" is not found  node/no-missing-require

✖ 49 problems (49 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@2.1.0 fix: `eslint --fix '**/*.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@2.1.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2018-11-02T11_07_00_850Z-debug.log
synthtool > Cleaned up 2 temporary directories.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants