serverless / serverless-google-cloudfunctions

Serverless Google Cloud Functions Plugin – Adds Google Cloud Functions support to the Serverless Framework
https://www.serverless.com
MIT License
271 stars 127 forks source link

cannot use span (type trace.Span) as type *trace.Span in return argument #239

Closed ishallbethat closed 3 years ago

ishallbethat commented 3 years ago

Am i the only one getting this error with serverless-google-cloudfunctions ?

{"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: # github.com/cloudevents/sdk-go/v2/extensions\nsrc/github.com/cloudevents/sdk-go/v2/extensions/distributed_tracing_extension.go:161:3: cannot use span (type trace.Span) as type *trace.Span in return argument:\n\t*trace.Span is pointer to interface, not interface; Error ID: 1093f764"}

Not clue why i got this. I even tried with latest version 3.1.1 of serverless-google-cloudfunctions

ishallbethat commented 3 years ago

Google's issue. Now it's resolved.

After reviewing the information you provided, we believe that you may be affected by a known issue: Some deployments to Google Cloud Functions using go113 runtime are failing. This is a high priority issue that we're working to resolve as soon as possible. Here are some details about the issue:

Affected Product(s):
Google Cloud Functions

Status:
Confirmed

Description:
Some deployments to Google Cloud Functions using go113 runtime are failing

How to diagnose:
Customers affected by this issue may see an error similar to  the following:

ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: # github.com/cloudevents/sdk-go/v2/extensions

src/github.com/cloudevents/sdk-go/v2/extensions/distributed_tracing_extension.go:161:3: cannot use span (type trace.Span) as type *trace.Span in return argument:

*trace.Span is pointer to interface, not interface; Error ID: 1093f764