Skip to content

add more parameter to look a lot like official youtube client #4202

add more parameter to look a lot like official youtube client

add more parameter to look a lot like official youtube client #4202

Triggered via pull request August 15, 2024 16:35
Status Failure
Total duration 5m 21s
Artifacts

ci.yml

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

Annotations

53 errors and 6 warnings
build-docker
Process completed with exit code 17.
build - crystal: 1.9.2, stable: true: src/invidious.cr#L204
instantiating 'Invidious::Routing.register_all()'
build - crystal: 1.9.2, stable: true: src/invidious/routes/watch.cr#L55
instantiating 'get_video(String, region: (String | Nil))'
build - crystal: 1.9.2, stable: true: src/invidious/videos.cr#L392
instantiating 'get_video(String, Bool, (String | Nil), Bool)'
build - crystal: 1.9.2, stable: true: src/invidious/videos.cr#L402
instantiating 'fetch_video(String, Nil)'
build - crystal: 1.9.2, stable: true: src/invidious/videos.cr#L422
instantiating 'extract_video_info(video_id: String)'
build - crystal: 1.9.2, stable: true: src/invidious/videos/parser.cr#L58
instantiating 'YoutubeAPI.player(video_id: String, params: String, client_config: YoutubeAPI::ClientConfig)'
build - crystal: 1.9.2, stable: true: src/invidious/yt_backend/youtube_api.cr#L509
expected argument #2 to 'Hash(String, Int64 | String)#[]=' to be (Int64 | String), not Bool
build - crystal: 1.9.2, stable: true
Process completed with exit code 1.
build - crystal: 1.10.1, stable: true: src/invidious.cr#L204
instantiating 'Invidious::Routing.register_all()'
build - crystal: 1.10.1, stable: true: src/invidious/routes/watch.cr#L55
instantiating 'get_video(String, region: (String | Nil))'
build - crystal: 1.10.1, stable: true: src/invidious/videos.cr#L392
instantiating 'get_video(String, Bool, (String | Nil), Bool)'
build - crystal: 1.10.1, stable: true: src/invidious/videos.cr#L402
instantiating 'fetch_video(String, Nil)'
build - crystal: 1.10.1, stable: true: src/invidious/videos.cr#L422
instantiating 'extract_video_info(video_id: String)'
build - crystal: 1.10.1, stable: true: src/invidious/videos/parser.cr#L58
instantiating 'YoutubeAPI.player(video_id: String, params: String, client_config: YoutubeAPI::ClientConfig)'
build - crystal: 1.10.1, stable: true: src/invidious/yt_backend/youtube_api.cr#L509
expected argument #2 to 'Hash(String, Int64 | String)#[]=' to be (Int64 | String), not Bool
build - crystal: 1.10.1, stable: true
Process completed with exit code 1.
build - crystal: 1.12.1, stable: true: src/invidious.cr#L204
instantiating 'Invidious::Routing.register_all()'
build - crystal: 1.12.1, stable: true: src/invidious/routes/watch.cr#L55
instantiating 'get_video(String, region: (String | Nil))'
build - crystal: 1.12.1, stable: true: src/invidious/videos.cr#L392
instantiating 'get_video(String, Bool, (String | Nil), Bool)'
build - crystal: 1.12.1, stable: true: src/invidious/videos.cr#L402
instantiating 'fetch_video(String, Nil)'
build - crystal: 1.12.1, stable: true: src/invidious/videos.cr#L422
instantiating 'extract_video_info(video_id: String)'
build - crystal: 1.12.1, stable: true: src/invidious/videos/parser.cr#L58
instantiating 'YoutubeAPI.player(video_id: String, params: String, client_config: YoutubeAPI::ClientConfig)'
build - crystal: 1.12.1, stable: true: src/invidious/yt_backend/youtube_api.cr#L509
expected argument #2 to 'Hash(String, Int64 | String)#[]=' to be (Int64 | String), not Bool
build - crystal: 1.12.1, stable: true
Process completed with exit code 1.
ameba_lint
Process completed with exit code 1.
build - crystal: 1.11.2, stable: true: src/invidious.cr#L204
instantiating 'Invidious::Routing.register_all()'
build - crystal: 1.11.2, stable: true: src/invidious/routes/watch.cr#L55
instantiating 'get_video(String, region: (String | Nil))'
build - crystal: 1.11.2, stable: true: src/invidious/videos.cr#L392
instantiating 'get_video(String, Bool, (String | Nil), Bool)'
build - crystal: 1.11.2, stable: true: src/invidious/videos.cr#L402
instantiating 'fetch_video(String, Nil)'
build - crystal: 1.11.2, stable: true: src/invidious/videos.cr#L422
instantiating 'extract_video_info(video_id: String)'
build - crystal: 1.11.2, stable: true: src/invidious/videos/parser.cr#L58
instantiating 'YoutubeAPI.player(video_id: String, params: String, client_config: YoutubeAPI::ClientConfig)'
build - crystal: 1.11.2, stable: true: src/invidious/yt_backend/youtube_api.cr#L509
expected argument #2 to 'Hash(String, Int64 | String)#[]=' to be (Int64 | String), not Bool
build - crystal: 1.11.2, stable: true
Process completed with exit code 1.
build - crystal: nightly, stable: false: src/invidious.cr#L204
instantiating 'Invidious::Routing.register_all()'
build - crystal: nightly, stable: false: src/invidious/routes/watch.cr#L55
instantiating 'get_video(String, region: (String | Nil))'
build - crystal: nightly, stable: false: src/invidious/videos.cr#L392
instantiating 'get_video(String, Bool, (String | Nil), Bool)'
build - crystal: nightly, stable: false: src/invidious/videos.cr#L402
instantiating 'fetch_video(String, Nil)'
build - crystal: nightly, stable: false: src/invidious/videos.cr#L422
instantiating 'extract_video_info(video_id: String)'
build - crystal: nightly, stable: false: src/invidious/videos/parser.cr#L58
instantiating 'YoutubeAPI.player(video_id: String, params: String, client_config: YoutubeAPI::ClientConfig)'
build - crystal: nightly, stable: false: src/invidious/yt_backend/youtube_api.cr#L509
expected argument #2 to 'Hash(String, Int64 | String)#[]=' to be (Int64 | String), not Bool
build - crystal: nightly, stable: false
Process completed with exit code 1.
build-docker-arm64
buildx failed with: ERROR: failed to solve: process "/bin/sh -c if [[ \"${release}\" == 1 ]] ; then crystal build ./src/invidious.cr --release --static --warnings all --link-flags \"-lxml2 -llzma\"; else crystal build ./src/invidious.cr --static --warnings all --link-flags \"-lxml2 -llzma\"; fi" did not complete successfully: exit code: 1
build - crystal: 1.9.2, stable: true
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build - crystal: 1.10.1, stable: true
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build - crystal: 1.12.1, stable: true
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ameba_lint
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build - crystal: 1.11.2, stable: true
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build - crystal: nightly, stable: false
The following actions use a deprecated Node.js version and will be forced to run on node20: crystal-lang/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/