[GH-ISSUE #559] Issue: Failure - Cachix install #377

Closed
opened 2026-03-01 21:42:49 +03:00 by kerem · 8 comments
Owner

Originally created by @CohenCyril on GitHub (Mar 10, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/559

Act version

act version 0.2.20

Expected behaviour

Should compile my project successfully as in my github actions

Actual behaviour

[nix-shell:~/git/hierarchy-builder/master]$ act --env USER=CohenCyril -j hb   
[nix CI/hb] 🚀  Start image=nektos/act-environments-ubuntu:18.04
[nix CI/hb]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0   4621      0 --:--:-- --:--:-- --:--:-- 20922
| downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.72D7BcIv2R'...
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
100 16.4M  100 16.4M    0     0  24.1M      0 --:--:-- --:--:-- --:--:-- 24.1M
| Switching to the Daemon-based Installer
| 
| ---- oh no! --------------------------------------------------------------------
| Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system)
| 
| We'd love to help if you need it.
| 
| If you can, open an issue at https://github.com/nixos/nix/issues
| 
| Or feel free to contact the team,
|  - on IRC #nixos on irc.freenode.net
|  - on twitter @nixos_org
| child_process.js:651
|     throw err;
|     ^
| 
| Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh
|     at checkExecSyncError (child_process.js:630:11)
|     at Object.execFileSync (child_process.js:648:15)
|     at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17)
|     at Module._compile (internal/modules/cjs/loader.js:1158:30)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
|     at Module.load (internal/modules/cjs/loader.js:1002:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:901:14)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
|     at internal/main/run_main_module.js:18:47 {
|   status: 1,
|   signal: null,
|   output: [ null, null, null ],
|   pid: 27,
|   stdout: null,
|   stderr: null
| }
[nix CI/hb]   ❌  Failure - Cachix install
Error: exit with `FAILURE`: 1

Workflow and/or repository

https://github.com/math-comp/hierarchy-builder/blob/master/.github/workflows/nix.yml

Steps to reproduce

Make sure to include command you used to run act
e.g.:

  1. Clone repo https://github.com/math-comp/hierarchy-builder/
  2. Enter cloned repo directory
  3. Run nix-shell -p act --run "act --env USER=CohenCyril -j hb"

act output

Log
nix-shell -p act --run "act --env USER=CohenCyril -j hb -v"
DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env 
DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets 
DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' 
DEBU[0000] Planning job: hb                             
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true USER:CohenCyril] 
[nix CI/hb] 🚀  Start image=nektos/act-environments-ubuntu:18.04
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
[nix CI/hb]   🐳  docker pull nektos/act-environments-ubuntu:18.04
DEBU[0000] Image exists? true                           
[nix CI/hb] Removed container: 79c2fdfb92f8e079162d1ca1c4ab281f3648349b75cd6dda74a14f9ee25dc225
[nix CI/hb]   🐳  docker volume rm act-nix-CI-hb
[nix CI/hb]   🐳  docker create image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Created container name=act-nix-CI-hb id=f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb from image nektos/act-environments-ubuntu:18.04
[nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[nix CI/hb]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Starting container: f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb
[nix CI/hb] Started container: f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] Exec command '[mkdir -p /github/workspace]'
DEBU[0002] Writing tarball /run/user/1000/act825354013 from /home/cyril/git/hierarchy-builder/master/. 
DEBU[0002] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. 
[nix CI/hb] Extracting content from '/run/user/1000/act825354013' to '/github/workspace'
DEBU[0003] Writing entry to tarball workflow/event.json len:2 
DEBU[0003] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0003] Writing entry to tarball home/.act len:0     
[nix CI/hb] Extracting content to '/github/'
DEBU[0003] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0003] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0003] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0003] HEAD matches refs/heads/master               
DEBU[0003] using github ref: refs/heads/master          
DEBU[0003] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0003] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0003] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0003] HEAD matches refs/heads/master               
DEBU[0003] using github ref: refs/heads/master          
DEBU[0003] context env => map[ACT:true USER:CohenCyril] 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] 
DEBU[0003] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] 
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes
[nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Checked out v12
DEBU[0003] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' 
DEBU[0003] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} 
DEBU[0003] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions 
DEBU[0003] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp 
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
[nix CI/hb] Exec command '[mkdir -p /actions/]'
DEBU[0003] Writing tarball /run/user/1000/act637856728 from /home/cyril/.cache/act/cachix-install-nix-action@v12 
DEBU[0003] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 
[nix CI/hb] Extracting content from '/run/user/1000/act637856728' to '/actions/'
DEBU[0003] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] 
[nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]'
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0  15422      0 --:--:-- --:--:-- --:--:-- 15422
| downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.kvORzkoCjw'...
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
100 16.4M  100 16.4M    0     0  26.5M      0 --:--:-- --:--:-- --:--:-- 26.5M
| Switching to the Daemon-based Installer
| 
| ---- oh no! --------------------------------------------------------------------
| Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system)
| 
| We'd love to help if you need it.
| 
| If you can, open an issue at https://github.com/nixos/nix/issues
| 
| Or feel free to contact the team,
|  - on IRC #nixos on irc.freenode.net
|  - on twitter @nixos_org
| child_process.js:651
|     throw err;
|     ^
| 
| Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh
|     at checkExecSyncError (child_process.js:630:11)
|     at Object.execFileSync (child_process.js:648:15)
|     at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17)
|     at Module._compile (internal/modules/cjs/loader.js:1158:30)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
|     at Module.load (internal/modules/cjs/loader.js:1002:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:901:14)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
|     at internal/main/run_main_module.js:18:47 {
|   status: 1,
|   signal: null,
|   output: [ null, null, null ],
|   pid: 27,
|   stdout: null,
|   stderr: null
| }
[nix CI/hb]   ❌  Failure - Cachix install
DEBU[0005] exit with `FAILURE`: 1                       
DEBU[0005] exit with `FAILURE`: 1                       
DEBU[0005] exit with `FAILURE`: 1                       
DEBU[0005] exit with `FAILURE`: 1                       
Error: exit with `FAILURE`: 1

