Skip to content

Ensure user struct is casted properly before updating ets cache #1190

Ensure user struct is casted properly before updating ets cache

Ensure user struct is casted properly before updating ets cache #1190

Triggered via pull request June 22, 2024 02:32
Status Failure
Total duration 1m 7s
Artifacts

test_and_lint.yml

on: pull_request
Matrix: Run Unit tests
Fit to window
Zoom out
Zoom in

Annotations

45 errors and 2 warnings
Lint
Process completed with exit code 2.
Run Unit tests (1.15, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.15, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.15, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.15, 25)
Process completed with exit code 2.
Run Unit tests (1.16, 26)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.16, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.16, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.16, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.16, 26)
Process completed with exit code 2.
Run Unit tests (1.16, 25)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.16, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.16, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.16, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.16, 25)
Process completed with exit code 2.
Run Unit tests (1.14, 26)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.14, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.14, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.14, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.14, 26)
The operation was canceled.
Run Unit tests (1.17, 26)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.17, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.17, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.17, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.17, 26)
The operation was canceled.
Run Unit tests (1.14, 25)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.14, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.14, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.14, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.14, 25)
The operation was canceled.
Run Unit tests (1.15, 26)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.15, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.15, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.15, 26): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.15, 26)
The operation was canceled.
Run Unit tests (1.17, 25)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.17, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.17, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.17, 25): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.17, 25)
The operation was canceled.
Run Unit tests (1.17, 27)
The job was canceled because "_1_15_25" failed.
Run Unit tests (1.17, 27): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.MnesiaTest)
Run Unit tests (1.17, 27): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCache.ETSTest)
Run Unit tests (1.17, 27): test/nostrum/cache/user_cache_meta_test.exs#L91
test update/1 returns `{nil, after}` on uncached user (Nostrum.Cache.UserCacheTest)
Run Unit tests (1.17, 27)
The operation was canceled.
Lint: lib/nostrum/cache/user_cache/mnesia.ex#L89
Nested modules could be aliased at the top of the invoking module.
Lint: lib/nostrum/cache/user_cache/ets.ex#L57
Nested modules could be aliased at the top of the invoking module.