github.com/globb90/test
2.20240427 / published Apr 26, 2024 / repository
Documentation could not be built
Build failed
The documentation build for this version ran and did not produce anything usable. That is usually a shard that does not compile against the Crystal version it declared.
What the builder reported
docs-build: this shard tried to use the network while it was being compiled, and
docs-build: the attempt was refused.
docs-build:
docs-build: Compiling a shard runs its macros, so a documentation build that is
docs-build: allowed to make requests is a build any published shard can use to reach
docs-build: our infrastructure. Documentation is therefore compiled with no network
docs-build: access at all: no outbound connection, no name resolution, no metadata
docs-build: server. Refusing this is deliberate, and it will not be turned off.
docs-build:
docs-build: A macro that reads from the network at compile time has to stop doing
docs-build: that, or tolerate the request failing.
docs-build: the shard reached for the network while compiling
crystal docs said:
no-egress: verified in-process as uid 1000, ip and vsock sockets denied, io_uring denied, no_new_privs set
Crystal built without LibXML2 support, HTML sanitization will be skipped
Showing last frame. Use --error-trace for full trace.
In src/invidious.cr:151:13
151 | {% puts run("../scripts/fetch-player-dependencies.cr").stringify %}
^--
Error: Error executing run (exit code: 1): ../scripts/fetch-player-dependencies.cr
stdout:
Resolving player dependencies
stderr:
Unhandled exception: Hostname lookup for registry.npmjs.org failed: Address family not supported by protocol (Socket::Addrinfo::Error)
from /tmp/tmp.mcMJMJ/home/.cache/crystal/tmp-tmp.mcMJMJ-src-scripts-fetch-player-dependencies.cr/macro_run in '??'
from /tmp/tmp.mcMJMJ/home/.cache/crystal/tmp-tmp.mcMJMJ-src-scripts-fetch-player-dependencies.cr/macro_run in '??'
from /tmp/tmp.mcMJMJ/home/.cache/crystal/tmp-tmp.mcMJMJ-src-scripts-fetch-player-dependencies.cr/macro_run in '??'
from /tmp/tmp.mcMJMJ/home/.cache/crystal/tmp-tmp.mcMJMJ-src-scripts-fetch-player-dependencies.cr/macro_run in '??'
from /tmp/tmp.mcMJMJ/home/.cache/crystal/tmp-tmp.mcMJMJ-src-scripts-fetch-player-dependencies.cr/macro_run in '??'
from ???