Originally created by @CohenCyril on GitHub (Mar 10, 2021). Original GitHub issue: https://github.com/nektos/act/issues/559 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## Act version <!-- Paste output of `act --version` --> ```none act version 0.2.20 ``` ## Expected behaviour Should compile my project [successfully as in my github actions](https://github.com/math-comp/hierarchy-builder/actions/runs/636837630) ## Actual behaviour ``` [nix-shell:~/git/hierarchy-builder/master]$ act --env USER=CohenCyril -j hb [nix CI/hb] 🚀 Start image=nektos/act-environments-ubuntu:18.04 [nix CI/hb] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2699 100 2699 0 0 4621 0 --:--:-- --:--:-- --:--:-- 20922 | downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.72D7BcIv2R'... | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 100 16.4M 100 16.4M 0 0 24.1M 0 --:--:-- --:--:-- --:--:-- 24.1M | Switching to the Daemon-based Installer | | ---- oh no! -------------------------------------------------------------------- | Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system) | | We'd love to help if you need it. | | If you can, open an issue at https://github.com/nixos/nix/issues | | Or feel free to contact the team, | - on IRC #nixos on irc.freenode.net | - on twitter @nixos_org | child_process.js:651 | throw err; | ^ | | Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh | at checkExecSyncError (child_process.js:630:11) | at Object.execFileSync (child_process.js:648:15) | at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17) | at Module._compile (internal/modules/cjs/loader.js:1158:30) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) | at Module.load (internal/modules/cjs/loader.js:1002:32) | at Function.Module._load (internal/modules/cjs/loader.js:901:14) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) | at internal/main/run_main_module.js:18:47 { | status: 1, | signal: null, | output: [ null, null, null ], | pid: 27, | stdout: null, | stderr: null | } [nix CI/hb] ❌ Failure - Cachix install Error: exit with `FAILURE`: 1 ``` ## Workflow and/or repository https://github.com/math-comp/hierarchy-builder/blob/master/.github/workflows/nix.yml ## Steps to reproduce Make sure to include command you used to run `act` e.g.: 1. Clone repo https://github.com/math-comp/hierarchy-builder/ 2. Enter cloned repo directory 3. Run `nix-shell -p act --run "act --env USER=CohenCyril -j hb"` ## `act` output <!-- Paste output from your terminal, use `-v` or `--verbose` for richer output --> <details> <summary>Log</summary> ```none nix-shell -p act --run "act --env USER=CohenCyril -j hb -v" DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' DEBU[0000] Planning job: hb DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true USER:CohenCyril] [nix CI/hb] 🚀 Start image=nektos/act-environments-ubuntu:18.04 DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [nix CI/hb] 🐳 docker pull nektos/act-environments-ubuntu:18.04 DEBU[0000] Image exists? true [nix CI/hb] Removed container: 79c2fdfb92f8e079162d1ca1c4ab281f3648349b75cd6dda74a14f9ee25dc225 [nix CI/hb] 🐳 docker volume rm act-nix-CI-hb [nix CI/hb] 🐳 docker create image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Created container name=act-nix-CI-hb id=f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb from image nektos/act-environments-ubuntu:18.04 [nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [nix CI/hb] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Starting container: f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb [nix CI/hb] Started container: f7c495bc0fa4da8686a305c8d8be12f42e266941a432b6ca6e6c59fe13d28feb [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] Exec command '[mkdir -p /github/workspace]' DEBU[0002] Writing tarball /run/user/1000/act825354013 from /home/cyril/git/hierarchy-builder/master/. DEBU[0002] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. [nix CI/hb] Extracting content from '/run/user/1000/act825354013' to '/github/workspace' DEBU[0003] Writing entry to tarball workflow/event.json len:2 DEBU[0003] Writing entry to tarball workflow/envs.txt len:0 DEBU[0003] Writing entry to tarball home/.act len:0 [nix CI/hb] Extracting content to '/github/' DEBU[0003] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0003] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0003] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0003] HEAD matches refs/heads/master DEBU[0003] using github ref: refs/heads/master DEBU[0003] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0003] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0003] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0003] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0003] HEAD matches refs/heads/master DEBU[0003] using github ref: refs/heads/master DEBU[0003] context env => map[ACT:true USER:CohenCyril] DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] DEBU[0003] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes [nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Checked out v12 DEBU[0003] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' DEBU[0003] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} DEBU[0003] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions DEBU[0003] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ [nix CI/hb] Exec command '[mkdir -p /actions/]' DEBU[0003] Writing tarball /run/user/1000/act637856728 from /home/cyril/.cache/act/cachix-install-nix-action@v12 DEBU[0003] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Extracting content from '/run/user/1000/act637856728' to '/actions/' DEBU[0003] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] [nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]' | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2699 100 2699 0 0 15422 0 --:--:-- --:--:-- --:--:-- 15422 | downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.kvORzkoCjw'... | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 100 16.4M 100 16.4M 0 0 26.5M 0 --:--:-- --:--:-- --:--:-- 26.5M | Switching to the Daemon-based Installer | | ---- oh no! -------------------------------------------------------------------- | Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system) | | We'd love to help if you need it. | | If you can, open an issue at https://github.com/nixos/nix/issues | | Or feel free to contact the team, | - on IRC #nixos on irc.freenode.net | - on twitter @nixos_org | child_process.js:651 | throw err; | ^ | | Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh | at checkExecSyncError (child_process.js:630:11) | at Object.execFileSync (child_process.js:648:15) | at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17) | at Module._compile (internal/modules/cjs/loader.js:1158:30) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) | at Module.load (internal/modules/cjs/loader.js:1002:32) | at Function.Module._load (internal/modules/cjs/loader.js:901:14) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) | at internal/main/run_main_module.js:18:47 { | status: 1, | signal: null, | output: [ null, null, null ], | pid: 27, | stdout: null, | stderr: null | } [nix CI/hb] ❌ Failure - Cachix install DEBU[0005] exit with `FAILURE`: 1 DEBU[0005] exit with `FAILURE`: 1 DEBU[0005] exit with `FAILURE`: 1 DEBU[0005] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ``` </details>
kerem 2026-03-01 21:42:49 +03:00
Author
Owner

