nektos / act

Run your GitHub Actions locally πŸš€
https://nektosact.com
MIT License
55.42k stars 1.38k forks source link

Issue: EXDEV: cross-device link not permitted #683

Open sharksforarms opened 3 years ago

sharksforarms commented 3 years ago

Act version

act version 0.2.21

Expected behaviour

No error

Actual behaviour

https://gist.github.com/sharksforarms/06ce839d37a8b7e848eacb2239869c69#file-sh-L96

[CI/Ensure wasm]   πŸ’¬  ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
| [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /tmp/setup-wasm-pack -f /tmp/526343da-7f6a-4f1d-a724-265ad1c5002d
[CI/Ensure wasm]   ❗  ::error::EXDEV: cross-device link not permitted, rename '/tmp/setup-wasm-pack/wasm-pack-v0.9.1-x86_64-unknown-linux-musl/wasm-pack' -> '/home/sharks/source/home/.cargo/bin/wasm-pack'
| Done
[CI/Ensure wasm]   ❌  Failure - jetli/wasm-pack-action@v0.3.0

Workflow and/or repository

workflow https://github.com/sharksforarms/deku/blob/master/.github/workflows/main.yml#L91 https://github.com/jetli/wasm-pack-action ```none name: example workflow on: [push] jobs: ensure_wasm: name: Ensure wasm runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: nightly override: true - uses: jetli/wasm-pack-action@v0.3.0 with: version: 'latest' - run: cd ensure_wasm && wasm-pack build --target web && wasm-pack test --node ```

Steps to reproduce

act output

Log ```none 08:56:57 ➜ deku master βœ— act -v -j ensure_wasm DEBU[0000] Loading environment from /home/sharks/source/deku/.env DEBU[0000] Loading secrets from /home/sharks/source/deku/.secrets DEBU[0000] Loading workflows from '/home/sharks/source/deku/.github/workflows' DEBU[0000] Reading workflow '/home/sharks/source/deku/.github/workflows/main.yml' DEBU[0000] Reading workflow '/home/sharks/source/deku/.github/workflows/pull_request.yml' DEBU[0000] Planning job: ensure_wasm DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] [CI/Ensure wasm] πŸš€ Start image=catthehacker/ubuntu:act-latest DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [CI/Ensure wasm] 🐳 docker pull catthehacker/ubuntu:act-latest DEBU[0000] Image exists? true [CI/Ensure wasm] Removed container: be99e3f909c01c504f30d0d3a0a9f6cabe89b5d5d1932a3b665f5966a330b856 [CI/Ensure wasm] 🐳 docker volume rm act-CI-Ensure-wasm [CI/Ensure wasm] 🐳 docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/Ensure wasm] Created container name=act-CI-Ensure-wasm id=c999e362867f3d72ce0bbe93b31cbc841507132f1addb0a842f2b0c276ecae98 from image catthehacker/ubuntu:act-latest (platform: linux/amd64) [CI/Ensure wasm] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/Ensure wasm] 🐳 docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/Ensure wasm] Starting container: c999e362867f3d72ce0bbe93b31cbc841507132f1addb0a842f2b0c276ecae98 [CI/Ensure wasm] Started container: c999e362867f3d72ce0bbe93b31cbc841507132f1addb0a842f2b0c276ecae98 [CI/Ensure wasm] 🐳 docker cp src=/home/sharks/source/deku/. dst=/home/sharks/source/deku [CI/Ensure wasm] Exec command '[mkdir -p /home/sharks/source/deku]' DEBU[0000] Writing tarball /tmp/act586974594 from /home/sharks/source/deku/. DEBU[0000] Stripping prefix:/home/sharks/source/deku/ src:/home/sharks/source/deku/. [CI/Ensure wasm] Extracting content from '/tmp/act586974594' to '/home/sharks/source/deku' DEBU[0000] Writing entry to tarball workflow/event.json len:2 DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 DEBU[0000] Writing entry to tarball home/.act len:0 [CI/Ensure wasm] Extracting content to '/home/sharks/source' DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] 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:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home ImageOS:ubuntu20] [CI/Ensure wasm] 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:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home ImageOS:ubuntu20] [CI/Ensure wasm] ⭐ Run actions/checkout@v2 DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [CI/Ensure wasm] Skipping actions/checkout [CI/Ensure wasm] βœ… Success - actions/checkout@v2 DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0000] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0000] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home INPUT_OVERRIDE:true INPUT_TOOLCHAIN:nightly ImageOS:ubuntu20] [CI/Ensure wasm] setupEnv => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home INPUT_OVERRIDE:true INPUT_TOOLCHAIN:nightly ImageOS:ubuntu20] [CI/Ensure wasm] ⭐ Run actions-rs/toolchain@v1 [CI/Ensure wasm] ☁ git clone 'https://github.com/actions-rs/toolchain' # ref=v1 [CI/Ensure wasm] cloning https://github.com/actions-rs/toolchain to /home/sharks/.cache/act/actions-rs-toolchain@v1 [CI/Ensure wasm] Unable to pull refs/heads/v1: worktree contains unstaged changes [CI/Ensure wasm] Cloned https://github.com/actions-rs/toolchain to /home/sharks/.cache/act/actions-rs-toolchain@v1 [CI/Ensure wasm] Checked out v1 DEBU[0001] Read action &{rust-toolchain actions-rs team Install the Rust toolchain map[components:{Comma-separated list of components to be additionally installed for a new toolchain false } default:{Set installed toolchain as default false false} override:{Set installed toolchain as an override for a directory false false} profile:{Name of the group of components to be installed for a new toolchain false } target:{Target triple to install for this toolchain false } toolchain:{Rust toolchain name. See https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification If this is not given, the action will try and install the version specified in the `rust-toolchain` file. false }] map[cargo:{Installed Cargo version} rustc:{Installed Rustc version} rustc_hash:{Installed Rustc version hash, can be used for caching purposes} rustup:{Installed rustup version}] {node12 map[] dist/index.js [] []} {black play-circle}} from '/home/sharks/.cache/act/actions-rs-toolchain@v1/action.yml' DEBU[0001] About to run action &{rust-toolchain actions-rs team Install the Rust toolchain map[components:{Comma-separated list of components to be additionally installed for a new toolchain false } default:{Set installed toolchain as default false false} override:{Set installed toolchain as an override for a directory false false} profile:{Name of the group of components to be installed for a new toolchain false } target:{Target triple to install for this toolchain false } toolchain:{Rust toolchain name. See https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification If this is not given, the action will try and install the version specified in the `rust-toolchain` file. false }] map[cargo:{Installed Cargo version} rustc:{Installed Rustc version} rustc_hash:{Installed Rustc version hash, can be used for caching purposes} rustup:{Installed rustup version}] {node12 map[] dist/index.js [] []} {black play-circle}} DEBU[0001] type=3 actionDir=/home/sharks/.cache/act/actions-rs-toolchain@v1 actionPath= Workdir=/home/sharks/source/deku ActionCacheDir=/home/sharks/.cache/act actionName=actions-rs-toolchain@v1 containerActionDir=/actions DEBU[0001] Removing /home/sharks/.cache/act/actions-rs-toolchain@v1/.gitignore before docker cp [CI/Ensure wasm] 🐳 docker cp src=/home/sharks/.cache/act/actions-rs-toolchain@v1 dst=/actions/ [CI/Ensure wasm] Exec command '[mkdir -p /actions/]' DEBU[0001] Writing tarball /tmp/act394119417 from /home/sharks/.cache/act/actions-rs-toolchain@v1 DEBU[0001] Stripping prefix:/home/sharks/.cache/act/ src:/home/sharks/.cache/act/actions-rs-toolchain@v1 [CI/Ensure wasm] Extracting content from '/tmp/act394119417' to '/actions/' DEBU[0001] executing remote job container: [node /actions/actions-rs-toolchain@v1/dist/index.js] [CI/Ensure wasm] Exec command '[node /actions/actions-rs-toolchain@v1/dist/index.js]' [CI/Ensure wasm] πŸ’¬ ::debug::using toolchain from input: nightly [CI/Ensure wasm] πŸ’¬ ::debug::Unable to find "rustup" executable, installing it now. Reason: Error: Unable to locate executable file: rustup. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable. [CI/Ensure wasm] πŸ’¬ ::debug::Downloading https://sh.rustup.rs [CI/Ensure wasm] πŸ’¬ ::debug::Destination /tmp/931fb238-6dca-4045-b246-7ad7e9db01af [CI/Ensure wasm] πŸ’¬ ::debug::download complete [CI/Ensure wasm] πŸ’¬ ::debug::Executing chmod 755 on the /tmp/931fb238-6dca-4045-b246-7ad7e9db01af | [command]/tmp/931fb238-6dca-4045-b246-7ad7e9db01af --default-toolchain none -y | info: downloading installer | error: $HOME differs from euid-obtained home directory: you may be using sudo | error: $HOME directory: /home/sharks/source/home | error: euid-obtained home directory: /root | info: profile set to 'default' | info: default host triple is x86_64-unknown-linux-gnu | info: skipping toolchain installation | | | Rust is installed now. Great! | | To get started you may need to restart your current shell. | This would reload your PATH environment variable to include | Cargo's bin directory ($HOME/.cargo/bin). | | To configure your current shell, run: | source $HOME/.cargo/env [CI/Ensure wasm] βš™ ::add-path:: /home/sharks/source/home/.cargo/bin | [command]/home/sharks/source/home/.cargo/bin/rustup show | Default host: x86_64-unknown-linux-gnu | rustup home: /home/sharks/source/home/.rustup | | no active toolchain | [command]/home/sharks/source/home/.cargo/bin/rustup toolchain install nightly | info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' | info: latest update on 2021-05-11, rust version 1.54.0-nightly (79e50bf77 2021-05-10) | info: downloading component 'cargo' | info: downloading component 'clippy' | info: downloading component 'rust-docs' | info: downloading component 'rust-std' | info: downloading component 'rustc' | info: downloading component 'rustfmt' | info: installing component 'cargo' | info: using up to 500.0 MiB of RAM to unpack components | info: installing component 'clippy' | info: installing component 'rust-docs' | info: installing component 'rust-std' | info: installing component 'rustc' | info: installing component 'rustfmt' | | nightly-x86_64-unknown-linux-gnu installed - rustc 1.54.0-nightly (79e50bf77 2021-05-10) | | info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu' | info: checking for self-updates | [command]/home/sharks/source/home/.cargo/bin/rustup override set nightly | info: using existing install for 'nightly-x86_64-unknown-linux-gnu' | info: override toolchain for '/home/sharks/source/deku' set to 'nightly-x86_64-unknown-linux-gnu' | | nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.54.0-nightly (79e50bf77 2021-05-10) | [CI/Ensure wasm] ❓ ::group::Gathering installed versions | [command]/home/sharks/source/home/.cargo/bin/rustc -V | rustc 1.54.0-nightly (79e50bf77 2021-05-10) [CI/Ensure wasm] βš™ ::set-output:: rustc=1.54.0-nightly (79e50bf77 2021-05-10) [CI/Ensure wasm] βš™ ::set-output:: rustc_hash=79e50bf77 | [command]/home/sharks/source/home/.cargo/bin/cargo -V | cargo 1.54.0-nightly (e51522ab3 2021-05-07) [CI/Ensure wasm] βš™ ::set-output:: cargo=1.54.0-nightly (e51522ab3 2021-05-07) | [command]/home/sharks/source/home/.cargo/bin/rustup -V | rustup 1.24.1 (a01bd6b0d 2021-04-27) | info: This is the version for the rustup toolchain manager, not the rustc compiler. | info: The currently active `rustc` version is `rustc 1.54.0-nightly (79e50bf77 2021-05-10)` [CI/Ensure wasm] βš™ ::set-output:: rustup=1.24.1 (a01bd6b0d 2021-04-27) [CI/Ensure wasm] ❓ ::endgroup:: [CI/Ensure wasm] βœ… Success - actions-rs/toolchain@v1 DEBU[0027] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0027] HEAD matches refs/heads/master DEBU[0027] using github ref: refs/heads/master DEBU[0027] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0027] HEAD matches refs/heads/master DEBU[0027] using github ref: refs/heads/master DEBU[0027] context env => map[ACT:true] DEBU[0027] Loading slug from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] Loading revision from git directory '/home/sharks/source/deku/.git' DEBU[0027] Found revision: dbc50a45a9414a7877749551f770cd5377a7cf88 DEBU[0027] HEAD points to 'dbc50a45a9414a7877749551f770cd5377a7cf88' DEBU[0027] HEAD matches refs/heads/master DEBU[0027] using github ref: refs/heads/master DEBU[0027] context env => map[ACT:true] DEBU[0027] context env => map[ACT:true CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home INPUT_VERSION:latest ImageOS:ubuntu20 PATH:/home/sharks/source/home/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [CI/Ensure wasm] setupEnv => map[ACT:true CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/home/sharks/source/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/home/sharks/source/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:sharksforarms/deku GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:dbc50a45a9414a7877749551f770cd5377a7cf88 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/home/sharks/source/deku HOME:/home/sharks/source/home INPUT_VERSION:latest ImageOS:ubuntu20 PATH:/home/sharks/source/home/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] [CI/Ensure wasm] ⭐ Run jetli/wasm-pack-action@v0.3.0 [CI/Ensure wasm] ☁ git clone 'https://github.com/jetli/wasm-pack-action' # ref=v0.3.0 [CI/Ensure wasm] cloning https://github.com/jetli/wasm-pack-action to /home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 [CI/Ensure wasm] Unable to pull refs/heads/v0.3.0: worktree contains unstaged changes [CI/Ensure wasm] Cloned https://github.com/jetli/wasm-pack-action to /home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 [CI/Ensure wasm] Checked out v0.3.0 DEBU[0027] Read action &{wasm-pack-action jetli Install `wasm-pack` by downloading the executable (much faster than `cargo install wasm-pack`, seconds vs minutes). map[version:{Optional version of wasm-pack to install (eg. "v0.9.1", "latest") false latest}] map[] {node12 map[] dist/index.js [] []} {orange package}} from '/home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0/action.yml' DEBU[0027] About to run action &{wasm-pack-action jetli Install `wasm-pack` by downloading the executable (much faster than `cargo install wasm-pack`, seconds vs minutes). map[version:{Optional version of wasm-pack to install (eg. "v0.9.1", "latest") false latest}] map[] {node12 map[] dist/index.js [] []} {orange package}} DEBU[0027] type=3 actionDir=/home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 actionPath= Workdir=/home/sharks/source/deku ActionCacheDir=/home/sharks/.cache/act actionName=jetli-wasm-pack-action@v0.3.0 containerActionDir=/actions DEBU[0027] Removing /home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0/.gitignore before docker cp [CI/Ensure wasm] 🐳 docker cp src=/home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 dst=/actions/ [CI/Ensure wasm] Exec command '[mkdir -p /actions/]' DEBU[0027] Writing tarball /tmp/act741760516 from /home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 DEBU[0027] Stripping prefix:/home/sharks/.cache/act/ src:/home/sharks/.cache/act/jetli-wasm-pack-action@v0.3.0 [CI/Ensure wasm] Extracting content from '/tmp/act741760516' to '/actions/' DEBU[0027] executing remote job container: [node /actions/jetli-wasm-pack-action@v0.3.0/dist/index.js] [CI/Ensure wasm] Exec command '[node /actions/jetli-wasm-pack-action@v0.3.0/dist/index.js]' | Searching the latest version of wasm-pack ... | Installing wasm-pack v0.9.1 ... [CI/Ensure wasm] πŸ’¬ ::debug::linux | Downloading wasm-pack from https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz ... [CI/Ensure wasm] πŸ’¬ ::debug::Downloading https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz [CI/Ensure wasm] πŸ’¬ ::debug::Destination /tmp/3d26262c-6a91-483c-b8cf-555a0d8fb670 [CI/Ensure wasm] πŸ’¬ ::debug::download complete | Extracting wasm-pack to /tmp/setup-wasm-pack ... [CI/Ensure wasm] πŸ’¬ ::debug::Checking tar --version [CI/Ensure wasm] πŸ’¬ ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later .%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason. | [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /tmp/setup-wasm-pack -f /tmp/3d26262c-6a91-483c-b8cf-555a0d8fb670 [CI/Ensure wasm] ❗ ::error::EXDEV: cross-device link not permitted, rename '/tmp/setup-wasm-pack/wasm-pack-v0.9.1-x86_64-unknown-linux-musl/wasm-pack' -> '/home/sharks/source/home/.cargo/bin/wasm-pack' | Done [CI/Ensure wasm] ❌ Failure - jetli/wasm-pack-action@v0.3.0 DEBU[0029] exit with `FAILURE`: 1 DEBU[0029] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ```
github-actions[bot] commented 3 years ago

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

sharksforarms commented 3 years ago

(still a bug)

mcalhoun commented 1 year ago

I am also experiencing this problem, but with different actions. Anytime the node fs.rename() method is called, I get the error message:

::error::Error: EXDEV: cross-device link not permitted, rename '/home/runner/work/_temp/48032d05-c1a8-4148-a981-c99068b0e46e' -> '/run/act/actions/mybin/mybinname'

What appears to be happening is that /home (or some subpath) and /run (or some subpath) are on different mounted filesystems as described in the rename man page.

From the doc:


       EXDEV  oldpath and newpath are not on the same mounted
              filesystem.  (Linux permits a filesystem to be mounted at
              multiple points, but rename() does not work across
              different mount points, even if the same filesystem is
              mounted on both.)

This error does not occur with the same code on an actual Github Runner, so it's presumably something specific to the docker setup.