cargo icon indicating copy to clipboard operation
cargo copied to clipboard

Include macro not finding a file

Open x86y opened this issue 1 year ago • 0 comments

Do the checklist before filing an issue:

  • [X] Is this related to the actions-rs Actions?
  • [X] You've read the Contributing section about bugs reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
  • [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

Description

include_bytes! does not find a valid and existing file in the project directory

Workflow code

on: [push, pull_request]
name: xcompile
env:
  PKG_CONFIG_PATH: "/usr/lib/x86_64-linux-gnu/pkgconfig"

jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    strategy:
      matrix:
        target:
          # - aarch64-apple-darwin
          # - x86_64-unknown-linux-gnu
          - x86_64-pc-windows-gnu
        cross: [true]
    steps:
      - uses: actions/checkout@v3
      - name: Check if BQN.Wasm exists
        run: file /home/runner/work/beacon/beacon/src/BQN.wasm
      - name: Toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          target: ${{ matrix.target }}
          override: true
      - name: Install dependencies
        run: |
          sudo apt-get install cmake pkg-config libfreetype6-dev fontconfig libfontconfig libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev
      - if: ${{ matrix.cross }}
        name: Create Cross.toml
        shell: bash
        run: |
          cat > Cross.toml <<EOF
          [build.env]
          passthrough = ["BQN_WASM"]
          EOF
      - name: Cargo Build
        uses: actions-rs/cargo@v1
        env:
          BQN_WASM: /home/runner/work/beacon/beacon/src/BQN.wasm
        with:
          use-cross: true
          command: build
          args: --release --target=${{ matrix.target }} --no-default-features --features=bqnwasm
      - name: Release
        uses: softprops/action-gh-release@v1
        if: startsWith(github.ref, 'refs/tags/')
        with:
          files: |
            README.md
            LICENSE

Action output

output 2023-06-23T08:10:08.4308126Z Requested labels: ubuntu-latest 2023-06-23T08:10:08.4308494Z Job defined at: x86y/beacon/.github/workflows/compile.yml@refs/heads/develop 2023-06-23T08:10:08.4308634Z Waiting for a runner to pick up this job... 2023-06-23T08:10:08.9176201Z Job is waiting for a hosted runner to come online. 2023-06-23T08:10:12.7040464Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted) 2023-06-23T08:10:16.4213234Z Current runner version: '2.305.0' 2023-06-23T08:10:16.4248450Z ##[group]Operating System 2023-06-23T08:10:16.4249232Z Ubuntu 2023-06-23T08:10:16.4249508Z 22.04.2 2023-06-23T08:10:16.4249812Z LTS 2023-06-23T08:10:16.4250087Z ##[endgroup] 2023-06-23T08:10:16.4250435Z ##[group]Runner Image 2023-06-23T08:10:16.4250900Z Image: ubuntu-22.04 2023-06-23T08:10:16.4251260Z Version: 20230619.1.0 2023-06-23T08:10:16.4251783Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230619.1.0/images/linux/Ubuntu2204-Readme.md 2023-06-23T08:10:16.4253362Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230619.1.0 2023-06-23T08:10:16.4254051Z ##[endgroup] 2023-06-23T08:10:16.4254412Z ##[group]Runner Image Provisioner 2023-06-23T08:10:16.4254810Z 2.0.238.1 2023-06-23T08:10:16.4255147Z ##[endgroup] 2023-06-23T08:10:16.4256414Z ##[group]GITHUB_TOKEN Permissions 2023-06-23T08:10:16.4257322Z Actions: write 2023-06-23T08:10:16.4257936Z Checks: write 2023-06-23T08:10:16.4258416Z Contents: write 2023-06-23T08:10:16.4258764Z Deployments: write 2023-06-23T08:10:16.4259113Z Discussions: write 2023-06-23T08:10:16.4259399Z Issues: write 2023-06-23T08:10:16.4259737Z Metadata: read 2023-06-23T08:10:16.4260122Z Packages: write 2023-06-23T08:10:16.4260406Z Pages: write 2023-06-23T08:10:16.4260751Z PullRequests: write 2023-06-23T08:10:16.4261168Z RepositoryProjects: write 2023-06-23T08:10:16.4261497Z SecurityEvents: write 2023-06-23T08:10:16.4261897Z Statuses: write 2023-06-23T08:10:16.4262241Z ##[endgroup] 2023-06-23T08:10:16.4267118Z Secret source: Actions 2023-06-23T08:10:16.4267749Z Prepare workflow directory 2023-06-23T08:10:16.5354015Z Prepare all required actions 2023-06-23T08:10:16.5582395Z Getting action download info 2023-06-23T08:10:16.8762816Z Download action repository 'actions/checkout@v3' (SHA:c85c95e3d7251135ab7dc9ce3241c5835cc595a9) 2023-06-23T08:10:17.2553827Z Download action repository 'actions-rs/toolchain@v1' (SHA:16499b5e05bf2e26879000db0c1d13f7e13fa3af) 2023-06-23T08:10:17.4486786Z Download action repository 'actions-rs/cargo@v1' (SHA:844f36862e911db73fe0815f00a4a2602c279505) 2023-06-23T08:10:17.6403038Z Download action repository 'softprops/action-gh-release@v1' (SHA:de2c0eb89ae2a093876385947365aca7b0e5f844) 2023-06-23T08:10:17.9516092Z Complete job name: Build (x86_64-pc-windows-gnu, true) 2023-06-23T08:10:18.0805545Z ##[group]Run actions/checkout@v3 2023-06-23T08:10:18.0806212Z with: 2023-06-23T08:10:18.0806509Z repository: x86y/beacon 2023-06-23T08:10:18.0807301Z token: *** 2023-06-23T08:10:18.0807770Z ssh-strict: true 2023-06-23T08:10:18.0808143Z persist-credentials: true 2023-06-23T08:10:18.0808633Z clean: true 2023-06-23T08:10:18.1000875Z sparse-checkout-cone-mode: true 2023-06-23T08:10:18.1001398Z fetch-depth: 1 2023-06-23T08:10:18.1001645Z lfs: false 2023-06-23T08:10:18.1002048Z submodules: false 2023-06-23T08:10:18.1002466Z set-safe-directory: true 2023-06-23T08:10:18.1002755Z env: 2023-06-23T08:10:18.1003057Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:18.1003539Z ##[endgroup] 2023-06-23T08:10:18.4272025Z Syncing repository: x86y/beacon 2023-06-23T08:10:18.4274526Z ##[group]Getting Git version info 2023-06-23T08:10:18.4275282Z Working directory is '/home/runner/work/beacon/beacon' 2023-06-23T08:10:18.4275938Z [command]/usr/bin/git version 2023-06-23T08:10:18.4351228Z git version 2.41.0 2023-06-23T08:10:18.4384533Z ##[endgroup] 2023-06-23T08:10:18.4405683Z Temporarily overriding HOME='/home/runner/work/_temp/8a6de97c-5979-4fb3-b6b0-11488f9567ca' before making global git config changes 2023-06-23T08:10:18.4406165Z Adding repository directory to the temporary git global config as a safe directory 2023-06-23T08:10:18.4412813Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/beacon/beacon 2023-06-23T08:10:18.4457300Z Deleting the contents of '/home/runner/work/beacon/beacon' 2023-06-23T08:10:18.4463501Z ##[group]Initializing the repository 2023-06-23T08:10:18.4469888Z [command]/usr/bin/git init /home/runner/work/beacon/beacon 2023-06-23T08:10:18.4578012Z hint: Using 'master' as the name for the initial branch. This default branch name 2023-06-23T08:10:18.4578871Z hint: is subject to change. To configure the initial branch name to use in all 2023-06-23T08:10:18.4580212Z hint: of your new repositories, which will suppress this warning, call: 2023-06-23T08:10:18.4580783Z hint: 2023-06-23T08:10:18.4581818Z hint: git config --global init.defaultBranch 2023-06-23T08:10:18.4582561Z hint: 2023-06-23T08:10:18.4583399Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2023-06-23T08:10:18.4584310Z hint: 'development'. The just-created branch can be renamed via this command: 2023-06-23T08:10:18.4585108Z hint: 2023-06-23T08:10:18.4585669Z hint: git branch -m 2023-06-23T08:10:18.4596191Z Initialized empty Git repository in /home/runner/work/beacon/beacon/.git/ 2023-06-23T08:10:18.4608517Z [command]/usr/bin/git remote add origin https://github.com/x86y/beacon 2023-06-23T08:10:18.4659919Z ##[endgroup] 2023-06-23T08:10:18.4660681Z ##[group]Disabling automatic garbage collection 2023-06-23T08:10:18.4663371Z [command]/usr/bin/git config --local gc.auto 0 2023-06-23T08:10:18.4702424Z ##[endgroup] 2023-06-23T08:10:18.4703171Z ##[group]Setting up auth 2023-06-23T08:10:18.4713766Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2023-06-23T08:10:18.4750032Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2023-06-23T08:10:18.5215765Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2023-06-23T08:10:18.5246036Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2023-06-23T08:10:18.5535461Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2023-06-23T08:10:18.5569487Z ##[endgroup] 2023-06-23T08:10:18.5570142Z ##[group]Fetching the repository 2023-06-23T08:10:18.5584117Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +53e18a44ca6e8d48efbe9e4dd894308e0e3b19bd:refs/remotes/origin/develop 2023-06-23T08:10:18.7453684Z remote: Enumerating objects: 133, done. 2023-06-23T08:10:18.7459972Z remote: Counting objects: 0% (1/133) 2023-06-23T08:10:18.7460895Z remote: Counting objects: 1% (2/133) 2023-06-23T08:10:18.7461462Z remote: Counting objects: 2% (3/133) 2023-06-23T08:10:18.7462593Z remote: Counting objects: 3% (4/133) 2023-06-23T08:10:18.7463289Z remote: Counting objects: 4% (6/133) 2023-06-23T08:10:18.7463999Z remote: Counting objects: 5% (7/133) 2023-06-23T08:10:18.7464523Z remote: Counting objects: 6% (8/133) 2023-06-23T08:10:18.7465277Z remote: Counting objects: 7% (10/133) 2023-06-23T08:10:18.7466056Z remote: Counting objects: 8% (11/133) 2023-06-23T08:10:18.7466787Z remote: Counting objects: 9% (12/133) 2023-06-23T08:10:18.7467314Z remote: Counting objects: 10% (14/133) 2023-06-23T08:10:18.7469317Z remote: Counting objects: 11% (15/133) 2023-06-23T08:10:18.7470097Z remote: Counting objects: 12% (16/133) 2023-06-23T08:10:18.7471076Z remote: Counting objects: 13% (18/133) 2023-06-23T08:10:18.7471814Z remote: Counting objects: 14% (19/133) 2023-06-23T08:10:18.7472800Z remote: Counting objects: 15% (20/133) ... 2023-06-23T08:10:18.9525505Z Resolving deltas: 37% (3/8) 2023-06-23T08:10:18.9531238Z Resolving deltas: 50% (4/8) 2023-06-23T08:10:18.9536252Z Resolving deltas: 62% (5/8) 2023-06-23T08:10:18.9540060Z Resolving deltas: 75% (6/8) 2023-06-23T08:10:18.9544418Z Resolving deltas: 87% (7/8) 2023-06-23T08:10:18.9555027Z Resolving deltas: 100% (8/8) 2023-06-23T08:10:18.9555334Z Resolving deltas: 100% (8/8), done. 2023-06-23T08:10:19.0952289Z From https://github.com/x86y/beacon 2023-06-23T08:10:19.0953539Z * [new ref] 53e18a44ca6e8d48efbe9e4dd894308e0e3b19bd -> origin/develop 2023-06-23T08:10:19.1008944Z ##[endgroup] 2023-06-23T08:10:19.1009696Z ##[group]Determining the checkout info 2023-06-23T08:10:19.1010641Z ##[endgroup] 2023-06-23T08:10:19.1011298Z ##[group]Checking out the ref 2023-06-23T08:10:19.1012395Z [command]/usr/bin/git checkout --progress --force -B develop refs/remotes/origin/develop 2023-06-23T08:10:19.1622802Z Switched to a new branch 'develop' 2023-06-23T08:10:19.1627469Z branch 'develop' set up to track 'origin/develop'. 2023-06-23T08:10:19.1657012Z ##[endgroup] 2023-06-23T08:10:19.1710897Z [command]/usr/bin/git log -1 --format='%H' 2023-06-23T08:10:19.1733247Z '53e18a44ca6e8d48efbe9e4dd894308e0e3b19bd' 2023-06-23T08:10:19.2086409Z ##[group]Run file /home/runner/work/beacon/beacon/src/BQN.wasm 2023-06-23T08:10:19.2086883Z [36;1mfile /home/runner/work/beacon/beacon/src/BQN.wasm[0m 2023-06-23T08:10:19.2156420Z shell: /usr/bin/bash -e {0} 2023-06-23T08:10:19.2156681Z env: 2023-06-23T08:10:19.2157135Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:19.2157425Z ##[endgroup] 2023-06-23T08:10:19.4451193Z /home/runner/work/beacon/beacon/src/BQN.wasm: WebAssembly (wasm) binary module version 0x1 (MVP) 2023-06-23T08:10:19.4525124Z ##[group]Run actions-rs/toolchain@v1 2023-06-23T08:10:19.4525393Z with: 2023-06-23T08:10:19.4525585Z toolchain: stable 2023-06-23T08:10:19.4525810Z target: x86_64-pc-windows-gnu 2023-06-23T08:10:19.4526009Z override: true 2023-06-23T08:10:19.4526207Z default: false 2023-06-23T08:10:19.4526392Z env: 2023-06-23T08:10:19.4526811Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:19.4527238Z ##[endgroup] 2023-06-23T08:10:19.6248133Z [command]/home/runner/.cargo/bin/rustup show 2023-06-23T08:10:20.0126908Z Default host: x86_64-unknown-linux-gnu 2023-06-23T08:10:20.0133052Z rustup home: /home/runner/.rustup 2023-06-23T08:10:20.0137910Z 2023-06-23T08:10:20.1143672Z stable-x86_64-unknown-linux-gnu (default) 2023-06-23T08:10:20.2883997Z rustc 1.70.0 (90c541806 2023-05-31) 2023-06-23T08:10:20.3033548Z [command]/home/runner/.cargo/bin/rustup toolchain install stable 2023-06-23T08:10:20.4036551Z info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' 2023-06-23T08:10:20.4983998Z 2023-06-23T08:10:20.5151751Z stable-x86_64-unknown-linux-gnu unchanged - rustc 1.70.0 (90c541806 2023-05-31) 2023-06-23T08:10:20.5152519Z 2023-06-23T08:10:20.5152798Z info: checking for self-update 2023-06-23T08:10:20.5211788Z warning: tool `rust-analyzer` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool. 2023-06-23T08:10:20.5212730Z warning: tool `rustfmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool. 2023-06-23T08:10:20.5215607Z warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool. 2023-06-23T08:10:20.5240513Z [command]/home/runner/.cargo/bin/rustup override set stable 2023-06-23T08:10:20.5317996Z info: using existing install for 'stable-x86_64-unknown-linux-gnu' 2023-06-23T08:10:20.5318593Z info: override toolchain for '/home/runner/work/beacon/beacon' set to 'stable-x86_64-unknown-linux-gnu' 2023-06-23T08:10:20.5336857Z 2023-06-23T08:10:20.5512649Z stable-x86_64-unknown-linux-gnu unchanged - rustc 1.70.0 (90c541806 2023-05-31) 2023-06-23T08:10:20.5513324Z 2023-06-23T08:10:20.5530166Z [command]/home/runner/.cargo/bin/rustup target add --toolchain stable x86_64-pc-windows-gnu 2023-06-23T08:10:20.6355827Z info: downloading component 'rust-std' for 'x86_64-pc-windows-gnu' 2023-06-23T08:10:20.9368312Z info: installing component 'rust-std' for 'x86_64-pc-windows-gnu' 2023-06-23T08:10:23.5293056Z ##[group]Gathering installed versions 2023-06-23T08:10:23.5305150Z [command]/home/runner/.cargo/bin/rustc -V 2023-06-23T08:10:23.6000567Z rustc 1.70.0 (90c541806 2023-05-31) 2023-06-23T08:10:23.6042088Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ 2023-06-23T08:10:23.6055322Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ 2023-06-23T08:10:23.6056315Z [command]/home/runner/.cargo/bin/cargo -V 2023-06-23T08:10:24.1910707Z cargo 1.70.0 (ec8a8a0ca 2023-04-25) 2023-06-23T08:10:24.1923775Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ 2023-06-23T08:10:24.1935510Z [command]/home/runner/.cargo/bin/rustup -V 2023-06-23T08:10:24.1987114Z rustup 1.26.0 (5af9b9484 2023-04-05) 2023-06-23T08:10:24.1988018Z info: This is the version for the rustup toolchain manager, not the rustc compiler. 2023-06-23T08:10:24.2581060Z info: The currently active `rustc` version is `rustc 1.70.0 (90c541806 2023-05-31)` 2023-06-23T08:10:24.2599305Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ 2023-06-23T08:10:24.2602068Z ##[endgroup] 2023-06-23T08:10:24.2728736Z ##[group]Run sudo apt-get install cmake pkg-config libfreetype6-dev fontconfig libfontconfig libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev 2023-06-23T08:10:24.2729368Z [36;1msudo apt-get install cmake pkg-config libfreetype6-dev fontconfig libfontconfig libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev[0m 2023-06-23T08:10:24.2786284Z shell: /usr/bin/bash -e {0} 2023-06-23T08:10:24.2786505Z env: 2023-06-23T08:10:24.2786734Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:24.2786978Z ##[endgroup] 2023-06-23T08:10:29.0670519Z Reading package lists... 2023-06-23T08:10:29.2329449Z Building dependency tree... 2023-06-23T08:10:29.2542713Z Reading state information... 2023-06-23T08:10:29.3950233Z fontconfig is already the newest version (2.13.1-4.2ubuntu5). 2023-06-23T08:10:29.3950975Z fontconfig set to manually installed. 2023-06-23T08:10:29.3953919Z libfontconfig1 is already the newest version (2.13.1-4.2ubuntu5). 2023-06-23T08:10:29.3956237Z libfontconfig1 set to manually installed. 2023-06-23T08:10:29.3956797Z libfontconfig1-dev is already the newest version (2.13.1-4.2ubuntu5). 2023-06-23T08:10:29.3957336Z libfontconfig1-dev set to manually installed. 2023-06-23T08:10:29.3957886Z pkg-config is already the newest version (0.29.2-1ubuntu3). 2023-06-23T08:10:29.3959653Z libfreetype6-dev is already the newest version (2.11.1+dfsg-1ubuntu0.2). 2023-06-23T08:10:29.3960405Z libfreetype6-dev set to manually installed. 2023-06-23T08:10:29.3961082Z The following additional packages will be installed: 2023-06-23T08:10:29.3961616Z cmake-data dh-elpa-helper libjsoncpp25 librhash0 libxcb-shape0 2023-06-23T08:10:29.3961935Z libxcb-shape0-dev 2023-06-23T08:10:29.4009698Z Suggested packages: 2023-06-23T08:10:29.4010256Z cmake-doc ninja-build cmake-format 2023-06-23T08:10:29.4494721Z The following NEW packages will be installed: 2023-06-23T08:10:29.4499848Z cmake cmake-data dh-elpa-helper libjsoncpp25 librhash0 libxcb-shape0 2023-06-23T08:10:29.4503101Z libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev 2023-06-23T08:10:29.6667155Z 0 upgraded, 9 newly installed, 0 to remove and 27 not upgraded. 2023-06-23T08:10:29.6668409Z Need to get 7219 kB of archives. 2023-06-23T08:10:29.6668729Z After this operation, 32.4 MB of additional disk space will be used. 2023-06-23T08:10:29.6669784Z Get:1 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libjsoncpp25 amd64 1.9.5-3 [80.0 kB] 2023-06-23T08:10:29.7232555Z Get:2 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 librhash0 amd64 1.4.2-1ubuntu1 [125 kB] 2023-06-23T08:10:29.7535978Z Get:3 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 dh-elpa-helper all 2.0.9ubuntu1 [7610 B] 2023-06-23T08:10:29.7690235Z Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake-data all 3.22.1-1ubuntu1.22.04.1 [1913 kB] 2023-06-23T08:10:29.8382306Z Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake amd64 3.22.1-1ubuntu1.22.04.1 [5013 kB] 2023-06-23T08:10:29.9089655Z Get:6 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-shape0 amd64 1.14-3ubuntu3 [6158 B] 2023-06-23T08:10:29.9243525Z Get:7 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-shape0-dev amd64 1.14-3ubuntu3 [7320 B] 2023-06-23T08:10:29.9401187Z Get:8 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-xfixes0-dev amd64 1.14-3ubuntu3 [12.5 kB] 2023-06-23T08:10:29.9559038Z Get:9 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libxkbcommon-dev amd64 1.4.0-1 [54.9 kB] 2023-06-23T08:10:30.4347125Z Fetched 7219 kB in 1s (14.4 MB/s) 2023-06-23T08:10:30.5314262Z Selecting previously unselected package libjsoncpp25:amd64. 2023-06-23T08:10:30.5590270Z (Reading database ... 2023-06-23T08:10:30.5590548Z (Reading database ... 5% 2023-06-23T08:10:30.5590949Z (Reading database ... 10% 2023-06-23T08:10:30.5591447Z (Reading database ... 15% 2023-06-23T08:10:30.5591775Z (Reading database ... 20% 2023-06-23T08:10:30.5592053Z (Reading database ... 25% 2023-06-23T08:10:30.5592652Z (Reading database ... 30% 2023-06-23T08:10:30.5592901Z (Reading database ... 35% 2023-06-23T08:10:30.5593310Z (Reading database ... 40% 2023-06-23T08:10:30.5593550Z (Reading database ... 45% 2023-06-23T08:10:30.5593773Z (Reading database ... 50% 2023-06-23T08:10:30.8716329Z (Reading database ... 55% 2023-06-23T08:10:31.0780747Z (Reading database ... 60% 2023-06-23T08:10:31.2887845Z (Reading database ... 65% 2023-06-23T08:10:31.6106491Z (Reading database ... 70% 2023-06-23T08:10:32.4169179Z (Reading database ... 75% 2023-06-23T08:10:33.5238521Z (Reading database ... 80% 2023-06-23T08:10:34.4638721Z (Reading database ... 85% 2023-06-23T08:10:35.4049789Z (Reading database ... 90% 2023-06-23T08:10:36.4231405Z (Reading database ... 95% 2023-06-23T08:10:36.4232262Z (Reading database ... 100% 2023-06-23T08:10:36.4233281Z (Reading database ... 221163 files and directories currently installed.) 2023-06-23T08:10:36.4367679Z Preparing to unpack .../0-libjsoncpp25_1.9.5-3_amd64.deb ... 2023-06-23T08:10:36.4495982Z Unpacking libjsoncpp25:amd64 (1.9.5-3) ... 2023-06-23T08:10:36.4865869Z Selecting previously unselected package librhash0:amd64. 2023-06-23T08:10:36.5111811Z Preparing to unpack .../1-librhash0_1.4.2-1ubuntu1_amd64.deb ... 2023-06-23T08:10:36.5142677Z Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ... 2023-06-23T08:10:36.5501251Z Selecting previously unselected package dh-elpa-helper. 2023-06-23T08:10:36.5766622Z Preparing to unpack .../2-dh-elpa-helper_2.0.9ubuntu1_all.deb ... 2023-06-23T08:10:36.5799872Z Unpacking dh-elpa-helper (2.0.9ubuntu1) ... 2023-06-23T08:10:36.6248252Z Selecting previously unselected package cmake-data. 2023-06-23T08:10:36.6499066Z Preparing to unpack .../3-cmake-data_3.22.1-1ubuntu1.22.04.1_all.deb ... 2023-06-23T08:10:36.6613305Z Unpacking cmake-data (3.22.1-1ubuntu1.22.04.1) ... 2023-06-23T08:10:37.2962085Z Selecting previously unselected package cmake. 2023-06-23T08:10:37.3221712Z Preparing to unpack .../4-cmake_3.22.1-1ubuntu1.22.04.1_amd64.deb ... 2023-06-23T08:10:37.3239180Z Unpacking cmake (3.22.1-1ubuntu1.22.04.1) ... 2023-06-23T08:10:37.5056923Z Selecting previously unselected package libxcb-shape0:amd64. 2023-06-23T08:10:37.5311622Z Preparing to unpack .../5-libxcb-shape0_1.14-3ubuntu3_amd64.deb ... 2023-06-23T08:10:37.5332908Z Unpacking libxcb-shape0:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.5629735Z Selecting previously unselected package libxcb-shape0-dev:amd64. 2023-06-23T08:10:37.5855304Z Preparing to unpack .../6-libxcb-shape0-dev_1.14-3ubuntu3_amd64.deb ... 2023-06-23T08:10:37.5875311Z Unpacking libxcb-shape0-dev:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.6302066Z Selecting previously unselected package libxcb-xfixes0-dev:amd64. 2023-06-23T08:10:37.6553742Z Preparing to unpack .../7-libxcb-xfixes0-dev_1.14-3ubuntu3_amd64.deb ... 2023-06-23T08:10:37.6572415Z Unpacking libxcb-xfixes0-dev:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.6869184Z Selecting previously unselected package libxkbcommon-dev:amd64. 2023-06-23T08:10:37.7075496Z Preparing to unpack .../8-libxkbcommon-dev_1.4.0-1_amd64.deb ... 2023-06-23T08:10:37.7098919Z Unpacking libxkbcommon-dev:amd64 (1.4.0-1) ... 2023-06-23T08:10:37.7767855Z Setting up libxkbcommon-dev:amd64 (1.4.0-1) ... 2023-06-23T08:10:37.7820429Z Setting up libxcb-shape0:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.7873333Z Setting up dh-elpa-helper (2.0.9ubuntu1) ... 2023-06-23T08:10:37.7925655Z Setting up libjsoncpp25:amd64 (1.9.5-3) ... 2023-06-23T08:10:37.7970067Z Setting up libxcb-shape0-dev:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.8022952Z Setting up librhash0:amd64 (1.4.2-1ubuntu1) ... 2023-06-23T08:10:37.8076739Z Setting up cmake-data (3.22.1-1ubuntu1.22.04.1) ... 2023-06-23T08:10:37.8890808Z Setting up libxcb-xfixes0-dev:amd64 (1.14-3ubuntu3) ... 2023-06-23T08:10:37.8943492Z Setting up cmake (3.22.1-1ubuntu1.22.04.1) ... 2023-06-23T08:10:37.9002993Z Processing triggers for man-db (2.10.2-1) ... 2023-06-23T08:10:38.9603092Z Processing triggers for libc-bin (2.35-0ubuntu3.1) ... 2023-06-23T08:10:44.7263851Z NEEDRESTART-VER: 3.5 2023-06-23T08:10:45.4958322Z NEEDRESTART-KCUR: 5.15.0-1040-azure 2023-06-23T08:10:45.4959727Z NEEDRESTART-KEXP: 5.15.0-1040-azure 2023-06-23T08:10:45.4960787Z NEEDRESTART-KSTA: 1 2023-06-23T08:10:47.5142232Z ##[group]Run cat > Cross.toml [36;1mcat > Cross.toml [0m 2023-06-23T08:10:47.5143406Z [36;1m[build.env][0m 2023-06-23T08:10:47.5143658Z [36;1mpassthrough = ["BQN_WASM"][0m 2023-06-23T08:10:47.5143916Z [36;1mEOF[0m 2023-06-23T08:10:47.5214201Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2023-06-23T08:10:47.5214479Z env: 2023-06-23T08:10:47.5214750Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:47.5215021Z ##[endgroup] 2023-06-23T08:10:47.5419907Z ##[group]Run actions-rs/cargo@v1 2023-06-23T08:10:47.5420171Z with: 2023-06-23T08:10:47.5420364Z use-cross: true 2023-06-23T08:10:47.5420552Z command: build 2023-06-23T08:10:47.5420875Z args: --release --target=x86_64-pc-windows-gnu --no-default-features --features=bqnwasm 2023-06-23T08:10:47.5421175Z env: 2023-06-23T08:10:47.5421400Z PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig 2023-06-23T08:10:47.5421707Z BQN_WASM: /home/runner/work/beacon/beacon/src/BQN.wasm 2023-06-23T08:10:47.5421954Z ##[endgroup] 2023-06-23T08:10:47.6562712Z ##[group]Installing "cross = latest" 2023-06-23T08:10:47.6578165Z [command]/home/runner/.cargo/bin/cargo install cross 2023-06-23T08:10:48.0164339Z Updating crates.io index 2023-06-23T08:10:48.1431864Z Downloading crates ... 2023-06-23T08:10:48.5867021Z Downloaded cross v0.2.5 2023-06-23T08:10:48.7783130Z Installing cross v0.2.5 2023-06-23T08:10:49.3402773Z Updating crates.io index 2023-06-23T08:10:49.8192108Z Downloading crates ... 2023-06-23T08:10:49.8817210Z Downloaded bitflags v1.3.2 ... 2023-06-23T08:11:34.1477436Z Compiling rustc_version v0.4.0 2023-06-23T08:11:34.8330593Z Compiling color-eyre v0.6.2 2023-06-23T08:11:36.0301030Z Compiling ctrlc v3.4.0 2023-06-23T08:11:36.2079776Z Compiling toml v0.5.11 2023-06-23T08:11:39.4535136Z Compiling serde_ignored v0.1.7 2023-06-23T08:11:39.6957973Z Compiling nix v0.24.3 2023-06-23T08:11:39.7358919Z Compiling home v0.5.5 2023-06-23T08:11:39.9015153Z Compiling shell-escape v0.1.5 2023-06-23T08:11:40.1514673Z Compiling shell-words v1.1.0 2023-06-23T08:11:40.3717106Z Compiling const-sha1 v0.2.0 2023-06-23T08:12:21.0054879Z Finished release [optimized] target(s) in 1m 33s 2023-06-23T08:12:21.0273742Z Installing /home/runner/.cargo/bin/cross 2023-06-23T08:12:21.0274859Z Installing /home/runner/.cargo/bin/cross-util 2023-06-23T08:12:21.0279313Z Installed package `cross v0.2.5` (executables `cross`, `cross-util`) 2023-06-23T08:12:21.0983073Z ##[endgroup] 2023-06-23T08:12:21.0989879Z ##[endgroup] 2023-06-23T08:12:21.0990734Z [command]cross build --release --target=x86_64-pc-windows-gnu --no-default-features --features=bqnwasm 2023-06-23T08:12:33.6001797Z info: downloading component 'rust-src' 2023-06-23T08:12:33.6630179Z info: installing component 'rust-src' 2023-06-23T08:12:40.8117016Z Unable to find image 'ghcr.io/cross-rs/x86_64-pc-windows-gnu:0.2.5' locally 2023-06-23T08:12:41.0584467Z 0.2.5: Pulling from cross-rs/x86_64-pc-windows-gnu 2023-06-23T08:12:41.1327141Z 09db6f815738: Pulling fs layer 2023-06-23T08:12:41.1327539Z fc7ec11a6458: Pulling fs layer 2023-06-23T08:12:41.1327850Z 0d0d5b9e5435: Pulling fs layer 2023-06-23T08:12:41.1328145Z 6c55ea5a00b4: Pulling fs layer 2023-06-23T08:12:41.1328867Z 5176e4e782f1: Pulling fs layer 2023-06-23T08:12:41.1376736Z 2145e827e395: Pulling fs layer 2023-06-23T08:12:41.1377063Z 64f0f203691b: Pulling fs layer 2023-06-23T08:12:41.1377395Z 22196993e4ac: Pulling fs layer 2023-06-23T08:12:41.1377701Z a50bf66d5173: Pulling fs layer 2023-06-23T08:12:41.1378055Z 9668ce346a3f: Pulling fs layer 2023-06-23T08:12:41.1378363Z 6d156b2a90a3: Pulling fs layer 2023-06-23T08:12:41.1378891Z a9191102f368: Pulling fs layer 2023-06-23T08:12:41.1379150Z a3ea7e91a614: Pulling fs layer 2023-06-23T08:12:41.1379441Z 22196993e4ac: Waiting 2023-06-23T08:12:41.1379779Z a50bf66d5173: Waiting 2023-06-23T08:12:41.1380197Z 9668ce346a3f: Waiting 2023-06-23T08:12:41.1380500Z 6d156b2a90a3: Waiting 2023-06-23T08:12:41.1381031Z a9191102f368: Waiting 2023-06-23T08:12:41.1381268Z a3ea7e91a614: Waiting 2023-06-23T08:12:41.1381689Z 6c55ea5a00b4: Waiting 2023-06-23T08:12:41.1382006Z 5176e4e782f1: Waiting 2023-06-23T08:12:41.1382406Z 2145e827e395: Waiting 2023-06-23T08:12:41.1382685Z 64f0f203691b: Waiting 2023-06-23T08:12:41.2209990Z fc7ec11a6458: Verifying Checksum 2023-06-23T08:12:41.2210381Z fc7ec11a6458: Download complete 2023-06-23T08:12:41.3128419Z 6c55ea5a00b4: Verifying Checksum 2023-06-23T08:12:41.3129623Z 6c55ea5a00b4: Download complete 2023-06-23T08:12:41.5256776Z 09db6f815738: Verifying Checksum 2023-06-23T08:12:41.5257289Z 09db6f815738: Download complete 2023-06-23T08:12:41.6624825Z 2145e827e395: Verifying Checksum ... 2023-06-23T08:16:30.6408225Z Compiling blocking v1.3.1 2023-06-23T08:16:31.5119058Z Compiling hassle-rs v0.10.0 2023-06-23T08:16:35.0100337Z Compiling regalloc2 v0.5.1 2023-06-23T08:16:39.5625891Z Compiling gpu-descriptor v0.2.3 2023-06-23T08:16:39.7409325Z Compiling gpu-alloc v0.5.4 2023-06-23T08:16:40.7708981Z Compiling gpu-allocator v0.22.0 2023-06-23T08:16:44.1099807Z Compiling png v0.17.9 2023-06-23T08:16:46.4264010Z Compiling crossbeam-deque v0.8.3 2023-06-23T08:16:52.9854008Z Compiling cranelift-bforest v0.91.1 2023-06-23T08:16:53.3033350Z Compiling cranelift-egraph v0.91.1 2023-06-23T08:16:53.7431734Z Compiling d3d12 v0.6.0 2023-06-23T08:16:55.1578603Z Compiling dashmap v5.4.0 2023-06-23T08:16:55.8701706Z Compiling crossbeam-channel v0.5.8 2023-06-23T08:16:57.0493762Z Compiling region v3.0.0 2023-06-23T08:16:57.4183790Z Compiling libloading v0.8.0 2023-06-23T08:16:57.7778367Z Compiling async-process v1.7.0 2023-06-23T08:16:58.0232818Z Compiling standback v0.2.17 2023-06-23T08:16:58.2971727Z Compiling proc-macro-error v1.0.4 2023-06-23T08:16:58.5701695Z Compiling zeno v0.2.2 2023-06-23T08:17:00.3280613Z Compiling renderdoc-sys v1.0.0 2023-06-23T08:17:00.4790968Z Compiling range-alloc v0.1.3 2023-06-23T08:17:00.5729637Z Compiling unicode-bidi-mirroring v0.1.0 2023-06-23T08:17:00.6534346Z Compiling unicode-script v0.5.5 2023-06-23T08:17:01.3843584Z Compiling profiling v1.0.8 2023-06-23T08:17:01.4232012Z Compiling unicode-ccc v0.1.2 2023-06-23T08:17:01.5701476Z Compiling yazi v0.1.6 2023-06-23T08:17:03.8431157Z Compiling either v1.8.1 2023-06-23T08:17:04.0118347Z Compiling semver v1.0.17 2023-06-23T08:17:04.3549961Z Compiling ryu v1.0.13 2023-06-23T08:17:04.7650689Z Compiling proc-macro-hack v0.5.20+deprecated 2023-06-23T08:17:05.0917550Z Compiling bumpalo v3.13.0 2023-06-23T08:17:05.4658637Z Compiling glow v0.12.2 2023-06-23T08:17:09.0930236Z Compiling wgpu-hal v0.16.1 2023-06-23T08:17:44.9774288Z Compiling swash v0.1.8 2023-06-23T08:18:09.4889659Z Compiling rustybuzz v0.8.0 2023-06-23T08:18:21.9572198Z Compiling wasmer-vm v3.2.1 2023-06-23T08:18:37.1432263Z Compiling fontdb v0.14.1 2023-06-23T08:18:42.1433914Z Compiling tiny-skia v0.9.1 2023-06-23T08:18:53.2645331Z Compiling async-executor v1.5.1 2023-06-23T08:18:54.4843113Z Compiling sys-locale v0.3.0 2023-06-23T08:18:54.6359597Z Compiling wasmparser v0.95.0 2023-06-23T08:19:16.7584152Z Compiling wasm-encoder v0.29.0 2023-06-23T08:19:16.9571189Z Compiling http v0.2.9 2023-06-23T08:19:19.7670207Z Compiling euclid v0.22.9 2023-06-23T08:19:19.9772387Z Compiling serde_json v1.0.97 2023-06-23T08:19:20.3417063Z Compiling rangemap v1.3.0 2023-06-23T08:19:20.5976861Z Compiling toml_datetime v0.6.2 2023-06-23T08:19:20.6915109Z Compiling aliasable v0.1.3 2023-06-23T08:19:20.7909723Z Compiling winnow v0.4.7 2023-06-23T08:19:20.8109452Z Compiling httparse v1.8.0 2023-06-23T08:19:21.1057222Z Compiling rustls v0.21.2 2023-06-23T08:19:21.3245324Z Compiling wasmer-compiler-cranelift v3.2.1 2023-06-23T08:19:21.7758320Z Compiling glam v0.24.0 2023-06-23T08:19:22.7432253Z Compiling memmap2 v0.5.10 2023-06-23T08:19:23.0930767Z Compiling svg_fmt v0.4.1 2023-06-23T08:19:23.4317930Z Compiling wasmer-compiler v3.2.1 2023-06-23T08:19:25.0717290Z Compiling iced_graphics v0.8.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:19:26.8970700Z Compiling toml_edit v0.19.10 2023-06-23T08:19:32.5754657Z Compiling cosmic-text v0.8.0 (https://github.com/hecrj/cosmic-text.git?rev=e8b10fd675832cb9c1cc9de30922beb4cf883876#e8b10fd6) 2023-06-23T08:19:39.5000798Z Compiling wast v60.0.0 2023-06-23T08:19:40.4476558Z Compiling async-global-executor v2.3.1 2023-06-23T08:19:44.8655373Z Compiling hashbrown v0.13.2 2023-06-23T08:19:45.5781254Z Compiling rayon v1.7.0 2023-06-23T08:19:54.4182751Z Compiling cranelift-frontend v0.91.1 2023-06-23T08:19:57.4664538Z Compiling wgpu-core v0.16.1 2023-06-23T08:20:12.8323087Z Compiling block-buffer v0.10.4 2023-06-23T08:20:12.9536523Z Compiling crypto-common v0.1.6 2023-06-23T08:20:13.0446307Z Compiling tokio-util v0.7.8 2023-06-23T08:20:14.5903480Z Compiling sct v0.7.0 2023-06-23T08:20:14.9441585Z Compiling rustls-webpki v0.100.1 2023-06-23T08:20:16.4839553Z Compiling softbuffer v0.2.1 2023-06-23T08:20:16.8902197Z Compiling kv-log-macro v1.0.7 2023-06-23T08:20:17.3180754Z Compiling try-lock v0.2.4 2023-06-23T08:20:17.3873415Z Compiling const_fn v0.4.9 2023-06-23T08:20:17.7177726Z Compiling async-trait v0.1.68 2023-06-23T08:20:17.8169206Z Compiling wai-bindgen-gen-wasmer v0.2.3 2023-06-23T08:20:18.0470402Z Compiling base64 v0.21.2 2023-06-23T08:20:18.0770513Z Compiling xml-rs v0.8.14 2023-06-23T08:20:18.8311468Z Compiling wayland-scanner v0.29.5 2023-06-23T08:20:19.4746422Z Compiling want v0.3.1 2023-06-23T08:20:19.6940136Z Compiling async-std v1.12.0 2023-06-23T08:20:31.0151120Z Compiling h2 v0.3.19 2023-06-23T08:20:41.5874106Z Compiling digest v0.10.7 2023-06-23T08:20:41.8232453Z Compiling wgpu v0.16.1 2023-06-23T08:20:58.5649385Z Compiling time-macros-impl v0.1.2 2023-06-23T08:20:59.6525458Z Compiling rustc_version v0.4.0 2023-06-23T08:21:00.0290022Z Compiling lru v0.9.0 2023-06-23T08:21:00.1789393Z Compiling wasmer-derive v3.2.1 2023-06-23T08:21:01.0277461Z Compiling wat v1.0.66 2023-06-23T08:21:08.3345543Z Compiling proc-macro-crate v1.3.1 2023-06-23T08:21:08.8976454Z Compiling etagere v0.2.7 2023-06-23T08:21:09.6109182Z Compiling http-body v0.4.5 2023-06-23T08:21:10.7602191Z Compiling same-file v1.0.6 2023-06-23T08:21:10.9989668Z Compiling time v0.2.27 2023-06-23T08:21:11.2943534Z Compiling linked-hash-map v0.5.6 2023-06-23T08:21:11.4891981Z Compiling str-buf v1.0.6 2023-06-23T08:21:11.5702480Z Compiling half v1.8.2 2023-06-23T08:21:12.3181684Z Compiling tower-service v0.3.2 2023-06-23T08:21:12.3729376Z Compiling any_ascii v0.1.7 2023-06-23T08:21:12.8491141Z Compiling httpdate v1.0.2 2023-06-23T08:21:13.3890821Z Compiling winreg v0.10.1 2023-06-23T08:21:13.6501985Z Compiling cpufeatures v0.2.8 2023-06-23T08:21:13.7011500Z Compiling sha2 v0.10.7 2023-06-23T08:21:16.0720142Z Compiling hyper v0.14.26 2023-06-23T08:21:27.9396410Z Compiling lexical-sort v0.3.1 2023-06-23T08:21:28.4487688Z Compiling serde_cbor v0.11.2 2023-06-23T08:21:30.4253403Z Compiling error-code v2.3.1 2023-06-23T08:21:30.5884515Z Compiling walkdir v2.3.3 2023-06-23T08:21:32.4929105Z Compiling glyphon v0.2.0 (https://github.com/hecrj/glyphon.git?rev=8dbf36020e5759fa9144517b321372266160113e#8dbf3602) 2023-06-23T08:21:34.0165889Z Compiling num_enum_derive v0.5.11 2023-06-23T08:21:35.9546436Z Compiling wasmer v3.2.1 2023-06-23T08:21:42.2499779Z Compiling heapless v0.7.16 2023-06-23T08:21:42.5901912Z Compiling time-macros v0.1.1 2023-06-23T08:21:42.6379469Z Compiling wai-bindgen-rust-impl v0.2.3 2023-06-23T08:21:43.8519983Z Compiling tokio-rustls v0.24.1 2023-06-23T08:21:44.0978262Z Compiling iced_futures v0.6.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:21:45.1542797Z Compiling winit v0.28.6 (https://github.com/iced-rs/winit.git?rev=ac1ddfe0bd870910b3aa64a18d386fdd55b30a1d#ac1ddfe0) 2023-06-23T08:21:50.1543624Z Compiling guillotiere v0.6.2 2023-06-23T08:21:51.2202737Z Compiling webpki v0.22.0 2023-06-23T08:21:52.3165709Z Compiling shared-buffer v0.1.3 2023-06-23T08:21:52.8229895Z Compiling kurbo v0.9.5 2023-06-23T08:21:57.0222658Z Compiling dirs-sys v0.3.7 2023-06-23T08:21:57.1443632Z Compiling path-clean v0.1.0 2023-06-23T08:21:57.6084040Z Compiling webc v5.0.4 2023-06-23T08:22:16.3980371Z Compiling dirs v4.0.0 2023-06-23T08:22:16.4889975Z Compiling iced_tiny_skia v0.1.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:22:19.0130302Z Compiling webpki-roots v0.22.6 2023-06-23T08:22:25.1092934Z Compiling iced_wgpu v0.10.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:22:29.4577170Z Compiling wai-bindgen-wasmer-impl v0.2.3 2023-06-23T08:22:35.0661471Z Compiling iced_runtime v0.1.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:22:36.0601370Z Compiling hyper-rustls v0.24.0 2023-06-23T08:22:36.3508530Z Compiling wai-bindgen-rust v0.2.3 2023-06-23T08:22:36.4728610Z Compiling num_enum v0.5.11 2023-06-23T08:22:36.5471251Z Compiling clipboard-win v4.5.0 2023-06-23T08:22:38.5168469Z Compiling yaml-rust v0.4.5 2023-06-23T08:22:43.5198836Z Compiling rustls-pemfile v1.0.2 2023-06-23T08:22:44.0651197Z Compiling serde_urlencoded v0.7.1 2023-06-23T08:22:44.4719941Z Compiling iced_style v0.8.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:22:45.3969891Z Compiling hash32 v0.2.1 2023-06-23T08:22:45.6024623Z Compiling spin v0.9.8 2023-06-23T08:22:45.8378373Z Compiling filetime v0.2.21 2023-06-23T08:22:46.0512791Z Compiling pin-project-internal v1.1.0 2023-06-23T08:22:48.0594707Z Compiling instant v0.1.12 2023-06-23T08:22:48.1299127Z Compiling encoding_rs v0.8.32 2023-06-23T08:22:49.6898472Z Compiling regex-syntax v0.6.29 2023-06-23T08:22:55.8601429Z Compiling ipnet v2.7.2 2023-06-23T08:22:57.7136568Z Compiling fs_extra v1.3.0 2023-06-23T08:22:58.2361912Z Compiling cbqn-sys v0.2.0 2023-06-23T08:22:58.4651220Z Compiling mime v0.3.17 2023-06-23T08:22:59.2079904Z Compiling reqwest v0.11.18 2023-06-23T08:23:00.8180035Z Compiling virtual-fs v0.2.0 2023-06-23T08:23:10.7575267Z Compiling regex-automata v0.1.10 2023-06-23T08:23:21.7204328Z Compiling pin-project v1.1.0 2023-06-23T08:23:22.5145010Z Compiling serde_yaml v0.8.26 2023-06-23T08:23:29.7157249Z Compiling window_clipboard v0.3.0 2023-06-23T08:23:29.9989282Z Compiling wasmer-wasix-types v0.3.1 2023-06-23T08:23:32.2771600Z Compiling wai-bindgen-wasmer v0.3.1 2023-06-23T08:23:33.2783383Z Compiling iced_renderer v0.1.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:23:33.7701494Z Compiling shellexpand v2.1.2 2023-06-23T08:23:33.9278671Z Compiling virtual-net v0.1.0 2023-06-23T08:23:36.2255786Z Compiling linked_hash_set v0.1.4 2023-06-23T08:23:36.3543199Z Compiling bincode v1.3.3 2023-06-23T08:23:36.9819687Z Compiling term_size v0.3.2 2023-06-23T08:23:37.0493831Z Compiling weezl v0.1.7 2023-06-23T08:23:37.0591882Z Compiling overload v0.1.1 2023-06-23T08:23:38.3938295Z Compiling urlencoding v2.1.2 2023-06-23T08:23:38.6537261Z Compiling cooked-waker v5.0.0 2023-06-23T08:23:38.7287053Z Compiling hex v0.4.3 2023-06-23T08:23:39.0977025Z Compiling wasmer-wasix v0.3.1 2023-06-23T08:23:54.7760557Z Compiling nu-ansi-term v0.46.0 2023-06-23T08:23:55.7814641Z Compiling iced_widget v0.1.0 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:23:59.7074346Z Compiling iced_winit v0.9.1 (https://github.com/iced-rs/iced?rev=b38f7d28372712e345672515d8c1643bc040c1f1#b38f7d28) 2023-06-23T08:24:00.3816607Z Compiling matchers v0.1.0 2023-06-23T08:24:00.5469168Z Compiling sharded-slab v0.1.4 2023-06-23T08:24:01.7766885Z Compiling tracing-log v0.1.3 2023-06-23T08:24:02.3456468Z Compiling dirs-sys-next v0.1.2 2023-06-23T08:24:02.4764117Z Compiling thread_local v1.1.7 2023-06-23T08:24:03.0562796Z Compiling beacon v0.1.0 (/project) 2023-06-23T08:24:03.2844635Z Compiling tracing-subscriber v0.3.17 2023-06-23T08:24:14.5305926Z Compiling directories-next v2.0.0 2023-06-23T08:24:14.8123748Z Compiling cbqn v0.1.0 2023-06-23T08:24:14.8782981Z error: couldn't read /home/runner/work/beacon/beacon/src/BQN.wasm: No such file or directory (os error 2) 2023-06-23T08:24:14.8798095Z ##[error] --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/cbqn-0.1.0/src/backend/wasi.rs:94:36 2023-06-23T08:24:14.8799006Z | 2023-06-23T08:24:14.8799684Z 94 | static WASM_BYTES: &'static [u8] = include_bytes!(env!("BQN_WASM")); 2023-06-23T08:24:14.8800060Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-06-23T08:24:14.8800308Z | 2023-06-23T08:24:14.8801008Z = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) 2023-06-23T08:24:14.8801312Z 2023-06-23T08:24:15.4130417Z error: could not compile `cbqn` (lib) due to previous error 2023-06-23T08:24:15.4145360Z ##[error]warning: build failed, waiting for other jobs to finish... 2023-06-23T08:25:08.2728283Z ##[error]The process 'cross' failed with exit code 101 2023-06-23T08:25:08.2860552Z Post job cleanup. 2023-06-23T08:25:08.4387079Z [command]/usr/bin/git version 2023-06-23T08:25:08.4463033Z git version 2.41.0 2023-06-23T08:25:08.4549223Z Temporarily overriding HOME='/home/runner/work/_temp/4b881e93-0318-4202-a6e0-6245940c00ee' before making global git config changes 2023-06-23T08:25:08.4552381Z Adding repository directory to the temporary git global config as a safe directory 2023-06-23T08:25:08.4562408Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/beacon/beacon 2023-06-23T08:25:08.4621436Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2023-06-23T08:25:08.4674764Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2023-06-23T08:25:08.5067049Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2023-06-23T08:25:08.5113451Z http.https://github.com/.extraheader 2023-06-23T08:25:08.5144348Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2023-06-23T08:25:08.5270286Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2023-06-23T08:25:08.5876767Z Cleaning up orphan processes

Expected behavior

BQN.wasm should have been found. It works locally.

Additional context

For debugging purposes I added a step that checked the existence of the wasm file, with the following command: file /home/runner/work/beacon/beacon/src/BQN.wasm and the output of that step is:

Run file /home/runner/work/beacon/beacon/src/BQN.wasm
/home/runner/work/beacon/beacon/src/BQN.wasm: WebAssembly (wasm) binary module version 0x1 (MVP)

But later in the build step, cargo is unable find the same file

error: couldn't read /home/runner/work/beacon/beacon/src/BQN.wasm: No such file or directory (os error 2)

Error:   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/cbqn-0.1.0/src/backend/wasi.rs:94:36
   |
94 | static WASM_BYTES: &'static [u8] = include_bytes!(env!("BQN_WASM"));
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |

x86y avatar Jun 23 '23 09:06 x86y