@catthehacker commented on GitHub (Mar 10, 2021):

Can you check if it works with --privileged flag? systemd is not supported by default in docker

edit: that's quite important and embarrassing typo

<!-- gh-comment-id:795468673 --> @catthehacker commented on GitHub (Mar 10, 2021): Can you check if it works with `--privileged` flag? `systemd` is **not** supported by default in `docker` edit: that's quite important and embarrassing typo
Author
Owner

@CohenCyril commented on GitHub (Mar 10, 2021):

Same error:

┌─[cyril@superdator] - [~/git/hierarchy-builder/master] - [2021-03-10 03:17:42]
└─[0] <(master 23fdfee✈) > nix-shell -p act --run "act --env USER=CohenCyril --privileged -j hb"                          (master|✈)
[nix CI/hb] 🚀  Start image=nektos/act-environments-ubuntu:18.04
[nix CI/hb]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0   9026      0 --:--:-- --:--:-- --:--:-- 22305
| downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.ZQQOEiAQyC'...
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
100 16.4M  100 16.4M    0     0  27.7M      0 --:--:-- --:--:-- --:--:-- 27.7M
| Switching to the Daemon-based Installer
| 
| ---- oh no! --------------------------------------------------------------------
| Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system)
| 
| We'd love to help if you need it.
| 
| If you can, open an issue at https://github.com/nixos/nix/issues
| 
| Or feel free to contact the team,
|  - on IRC #nixos on irc.freenode.net
|  - on twitter @nixos_org
| child_process.js:651
|     throw err;
|     ^
| 
| Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh
|     at checkExecSyncError (child_process.js:630:11)
|     at Object.execFileSync (child_process.js:648:15)
|     at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17)
|     at Module._compile (internal/modules/cjs/loader.js:1158:30)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
|     at Module.load (internal/modules/cjs/loader.js:1002:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:901:14)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
|     at internal/main/run_main_module.js:18:47 {
|   status: 1,
|   signal: null,
|   output: [ null, null, null ],
|   pid: 27,
|   stdout: null,
|   stderr: null
| }
[nix CI/hb]   ❌  Failure - Cachix install
Error: exit with `FAILURE`: 1
┌─[cyril@superdator] - [~/git/hierarchy-builder/master] - [2021-03-10 03:18:04]
└─[1] <(master 23fdfee✈) > nix-shell -p act --run "act --env USER=CohenCyril --privileged -v -j hb"                       (master|✈)
DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env 
DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets 
DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' 
DEBU[0000] Planning job: hb                             
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true USER:CohenCyril] 
[nix CI/hb] 🚀  Start image=nektos/act-environments-ubuntu:18.04
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
[nix CI/hb]   🐳  docker pull nektos/act-environments-ubuntu:18.04
DEBU[0000] Image exists? true                           
[nix CI/hb] Removed container: b2d4ce2f32f5995a611c0de2109423f08df225b2f49d38e29f34bfaab8195b8f
[nix CI/hb]   🐳  docker volume rm act-nix-CI-hb
[nix CI/hb]   🐳  docker create image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Created container name=act-nix-CI-hb id=01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501 from image nektos/act-environments-ubuntu:18.04
[nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[nix CI/hb]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Starting container: 01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501
[nix CI/hb] Started container: 01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] Exec command '[mkdir -p /github/workspace]'
DEBU[0007] Writing tarball /run/user/1000/act972392457 from /home/cyril/git/hierarchy-builder/master/. 
DEBU[0007] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. 
[nix CI/hb] Extracting content from '/run/user/1000/act972392457' to '/github/workspace'
DEBU[0007] Writing entry to tarball workflow/event.json len:2 
DEBU[0007] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0007] Writing entry to tarball home/.act len:0     
[nix CI/hb] Extracting content to '/github/'
DEBU[0007] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0007] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0007] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0007] HEAD matches refs/heads/master               
DEBU[0007] using github ref: refs/heads/master          
DEBU[0007] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0007] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 
DEBU[0007] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' 
DEBU[0007] HEAD matches refs/heads/master               
DEBU[0007] using github ref: refs/heads/master          
DEBU[0007] context env => map[ACT:true USER:CohenCyril] 
DEBU[0007] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] 
DEBU[0007] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] 
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes
[nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Checked out v12
DEBU[0008] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' 
DEBU[0008] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} 
DEBU[0008] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions 
DEBU[0008] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp 
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
[nix CI/hb] Exec command '[mkdir -p /actions/]'
DEBU[0008] Writing tarball /run/user/1000/act632026580 from /home/cyril/.cache/act/cachix-install-nix-action@v12 
DEBU[0008] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 
[nix CI/hb] Extracting content from '/run/user/1000/act632026580' to '/actions/'
DEBU[0008] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] 
[nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]'
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0  11942      0 --:--:-- --:--:-- --:--:-- 11942
| downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.kKTFIjLMnn'...
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
100 16.4M  100 16.4M    0     0  27.9M      0 --:--:-- --:--:-- --:--:-- 27.9M
| Switching to the Daemon-based Installer
| 
| ---- oh no! --------------------------------------------------------------------
| Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system)
| 
| We'd love to help if you need it.
| 
| If you can, open an issue at https://github.com/nixos/nix/issues
| 
| Or feel free to contact the team,
|  - on IRC #nixos on irc.freenode.net
|  - on twitter @nixos_org
| child_process.js:651
|     throw err;
|     ^
| 
| Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh
|     at checkExecSyncError (child_process.js:630:11)
|     at Object.execFileSync (child_process.js:648:15)
|     at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17)
|     at Module._compile (internal/modules/cjs/loader.js:1158:30)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
|     at Module.load (internal/modules/cjs/loader.js:1002:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:901:14)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
|     at internal/main/run_main_module.js:18:47 {
|   status: 1,
|   signal: null,
|   output: [ null, null, null ],
|   pid: 27,
|   stdout: null,
|   stderr: null
| }
[nix CI/hb]   ❌  Failure - Cachix install
DEBU[0010] exit with `FAILURE`: 1                       
DEBU[0010] exit with `FAILURE`: 1                       
DEBU[0010] exit with `FAILURE`: 1                       
DEBU[0010] exit with `FAILURE`: 1                       
Error: exit with `FAILURE`: 1
<!-- gh-comment-id:795476755 --> @CohenCyril commented on GitHub (Mar 10, 2021): Same error: <details> ```none ┌─[cyril@superdator] - [~/git/hierarchy-builder/master] - [2021-03-10 03:17:42] └─[0] <(master 23fdfee✈) > nix-shell -p act --run "act --env USER=CohenCyril --privileged -j hb" (master|✈) [nix CI/hb] 🚀 Start image=nektos/act-environments-ubuntu:18.04 [nix CI/hb] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2699 100 2699 0 0 9026 0 --:--:-- --:--:-- --:--:-- 22305 | downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.ZQQOEiAQyC'... | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 100 16.4M 100 16.4M 0 0 27.7M 0 --:--:-- --:--:-- --:--:-- 27.7M | Switching to the Daemon-based Installer | | ---- oh no! -------------------------------------------------------------------- | Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system) | | We'd love to help if you need it. | | If you can, open an issue at https://github.com/nixos/nix/issues | | Or feel free to contact the team, | - on IRC #nixos on irc.freenode.net | - on twitter @nixos_org | child_process.js:651 | throw err; | ^ | | Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh | at checkExecSyncError (child_process.js:630:11) | at Object.execFileSync (child_process.js:648:15) | at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17) | at Module._compile (internal/modules/cjs/loader.js:1158:30) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) | at Module.load (internal/modules/cjs/loader.js:1002:32) | at Function.Module._load (internal/modules/cjs/loader.js:901:14) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) | at internal/main/run_main_module.js:18:47 { | status: 1, | signal: null, | output: [ null, null, null ], | pid: 27, | stdout: null, | stderr: null | } [nix CI/hb] ❌ Failure - Cachix install Error: exit with `FAILURE`: 1 ┌─[cyril@superdator] - [~/git/hierarchy-builder/master] - [2021-03-10 03:18:04] └─[1] <(master 23fdfee✈) > nix-shell -p act --run "act --env USER=CohenCyril --privileged -v -j hb" (master|✈) DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' DEBU[0000] Planning job: hb DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true USER:CohenCyril] [nix CI/hb] 🚀 Start image=nektos/act-environments-ubuntu:18.04 DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0000] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [nix CI/hb] 🐳 docker pull nektos/act-environments-ubuntu:18.04 DEBU[0000] Image exists? true [nix CI/hb] Removed container: b2d4ce2f32f5995a611c0de2109423f08df225b2f49d38e29f34bfaab8195b8f [nix CI/hb] 🐳 docker volume rm act-nix-CI-hb [nix CI/hb] 🐳 docker create image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Created container name=act-nix-CI-hb id=01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501 from image nektos/act-environments-ubuntu:18.04 [nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [nix CI/hb] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Starting container: 01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501 [nix CI/hb] Started container: 01f82fe361d32cad00c8555eb4071d484aabfe59477e5b48d96fbaf643ed4501 [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] Exec command '[mkdir -p /github/workspace]' DEBU[0007] Writing tarball /run/user/1000/act972392457 from /home/cyril/git/hierarchy-builder/master/. DEBU[0007] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. [nix CI/hb] Extracting content from '/run/user/1000/act972392457' to '/github/workspace' DEBU[0007] Writing entry to tarball workflow/event.json len:2 DEBU[0007] Writing entry to tarball workflow/envs.txt len:0 DEBU[0007] Writing entry to tarball home/.act len:0 [nix CI/hb] Extracting content to '/github/' DEBU[0007] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0007] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0007] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0007] HEAD matches refs/heads/master DEBU[0007] using github ref: refs/heads/master DEBU[0007] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0007] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0007] Found revision: 23fdfee3c3e4197799097801352494f39f2fcee4 DEBU[0007] HEAD points to '23fdfee3c3e4197799097801352494f39f2fcee4' DEBU[0007] HEAD matches refs/heads/master DEBU[0007] using github ref: refs/heads/master DEBU[0007] context env => map[ACT:true USER:CohenCyril] DEBU[0007] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] DEBU[0007] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:23fdfee3c3e4197799097801352494f39f2fcee4 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home USER:CohenCyril] [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes [nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Checked out v12 DEBU[0008] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' DEBU[0008] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} DEBU[0008] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions DEBU[0008] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ [nix CI/hb] Exec command '[mkdir -p /actions/]' DEBU[0008] Writing tarball /run/user/1000/act632026580 from /home/cyril/.cache/act/cachix-install-nix-action@v12 DEBU[0008] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Extracting content from '/run/user/1000/act632026580' to '/actions/' DEBU[0008] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] [nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]' | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2699 100 2699 0 0 11942 0 --:--:-- --:--:-- --:--:-- 11942 | downloading Nix 2.3.10 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.kKTFIjLMnn'... | % Total % Received % Xferd Average Speed Time Time Time Current | Dload Upload Total Spent Left Speed 100 16.4M 100 16.4M 0 0 27.9M 0 --:--:-- --:--:-- --:--:-- 27.9M | Switching to the Daemon-based Installer | | ---- oh no! -------------------------------------------------------------------- | Sorry, the multi-user installation requires systemd on Linux (detected using /run/systemd/system) | | We'd love to help if you need it. | | If you can, open an issue at https://github.com/nixos/nix/issues | | Or feel free to contact the team, | - on IRC #nixos on irc.freenode.net | - on twitter @nixos_org | child_process.js:651 | throw err; | ^ | | Error: Command failed: /actions/cachix-install-nix-action@v12/lib/install-nix.sh | at checkExecSyncError (child_process.js:630:11) | at Object.execFileSync (child_process.js:648:15) | at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17) | at Module._compile (internal/modules/cjs/loader.js:1158:30) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) | at Module.load (internal/modules/cjs/loader.js:1002:32) | at Function.Module._load (internal/modules/cjs/loader.js:901:14) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) | at internal/main/run_main_module.js:18:47 { | status: 1, | signal: null, | output: [ null, null, null ], | pid: 27, | stdout: null, | stderr: null | } [nix CI/hb] ❌ Failure - Cachix install DEBU[0010] exit with `FAILURE`: 1 DEBU[0010] exit with `FAILURE`: 1 DEBU[0010] exit with `FAILURE`: 1 DEBU[0010] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ``` </details>
Author
Owner

