bug: invalid GITHUB_API_URL in local exec mode #1129
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
run-multi-platform-tests
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo/runner#1129
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Can you reproduce the bug on the Forgejo test instance?
No
Description
When trying to run a workflow containing
uses: https://github.com/Swatinem/rust-cache, it will fail withTypeError: Invalid URL.Forgejo Version
N/A
Runner Version
11.3
How are you running Forgejo?
N/A
How are you running the Runner?
Downloaded from Releases page.
forgejo-runner exec -W .forgejo/workflows/test-cache.yml -j rust-cache --debugLogs
INFO[0000] Using the only detected workflow event: pull_request INFO[0000] Planning job: rust-cache INFO[0000] cache handler listens on: http://192.168.1.114:38397 [test-cache.yml/rust-cache] [DEBUG] evaluating expression 'success()' [test-cache.yml/rust-cache] [DEBUG] expression 'success()' evaluated to 'true' [test-cache.yml/rust-cache] 🚀 Start image=node:20-bullseye [test-cache.yml/rust-cache] [DEBUG] RunContext rust-cache is assigned random name f72cccf2c0bf54787398ec2120c3b336 [test-cache.yml/rust-cache] 🐳 docker pull image=node:20-bullseye platform= username= forcePull=false [test-cache.yml/rust-cache] [DEBUG] 🐳 docker pull node:20-bullseye [test-cache.yml/rust-cache] [DEBUG] Image exists? true [test-cache.yml/rust-cache] Cleaning up network for job rust-cache, and network name is: WORKFLOW-f72cccf2c0bf54787398ec2120c3b336 [test-cache.yml/rust-cache] [DEBUG] [{bridge 985cee8976e84ee1ffc6571f3221026bef7f51da3f1792bc9d69d4148f76316f 2025-11-08 12:38:03.231319659 +0100 CET local bridge true false {default map[] [{172.17.0.0/16 172.17.0.1 map[]}]} false false false {} false map[] map[com.docker.network.bridge.default_bridge:true com.docker.network.bridge.enable_icc:true com.docker.network.bridge.enable_ip_masquerade:true com.docker.network.bridge.host_binding_ipv4:0.0.0.0 com.docker.network.bridge.name:docker0 com.docker.network.driver.mtu:1500] map[] [] map[]} {host 44272440eb396a5390f7b387d955b83be298790a11d660d42f73d0d7175c4a78 2024-07-05 18:06:06.171001266 +0200 CEST local host true false {default map[] []} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-2d0b15c3cf2311f9a1b08f1665664768 7256eabcf90b916cad7ead3a86d9be5d54365889968ae5e5ae1c2dc9dd4e1288 2025-10-30 14:55:01.968121622 +0100 CET local bridge true false {default map[] [{172.19.0.0/16 172.19.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-0b8658ed374a295b17d4ac8b2cc27ac6 9cfd4d5997114a582b6914152da04273ead56d878acc545c1705b5e26f1984ee 2025-10-30 16:01:53.299440214 +0100 CET local bridge true false {default map[] [{172.22.0.0/16 172.22.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-f8ee0796b75f1d87dc9fa943e5162c6c 1200e6af370c1d6aa844bdd60ed8d89eecaa737fea432250e31ccc6c1a17b31b 2025-10-30 14:28:48.886268066 +0100 CET local bridge true false {default map[] [{172.18.0.0/16 172.18.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {none 5f6ae5dc2733b8aeab1b3fa9cef3c6b08345544145fd4f3dac8ce1b8951eeb39 2024-07-05 18:06:06.136231796 +0200 CEST local null true false {default map[] []} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-788370dee352dd57c01a5075b0e495d0 66a157427f116e6dcc4fdc25f162444f051b79e0832f462f73905174f417a7ce 2025-10-30 15:53:58.953630704 +0100 CET local bridge true false {default map[] [{172.20.0.0/16 172.20.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-e68c11e2d1ee7a38506fb9e7612a5c0b b3ed1bad9f1944958aa4b2100eca6ade3bed850d1fef6093d19cc1c69481af2f 2025-10-30 16:00:30.22693282 +0100 CET local bridge true false {default map[] [{172.21.0.0/16 172.21.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {WORKFLOW-f046aacb046e65096c8e67a932d6bc26 d9d8c8a3669b8731ee7ab2f89223294243eec331503014a88d4bcdb6dc48f226 2025-10-30 16:17:51.818477008 +0100 CET local bridge true false {default map[] [{172.23.0.0/16 172.23.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]}] [test-cache.yml/rust-cache] 🐳 docker create image=node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="WORKFLOW-f72cccf2c0bf54787398ec2120c3b336" [test-cache.yml/rust-cache] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck: ArgsEscaped:false Image:node:20-bullseye Volumes:map[] WorkingDir:/home/lucas/projects/darktide/dtmt Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout: Shell:[]} [test-cache.yml/rust-cache] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:WORKFLOW-f72cccf2c0bf54787398ec2120c3b336 PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness: OomKillDisable: PidsLimit: Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:f72cccf2c0bf54787398ec2120c3b336-env Target:/var/run/act ReadOnly:false Consistency: BindOptions: VolumeOptions: ImageOptions: TmpfsOptions: ClusterOptions:} {Type:volume Source:f72cccf2c0bf54787398ec2120c3b336 Target:/home/lucas/projects/darktide/dtmt ReadOnly:false Consistency: BindOptions: VolumeOptions: ImageOptions: TmpfsOptions: ClusterOptions:}] MaskedPaths:[] ReadonlyPaths:[] Init:} [test-cache.yml/rust-cache] [DEBUG] input.NetworkAliases ==> [rust-cache] [test-cache.yml/rust-cache] [DEBUG] Created container name=FORGEJO-ACTIONS-TASK-pull-request_WORKFLOW-a95fb5b7a72d42d6d9f8e72350d1e2e50e9f5a2c10392ffdf7ea67723e5f92f2_JOB-rust-cache id=d4108804244eeffe3f3134bcfcc28ed651c10f3d0aa2e4b2b416e681b01ad44f from image node:20-bullseye (platform: ) [test-cache.yml/rust-cache] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [test-cache.yml/rust-cache] 🐳 docker run image=node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="WORKFLOW-f72cccf2c0bf54787398ec2120c3b336" [test-cache.yml/rust-cache] [DEBUG] Starting container: d4108804244eeffe3f3134bcfcc28ed651c10f3d0aa2e4b2b416e681b01ad44f [test-cache.yml/rust-cache] [DEBUG] Started container: d4108804244eeffe3f3134bcfcc28ed651c10f3d0aa2e4b2b416e681b01ad44f [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/event.json len:2 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [test-cache.yml/rust-cache] [DEBUG] Extracting content to '/var/run/act/' [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] ☁️ git clone 'https://github.com/Swatinem/rust-cache' # ref=v2 [test-cache.yml/rust-cache] [DEBUG] cloning https://github.com/Swatinem/rust-cache to /home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693 [test-cache.yml/rust-cache] [DEBUG] Unable to pull refs/heads/v2: worktree contains unstaged changes [test-cache.yml/rust-cache] [DEBUG] Cloned https://github.com/Swatinem/rust-cache to /home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693 [test-cache.yml/rust-cache] [DEBUG] Checked out v2 [test-cache.yml/rust-cache] [DEBUG] Read action &{Rust Cache Arpad Borsos A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults. map[cache-all-crates:{Determines which crates are cached. If `true` all crates will be cached, otherwise only dependent crates will be cached. false false} cache-bin:{Determines whether to cache ${CARGO_HOME}/bin. false true} cache-directories:{Additional non workspace directories to be cached, separated by newlines. false } cache-on-failure:{Cache even if the build fails. Defaults to false. false } cache-provider:{Determines which provider to use for caching. Options are github, buildjet, or warpbuild. Defaults to github. false github} cache-targets:{Determines whether workspace targets are cached. If `false`, only the cargo registry will be cached. false true} cache-workspace-crates:{Similar to cache-all-crates. If `true` the workspace crates will be cached. false false} env-vars:{Additional environment variables to include in the cache key, separated by spaces. false } key:{An additional cache key that is added alongside the automatic `job`-based cache key and can be used to further differentiate jobs. false } lookup-only:{Check if a cache entry exists without downloading the cache false false} prefix-key:{The prefix cache key, this can be changed to start a new cache manually. false v0-rust} save-if:{Determiners whether the cache should be saved. If `false`, the cache is only restored. false true} shared-key:{A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs. false } workspaces:{Paths to multiple Cargo workspaces and their target directories, separated by newlines. false }] map[cache-hit:{A boolean value that indicates an exact match was found. }] {node20 map[] dist/restore/index.js always() dist/save/index.js success() || env.CACHE_ON_FAILURE == 'true' [] []} {gray-dark archive}} from 'Unknown' [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.114:38397/ ACT_EXEC:true ACT_SKIP_CHECKOUT:true CI:true FORGEJO_ACTION:0 FORGEJO_ACTIONS:true FORGEJO_ACTION_PATH: FORGEJO_ACTION_REF: FORGEJO_ACTION_REPOSITORY: FORGEJO_ACTOR:nektos/act FORGEJO_API_URL:/api/v1 FORGEJO_BASE_REF: FORGEJO_EVENT_NAME: FORGEJO_EVENT_PATH:/var/run/act/workflow/event.json FORGEJO_HEAD_REF: FORGEJO_JOB:rust-cache FORGEJO_REF:refs/heads/master FORGEJO_REF_NAME:master FORGEJO_REF_TYPE:branch FORGEJO_REPOSITORY:bitsquid_dt/dtmt FORGEJO_REPOSITORY_OWNER:bitsquid_dt FORGEJO_RETENTION_DAYS:0 FORGEJO_RUN_ATTEMPT:1 FORGEJO_RUN_ID:1 FORGEJO_RUN_NUMBER:1 FORGEJO_SERVER_URL: FORGEJO_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 FORGEJO_TOKEN: FORGEJO_WORKFLOW:test-cache.yml FORGEJO_WORKSPACE:/home/lucas/projects/darktide/dtmt GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:/api/v1 GITHUB_BASE_REF: GITHUB_EVENT_NAME: GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_HEAD_REF: GITHUB_JOB:rust-cache GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:bitsquid_dt/dtmt GITHUB_REPOSITORY_OWNER:bitsquid_dt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL: GITHUB_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 GITHUB_TOKEN: GITHUB_WORKFLOW:test-cache.yml GITHUB_WORKSPACE:/home/lucas/projects/darktide/dtmt ImageOS:docker JOB_CONTAINER_NAME:FORGEJO-ACTIONS-TASK-pull-request_WORKFLOW-a95fb5b7a72d42d6d9f8e72350d1e2e50e9f5a2c10392ffdf7ea67723e5f92f2_JOB-rust-cache RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] evaluating expression '' [test-cache.yml/rust-cache] [DEBUG] expression '' evaluated to 'true' [test-cache.yml/rust-cache] ⭐ Run Main Install rust [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 [test-cache.yml/rust-cache] [DEBUG] Extracting content to '/var/run/act' [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball b9000e4d37380e98.sh len:71 [test-cache.yml/rust-cache] [DEBUG] Extracting content to '/var/run/act' [test-cache.yml/rust-cache] 🐳 docker exec cmd=[sh /var/run/act/b9000e4d37380e98.sh] user= workdir= [test-cache.yml/rust-cache] [DEBUG] Exec command '[sh /var/run/act/b9000e4d37380e98.sh]' [test-cache.yml/rust-cache] [DEBUG] Working directory '/home/lucas/projects/darktide/dtmt' [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56' [test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master [test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56 [test-cache.yml/rust-cache] [DEBUG] Wrote commandapt-get update
apt-get install -y --no-install-recommends rustc
to 'workflow/0.sh'
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/0.sh len:66
[test-cache.yml/rust-cache] [DEBUG] Extracting content to '/var/run/act'
[test-cache.yml/rust-cache] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh] user= workdir=
[test-cache.yml/rust-cache] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh]'
[test-cache.yml/rust-cache] [DEBUG] Working directory '/home/lucas/projects/darktide/dtmt'
Get:1 http://deb.debian.org/debian bullseye InRelease [75.1 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.0 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [422 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Fetched 8653 kB in 1s (5962 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
| The following additional packages will be installed:
| libllvm11 libstd-rust-1.48 libstd-rust-dev libz3-4
| Suggested packages:
| rust-doc rust-src lld-11
| Recommended packages:
| cargo rust-gdb | rust-lldb
| The following NEW packages will be installed:
| libllvm11 libstd-rust-1.48 libstd-rust-dev libz3-4 rustc
| 0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
| Need to get 77.1 MB of archives.
| After this operation, 364 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libz3-4 amd64 4.8.10-1 [6949 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libllvm11 amd64 1:11.0.1-2 [17.9 MB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libstd-rust-1.48 amd64 1.48.0+dfsg1-2 [20.7 MB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libstd-rust-dev amd64 1.48.0+dfsg1-2 [29.5 MB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 rustc amd64 1.48.0+dfsg1-2 [2049 kB]
Fetched 77.1 MB in 1s (102 MB/s)
| debconf: delaying package configuration, since apt-utils is not installed
| Selecting previously unselected package libz3-4:amd64.
(Reading database ... 22801 files and directories currently installed.)
| Preparing to unpack .../libz3-4_4.8.10-1_amd64.deb ...
| Unpacking libz3-4:amd64 (4.8.10-1) ...
| Selecting previously unselected package libllvm11:amd64.
| Preparing to unpack .../libllvm11_1%3a11.0.1-2_amd64.deb ...
| Unpacking libllvm11:amd64 (1:11.0.1-2) ...
| Selecting previously unselected package libstd-rust-1.48:amd64.
| Preparing to unpack .../libstd-rust-1.48_1.48.0+dfsg1-2_amd64.deb ...
| Unpacking libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
| Selecting previously unselected package libstd-rust-dev:amd64.
| Preparing to unpack .../libstd-rust-dev_1.48.0+dfsg1-2_amd64.deb ...
| Unpacking libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
| Selecting previously unselected package rustc.
| Preparing to unpack .../rustc_1.48.0+dfsg1-2_amd64.deb ...
| Unpacking rustc (1.48.0+dfsg1-2) ...
| Setting up libz3-4:amd64 (4.8.10-1) ...
| Setting up libllvm11:amd64 (1:11.0.1-2) ...
| Setting up libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
| Setting up libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
| Setting up rustc (1.48.0+dfsg1-2) ...
| Processing triggers for libc-bin (2.31-13+deb11u13) ...
[test-cache.yml/rust-cache] ✅ Success - Main Install rust
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.114:38397/ ACT_EXEC:true ACT_SKIP_CHECKOUT:true CI:true FORGEJO_ACTION:1 FORGEJO_ACTIONS:true FORGEJO_ACTION_PATH: FORGEJO_ACTION_REF:v2 FORGEJO_ACTION_REPOSITORY:Swatinem/rust-cache FORGEJO_ACTOR:nektos/act FORGEJO_API_URL:/api/v1 FORGEJO_BASE_REF: FORGEJO_EVENT_NAME: FORGEJO_EVENT_PATH:/var/run/act/workflow/event.json FORGEJO_HEAD_REF: FORGEJO_JOB:rust-cache FORGEJO_REF:refs/heads/master FORGEJO_REF_NAME:master FORGEJO_REF_TYPE:branch FORGEJO_REPOSITORY:bitsquid_dt/dtmt FORGEJO_REPOSITORY_OWNER:bitsquid_dt FORGEJO_RETENTION_DAYS:0 FORGEJO_RUN_ATTEMPT:1 FORGEJO_RUN_ID:1 FORGEJO_RUN_NUMBER:1 FORGEJO_SERVER_URL: FORGEJO_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 FORGEJO_TOKEN: FORGEJO_WORKFLOW:test-cache.yml FORGEJO_WORKSPACE:/home/lucas/projects/darktide/dtmt GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v2 GITHUB_ACTION_REPOSITORY:Swatinem/rust-cache GITHUB_ACTOR:nektos/act GITHUB_API_URL:/api/v1 GITHUB_BASE_REF: GITHUB_EVENT_NAME: GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_HEAD_REF: GITHUB_JOB:rust-cache GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:bitsquid_dt/dtmt GITHUB_REPOSITORY_OWNER:bitsquid_dt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL: GITHUB_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 GITHUB_TOKEN: GITHUB_WORKFLOW:test-cache.yml GITHUB_WORKSPACE:/home/lucas/projects/darktide/dtmt ImageOS:docker JOB_CONTAINER_NAME:FORGEJO-ACTIONS-TASK-pull-request_WORKFLOW-a95fb5b7a72d42d6d9f8e72350d1e2e50e9f5a2c10392ffdf7ea67723e5f92f2_JOB-rust-cache RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] evaluating expression ''
[test-cache.yml/rust-cache] [DEBUG] expression '' evaluated to 'true'
[test-cache.yml/rust-cache] ⭐ Run Main cache
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[test-cache.yml/rust-cache] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[test-cache.yml/rust-cache] [DEBUG] Extracting content to '/var/run/act'
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] About to run action &{Rust Cache Arpad Borsos swatinem@swatinem.de A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults. map[cache-all-crates:{Determines which crates are cached. If
trueall crates will be cached, otherwise only dependent crates will be cached. false false} cache-bin:{Determines whether to cache ${CARGO_HOME}/bin. false true} cache-directories:{Additional non workspace directories to be cached, separated by newlines. false } cache-on-failure:{Cache even if the build fails. Defaults to false. false } cache-provider:{Determines which provider to use for caching. Options are github, buildjet, or warpbuild. Defaults to github. false github} cache-targets:{Determines whether workspace targets are cached. Iffalse, only the cargo registry will be cached. false true} cache-workspace-crates:{Similar to cache-all-crates. Iftruethe workspace crates will be cached. false false} env-vars:{Additional environment variables to include in the cache key, separated by spaces. false } key:{An additional cache key that is added alongside the automaticjob-based cache key and can be used to further differentiate jobs. false } lookup-only:{Check if a cache entry exists without downloading the cache false false} prefix-key:{The prefix cache key, this can be changed to start a new cache manually. false v0-rust} save-if:{Determiners whether the cache should be saved. Iffalse, the cache is only restored. false true} shared-key:{A cache key that is used instead of the automaticjob-based key, and is stable over multiple jobs. false } workspaces:{Paths to multiple Cargo workspaces and their target directories, separated by newlines. false }] map[cache-hit:{A boolean value that indicates an exact match was found. }] {node20 map[] dist/restore/index.js always() dist/save/index.js success() || env.CACHE_ON_FAILURE == 'true' [] []} {gray-dark archive}}[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] type=remote-action actionDir=/home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693 actionPath= workdir=/home/lucas/projects/darktide/dtmt actionCacheDir=/home/lucas/.local/cache/act actionName=28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693 containerActionDir=/var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693
[test-cache.yml/rust-cache] [DEBUG] /var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693
[test-cache.yml/rust-cache] [DEBUG] Removing /home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/.gitignore before docker cp
[test-cache.yml/rust-cache] 🐳 docker cp src=/home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/ dst=/var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/
[test-cache.yml/rust-cache] [DEBUG] Writing tarball /tmp/act1226306205 from /home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/
[test-cache.yml/rust-cache] [DEBUG] Stripping prefix:/home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/ src:/home/lucas/.local/cache/act/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/
[test-cache.yml/rust-cache] [DEBUG] Extracting content from '/tmp/act1226306205' to '/var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/'
[test-cache.yml/rust-cache] [DEBUG] executing remote job container: [node /var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js]
[test-cache.yml/rust-cache] 🐳 docker exec cmd=[node /var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js] user= workdir=
[test-cache.yml/rust-cache] [DEBUG] Exec command '[node /var/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js]'
[test-cache.yml/rust-cache] [DEBUG] Working directory '/home/lucas/projects/darktide/dtmt'
| node:internal/url:806
| const href = bindingUrl.parse(input, base, raiseException);
| ^
|
| TypeError: Invalid URL
| at new URL (node:internal/url:806:29)
| at HttpClient.getAgent (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:11782:27)
| at Object.getProxyAgent (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:9922:15)
| at 38006 (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:9987:22)
| at nccwpck_require (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:143055:43)
| at 93228 (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:9852:17)
| at nccwpck_require (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:143055:43)
| at 31834 (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:13015:29)
| at nccwpck_require (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:143055:43)
| at 22343 (/run/act/actions/28/1e3d6a425931a5c76be4aa8f03f0a5a0d4f0abed1549fb94c11411f97f6693/dist/restore/index.js:12632:38) {
| code: 'ERR_INVALID_URL',
| input: '/api/v1'
| }
|
| Node.js v20.19.5
[test-cache.yml/rust-cache] ❌ Failure - Main cache
[test-cache.yml/rust-cache] exitcode '1': failure
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.114:38397/ ACT_EXEC:true ACT_SKIP_CHECKOUT:true CI:true FORGEJO_ACTION:1 FORGEJO_ACTIONS:true FORGEJO_ACTION_PATH: FORGEJO_ACTION_REF:v2 FORGEJO_ACTION_REPOSITORY:Swatinem/rust-cache FORGEJO_ACTOR:nektos/act FORGEJO_API_URL:/api/v1 FORGEJO_BASE_REF: FORGEJO_ENV:/var/run/act/workflow/envs.txt FORGEJO_EVENT_NAME: FORGEJO_EVENT_PATH:/var/run/act/workflow/event.json FORGEJO_HEAD_REF: FORGEJO_JOB:rust-cache FORGEJO_OUTPUT:/var/run/act/workflow/outputcmd.txt FORGEJO_PATH:/var/run/act/workflow/pathcmd.txt FORGEJO_REF:refs/heads/master FORGEJO_REF_NAME:master FORGEJO_REF_TYPE:branch FORGEJO_REPOSITORY:bitsquid_dt/dtmt FORGEJO_REPOSITORY_OWNER:bitsquid_dt FORGEJO_RETENTION_DAYS:0 FORGEJO_RUN_ATTEMPT:1 FORGEJO_RUN_ID:1 FORGEJO_RUN_NUMBER:1 FORGEJO_SERVER_URL: FORGEJO_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 FORGEJO_STATE:/var/run/act/workflow/statecmd.txt FORGEJO_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md FORGEJO_TOKEN: FORGEJO_WORKFLOW:test-cache.yml FORGEJO_WORKSPACE:/home/lucas/projects/darktide/dtmt GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v2 GITHUB_ACTION_REPOSITORY:Swatinem/rust-cache GITHUB_ACTOR:nektos/act GITHUB_API_URL:/api/v1 GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME: GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_HEAD_REF: GITHUB_JOB:rust-cache GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:bitsquid_dt/dtmt GITHUB_REPOSITORY_OWNER:bitsquid_dt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL: GITHUB_SHA:6d296a574a6fa30b2e70a31e8156e45333b60d56 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_TOKEN: GITHUB_WORKFLOW:test-cache.yml GITHUB_WORKSPACE:/home/lucas/projects/darktide/dtmt ImageOS:docker JOB_CONTAINER_NAME:FORGEJO-ACTIONS-TASK-pull-request_WORKFLOW-a95fb5b7a72d42d6d9f8e72350d1e2e50e9f5a2c10392ffdf7ea67723e5f92f2_JOB-rust-cache RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] evaluating expression 'success() || env.CACHE_ON_FAILURE == 'true''
[test-cache.yml/rust-cache] [DEBUG] expression 'success() || env.CACHE_ON_FAILURE == 'true'' evaluated to 'false'
[test-cache.yml/rust-cache] Skipping step 'cache' due to 'success() || env.CACHE_ON_FAILURE == 'true''
[test-cache.yml/rust-cache] [DEBUG] Loading revision from git directory
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] [DEBUG] HEAD points to '6d296a574a6fa30b2e70a31e8156e45333b60d56'
[test-cache.yml/rust-cache] [DEBUG] using github ref: refs/heads/master
[test-cache.yml/rust-cache] [DEBUG] Found revision: 6d296a574a6fa30b2e70a31e8156e45333b60d56
[test-cache.yml/rust-cache] 🏁 Job failed
INFO[0015] Cleaning up network for job rust-cache, and network name is: WORKFLOW-f72cccf2c0bf54787398ec2120c3b336
Error: Job 'rust-cache' failed
Workflow file
The workflow file contains a second job, because https://github.com/Swatinem/rust-cache at least gives a stack trace where
actions/cachedoesn't provide any info.Using that, the issue is at
or the slightly longer version in
actions/cache:And looking at the runner's log, the corresponding env variable is indeed not useful:
GITHUB_SERVER_URL:https://(or more obviously broken:GITHUB_API_URL:https:///api/v1)Adding
GITHUB_SERVER_URL: https://github.com(or another URL) to the step'senvblock helps, but is going to break the workflow on the hosted runner. Other places, like the globalenvblock, or the--envflag do not work.The flag
--forgejo-instance https://github.comworks, so at least for the cases that aren't affected by #619 that can serve as a workaround.But I don't want the local mode to connect to a remote server anyways. So maybe the runner should run a dummy server for
actions/cacheto use.Just found #1083 and realized that when I thought I had tested 11.3, I had messed up file permissions and was still using the 11.2 runner binary. With a proper 11.3,
actions/cachedoes work.But
Swatinem/rust-cachedoes not:GITHUB_SERVER_URLis empty, and that seems to be fine, butGITHUB_API_URLis now/api/v1and fails to parse.bug: actions/cache doesn't work in local exec modeto bug: invalid GITHUB_API_URL in local exec mode