Skip to content

fix: FILE_REFERENCE_EXPIRED in ctx.DownloadMedia #151

fix: FILE_REFERENCE_EXPIRED in ctx.DownloadMedia

fix: FILE_REFERENCE_EXPIRED in ctx.DownloadMedia #151

Triggered via pull request March 24, 2024 12:34
@TeaDoveTeaDove
synchronize #62
TeaDove:beta
Status Failure
Total duration 1m 5s
Artifacts

go.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 9 warnings
build
missing go.sum entry for module providing package golang.org/x/sys/cpu (imported by github.com/segmentio/asm/cpu/x86); to add:
build
missing go.sum entry for module providing package go.uber.org/zap/zapcore (imported by github.com/gotd/td/crypto); to add:
build
missing go.sum entry for module providing package go.uber.org/zap (imported by github.com/celestix/gotgproto); to add:
build
missing go.sum entry for module providing package go.opentelemetry.io/otel/trace (imported by github.com/gotd/td/telegram); to add:
build
missing go.sum entry for module providing package golang.org/x/crypto/pbkdf2 (imported by github.com/gotd/td/session/tdesktop); to add:
build
missing go.sum entry for module providing package go.opentelemetry.io/otel/attribute (imported by github.com/gotd/td/telegram); to add:
build
missing go.sum entry for module providing package golang.org/x/net/proxy (imported by github.com/gotd/td/telegram); to add:
build
missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/glebarez/go-sqlite); to add:
build
Process completed with exit code 1.
lint (amd64): types/chat.go#L90
u.ID undefined (type *User has no field or method ID) (typecheck)
lint (amd64): types/chat.go#L95
u.AccessHash undefined (type *User has no field or method AccessHash) (typecheck)
lint (amd64): types/chat.go#L101
v.ID undefined (type *User has no field or method ID) (typecheck)
lint (amd64): types/chat.go#L102
v.AccessHash undefined (type *User has no field or method AccessHash) (typecheck)
lint (amd64): types/chat.go#L115
v.ID undefined (type *User has no field or method ID) (typecheck)
lint (amd64): types/chat.go#L116
v.AccessHash undefined (type *User has no field or method AccessHash) (typecheck)
lint (amd64): types/chat.go#L145
u.ID undefined (type *Channel has no field or method ID) (typecheck)
lint (amd64): types/chat.go#L150
u.AccessHash undefined (type *Channel has no field or method AccessHash) (typecheck)
lint (amd64): types/chat.go#L162
v.ID undefined (type *Channel has no field or method ID) (typecheck)
lint (amd64): types/chat.go#L163
v.AccessHash undefined (type *Channel has no field or method AccessHash) (typecheck)
lint (386): client.go#L276
c.Auth undefined (type *Client has no field or method Auth) (typecheck)
lint (386): client.go#L288
c.Auth undefined (type *Client has no field or method Auth) (typecheck)
lint (386): client.go#L357
c.API undefined (type *Client has no field or method API) (typecheck)
lint (386): client.go#L360
c.API undefined (type *Client has no field or method API) (typecheck)
lint (386): client.go#L399
c.Run undefined (type *Client has no field or method Run) (typecheck)
lint (386): client.go#L402
c.Run undefined (type *Client has no field or method Run) (typecheck)
lint (386): client.go#L422
c.API undefined (type *Client has no field or method API) (typecheck)
lint (386): authHelper.go#L7
"github.com/gotd/td/tg" imported and not used (typecheck)
lint (386)
issues found
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (amd64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (amd64)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (amd64)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (amd64)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (386)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (386)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (386)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (386)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/