@catthehacker commented on GitHub (Mar 10, 2021):

https://github.com/cachix/install-nix-action/issues/43

<!-- gh-comment-id:795816126 --> @catthehacker commented on GitHub (Mar 10, 2021): https://github.com/cachix/install-nix-action/issues/43
Author
Owner

@CohenCyril commented on GitHub (Mar 10, 2021):

Thanks!

<!-- gh-comment-id:795842154 --> @CohenCyril commented on GitHub (Mar 10, 2021): Thanks!
Author
Owner

@CohenCyril commented on GitHub (Mar 10, 2021):

Next error (I guess the install-nix-action is seeking for a bit more than what the docker nixos/nix image provides)

[nix-shell:~/git/hierarchy-builder/master]$ act --privileged -P "ubuntu-latest=nixos/nix" -j hb
[nix CI/hb] 🚀  Start image=nixos/nix
[nix CI/hb]   🐳  docker run image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
| OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"node\": executable file not found in $PATH": unknown
[nix CI/hb]   ❌  Failure - Cachix install
Error: exit with `FAILURE`: 126

[nix-shell:~/git/hierarchy-builder/master]$ act --privileged -P "ubuntu-latest=nixos/nix" -j hb -v
DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env 
DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets 
DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' 
DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' 
DEBU[0000] Planning job: hb                             
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0000] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true]                 
[nix CI/hb] 🚀  Start image=nixos/nix
DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0000] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' 
DEBU[0000] HEAD matches refs/heads/master               
DEBU[0000] using github ref: refs/heads/master          
[nix CI/hb]   🐳  docker pull nixos/nix
DEBU[0000] Image exists? true                           
[nix CI/hb] Removed container: c376e6cc3b0590de4328b061a87b3eb7cad8fa9823c1ba60ecc2169988ec100e
[nix CI/hb]   🐳  docker volume rm act-nix-CI-hb
[nix CI/hb]   🐳  docker create image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Created container name=act-nix-CI-hb id=e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9 from image nixos/nix
[nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[nix CI/hb]   🐳  docker run image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb] Starting container: e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9
[nix CI/hb] Started container: e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9
[nix CI/hb]   🐳  docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace
[nix CI/hb] Exec command '[mkdir -p /github/workspace]'
DEBU[0007] Writing tarball /run/user/1000/act414084675 from /home/cyril/git/hierarchy-builder/master/. 
DEBU[0007] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. 
[nix CI/hb] Extracting content from '/run/user/1000/act414084675' to '/github/workspace'
DEBU[0008] Writing entry to tarball workflow/event.json len:2 
DEBU[0008] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0008] Writing entry to tarball home/.act len:0     
[nix CI/hb] Extracting content to '/github/'
DEBU[0008] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0008] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0008] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' 
DEBU[0008] HEAD matches refs/heads/master               
DEBU[0008] using github ref: refs/heads/master          
DEBU[0008] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0008] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' 
DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 
DEBU[0008] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' 
DEBU[0008] HEAD matches refs/heads/master               
DEBU[0008] using github ref: refs/heads/master          
DEBU[0008] context env => map[ACT:true]                 
DEBU[0008] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:46847adb45b17bed21d3f4382594de86ccddf217 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home] 
DEBU[0008] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:46847adb45b17bed21d3f4382594de86ccddf217 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home] 
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes
[nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12
[nix CI/hb] Checked out v12
DEBU[0008] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' 
DEBU[0008] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js  [] []} {blue sun}} 
DEBU[0008] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions 
DEBU[0008] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp 
[nix CI/hb]   🐳  docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/
[nix CI/hb] Exec command '[mkdir -p /actions/]'
DEBU[0008] Writing tarball /run/user/1000/act164431046 from /home/cyril/.cache/act/cachix-install-nix-action@v12 
DEBU[0008] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 
[nix CI/hb] Extracting content from '/run/user/1000/act164431046' to '/actions/'
DEBU[0008] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] 
[nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]'
| OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"node\": executable file not found in $PATH": unknown
[nix CI/hb]   ❌  Failure - Cachix install
DEBU[0008] exit with `FAILURE`: 126                     
DEBU[0008] exit with `FAILURE`: 126                     
DEBU[0008] exit with `FAILURE`: 126                     
DEBU[0008] exit with `FAILURE`: 126                     
Error: exit with `FAILURE`: 126


<!-- gh-comment-id:795853272 --> @CohenCyril commented on GitHub (Mar 10, 2021): Next error (I guess the `install-nix-action` is seeking for a bit more than what the docker `nixos/nix` image provides) <details> ``` [nix-shell:~/git/hierarchy-builder/master]$ act --privileged -P "ubuntu-latest=nixos/nix" -j hb [nix CI/hb] 🚀 Start image=nixos/nix [nix CI/hb] 🐳 docker run image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ | OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"node\": executable file not found in $PATH": unknown [nix CI/hb] ❌ Failure - Cachix install Error: exit with `FAILURE`: 126 [nix-shell:~/git/hierarchy-builder/master]$ act --privileged -P "ubuntu-latest=nixos/nix" -j hb -v DEBU[0000] Loading environment from /home/cyril/git/hierarchy-builder/master/.env DEBU[0000] Loading secrets from /home/cyril/git/hierarchy-builder/master/.secrets DEBU[0000] Loading workflows from '/home/cyril/git/hierarchy-builder/master/.github/workflows' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/main.yml' DEBU[0000] Reading workflow '/home/cyril/git/hierarchy-builder/master/.github/workflows/nix.yml' DEBU[0000] Planning job: hb DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0000] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] [nix CI/hb] 🚀 Start image=nixos/nix DEBU[0000] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0000] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0000] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0000] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [nix CI/hb] 🐳 docker pull nixos/nix DEBU[0000] Image exists? true [nix CI/hb] Removed container: c376e6cc3b0590de4328b061a87b3eb7cad8fa9823c1ba60ecc2169988ec100e [nix CI/hb] 🐳 docker volume rm act-nix-CI-hb [nix CI/hb] 🐳 docker create image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Created container name=act-nix-CI-hb id=e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9 from image nixos/nix [nix CI/hb] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [nix CI/hb] 🐳 docker run image=nixos/nix entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] Starting container: e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9 [nix CI/hb] Started container: e9b9f05534116b52a917e31dc8fed4bac121a8241b6e60fef26ec2c86cce6df9 [nix CI/hb] 🐳 docker cp src=/home/cyril/git/hierarchy-builder/master/. dst=/github/workspace [nix CI/hb] Exec command '[mkdir -p /github/workspace]' DEBU[0007] Writing tarball /run/user/1000/act414084675 from /home/cyril/git/hierarchy-builder/master/. DEBU[0007] Stripping prefix:/home/cyril/git/hierarchy-builder/master/ src:/home/cyril/git/hierarchy-builder/master/. [nix CI/hb] Extracting content from '/run/user/1000/act414084675' to '/github/workspace' DEBU[0008] Writing entry to tarball workflow/event.json len:2 DEBU[0008] Writing entry to tarball workflow/envs.txt len:0 DEBU[0008] Writing entry to tarball home/.act len:0 [nix CI/hb] Extracting content to '/github/' DEBU[0008] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0008] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0008] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' DEBU[0008] HEAD matches refs/heads/master DEBU[0008] using github ref: refs/heads/master DEBU[0008] Loading slug from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0008] Loading revision from git directory '/home/cyril/git/hierarchy-builder/master/.git' DEBU[0008] Found revision: 46847adb45b17bed21d3f4382594de86ccddf217 DEBU[0008] HEAD points to '46847adb45b17bed21d3f4382594de86ccddf217' DEBU[0008] HEAD matches refs/heads/master DEBU[0008] using github ref: refs/heads/master DEBU[0008] context env => map[ACT:true] DEBU[0008] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:46847adb45b17bed21d3f4382594de86ccddf217 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home] DEBU[0008] setupEnv: map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/github/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:git@github.com:CohenCyril/hierarchy-builder GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:46847adb45b17bed21d3f4382594de86ccddf217 GITHUB_TOKEN: GITHUB_WORKFLOW:nix CI GITHUB_WORKSPACE:/github/workspace HOME:/github/home] [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] cloning https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Unable to pull refs/heads/v12: worktree contains unstaged changes [nix CI/hb] Cloned https://github.com/cachix/install-nix-action to /home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Checked out v12 DEBU[0008] Read action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} from '/home/cyril/.cache/act/cachix-install-nix-action@v12/action.yml' DEBU[0008] About to run action &{Install Nix Domen Kožar Installs Nix on GitHub Actions for the supported platforms: Linux and macOS. map[extra_nix_config:{gets appended to `/etc/nix/nix.conf` if passed. false } install_url:{Installation URL that will contain a script to install Nix false } nix_path:{Set NIX_PATH environment variable. false }] map[] {node12 map[] lib/main.js [] []} {blue sun}} DEBU[0008] type=3 actionDir=/home/cyril/.cache/act/cachix-install-nix-action@v12 actionPath= Workdir=/home/cyril/git/hierarchy-builder/master ActionCacheDir=/home/cyril/.cache/act actionName=cachix-install-nix-action@v12 containerActionDir=/actions DEBU[0008] Removing /home/cyril/.cache/act/cachix-install-nix-action@v12/.gitignore before docker cp [nix CI/hb] 🐳 docker cp src=/home/cyril/.cache/act/cachix-install-nix-action@v12 dst=/actions/ [nix CI/hb] Exec command '[mkdir -p /actions/]' DEBU[0008] Writing tarball /run/user/1000/act164431046 from /home/cyril/.cache/act/cachix-install-nix-action@v12 DEBU[0008] Stripping prefix:/home/cyril/.cache/act/ src:/home/cyril/.cache/act/cachix-install-nix-action@v12 [nix CI/hb] Extracting content from '/run/user/1000/act164431046' to '/actions/' DEBU[0008] executing remote job container: [node /actions/cachix-install-nix-action@v12/lib/main.js] [nix CI/hb] Exec command '[node /actions/cachix-install-nix-action@v12/lib/main.js]' | OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"node\": executable file not found in $PATH": unknown [nix CI/hb] ❌ Failure - Cachix install DEBU[0008] exit with `FAILURE`: 126 DEBU[0008] exit with `FAILURE`: 126 DEBU[0008] exit with `FAILURE`: 126 DEBU[0008] exit with `FAILURE`: 126 Error: exit with `FAILURE`: 126 ``` </details>
Author
Owner

@catthehacker commented on GitHub (Mar 10, 2021):

with medium image I get this (it has node and proper /run/systemd/container)
which seems like issue with action itself
it's a permission denied error for Node.JS and I'm afraid this will not work until act is reworked to use non-root accounts

log
    master  \hierarchy-builder  act -j hb -P ubuntu-latest=catthehacker/ubuntu:act-latest
[nix CI/hb] 🚀  Start image=catthehacker/ubuntu:act-latest
[nix CI/hb]   🐳  docker run image=catthehacker/ubuntu:act-latest entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[nix CI/hb]   🐳  docker cp src=C:\Users\cat\hierarchy-builder\. dst=\github\workspace
[nix CI/hb] ⭐  Run Cachix install
[nix CI/hb]   ☁  git clone 'https://github.com/cachix/install-nix-action' # ref=v12
[nix CI/hb]   🐳  docker cp src=C:\Users\cat\.cache\act/cachix-install-nix-action@v12 dst=/actions/
| child_process.js:656
|     throw err;
|     ^
|
| Error: spawnSync /actions/cachix-install-nix-action@v12/lib/install-nix.sh EACCES
|     at Object.spawnSync (internal/child_process.js:1042:20)
|     at spawnSync (child_process.js:621:24)
|     at Object.execFileSync (child_process.js:648:15)
|     at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17)
|     at Module._compile (internal/modules/cjs/loader.js:999:30)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|     at Module.load (internal/modules/cjs/loader.js:863:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
|     at internal/main/run_main_module.js:17:47 {
|   errno: 'EACCES',
|   code: 'EACCES',
|   syscall: 'spawnSync /actions/cachix-install-nix-action@v12/lib/install-nix.sh',
|   path: '/actions/cachix-install-nix-action@v12/lib/install-nix.sh',
|   spawnargs: [],
|   error: [Circular],
|   status: null,
|   signal: null,
|   output: null,
|   pid: 32,
|   stdout: null,
|   stderr: null
| }
[nix CI/hb]   ❌  Failure - Cachix install
Error: exit with `FAILURE`: 1
<!-- gh-comment-id:796008907 --> @catthehacker commented on GitHub (Mar 10, 2021): with `medium` image I get this (it has `node` and proper `/run/systemd/container`) ~~which seems like issue with action itself~~ [it's a permission denied error for Node.JS](https://stackoverflow.com/questions/38323880/error-eacces-permission-denied) and I'm afraid this will not work until `act` is reworked to use non-root accounts <details> <summary>log</summary> ```    master  \hierarchy-builder  act -j hb -P ubuntu-latest=catthehacker/ubuntu:act-latest [nix CI/hb] 🚀 Start image=catthehacker/ubuntu:act-latest [nix CI/hb] 🐳 docker run image=catthehacker/ubuntu:act-latest entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [nix CI/hb] 🐳 docker cp src=C:\Users\cat\hierarchy-builder\. dst=\github\workspace [nix CI/hb] ⭐ Run Cachix install [nix CI/hb] ☁ git clone 'https://github.com/cachix/install-nix-action' # ref=v12 [nix CI/hb] 🐳 docker cp src=C:\Users\cat\.cache\act/cachix-install-nix-action@v12 dst=/actions/ | child_process.js:656 | throw err; | ^ | | Error: spawnSync /actions/cachix-install-nix-action@v12/lib/install-nix.sh EACCES | at Object.spawnSync (internal/child_process.js:1042:20) | at spawnSync (child_process.js:621:24) | at Object.execFileSync (child_process.js:648:15) | at Object.<anonymous> (/actions/cachix-install-nix-action@v12/lib/main.js:4:17) | at Module._compile (internal/modules/cjs/loader.js:999:30) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) | at Module.load (internal/modules/cjs/loader.js:863:32) | at Function.Module._load (internal/modules/cjs/loader.js:708:14) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) | at internal/main/run_main_module.js:17:47 { | errno: 'EACCES', | code: 'EACCES', | syscall: 'spawnSync /actions/cachix-install-nix-action@v12/lib/install-nix.sh', | path: '/actions/cachix-install-nix-action@v12/lib/install-nix.sh', | spawnargs: [], | error: [Circular], | status: null, | signal: null, | output: null, | pid: 32, | stdout: null, | stderr: null | } [nix CI/hb] ❌ Failure - Cachix install Error: exit with `FAILURE`: 1 ``` </details>
Author
Owner

@github-actions[bot] commented on GitHub (Apr 10, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:817036301 --> @github-actions[bot] commented on GitHub (Apr 10, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@dsyer commented on GitHub (May 20, 2021):

/reopen please

<!-- gh-comment-id:844876088 --> @dsyer commented on GitHub (May 20, 2021): /reopen please
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#377
No description provided.