tokio-rs / tokio

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
https://tokio.rs
MIT License
26.86k stars 2.47k forks source link

Tokio does not work on `wasm32-unknown-unknown` as of rustc 1.82 #6910

Open mox692 opened 1 week ago

mox692 commented 1 week ago

Now we are seeing the test wasm32-unknown-unknown has started to fail.

For instance: https://github.com/tokio-rs/tokio/actions/runs/11397298361/job/31712563964#logs

Click to see the failure ```text 2024-10-18T04:12:03.3847972Z Current runner version: '2.320.0' 2024-10-18T04:12:03.3869466Z ##[group]Operating System 2024-10-18T04:12:03.3870135Z Ubuntu 2024-10-18T04:12:03.3870472Z 22.04.5 2024-10-18T04:12:03.3870836Z LTS 2024-10-18T04:12:03.3871190Z ##[endgroup] 2024-10-18T04:12:03.3871562Z ##[group]Runner Image 2024-10-18T04:12:03.3872027Z Image: ubuntu-22.04 2024-10-18T04:12:03.3872440Z Version: 20241006.1.0 2024-10-18T04:12:03.3873610Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20241006.1/images/ubuntu/Ubuntu2204-Readme.md 2024-10-18T04:12:03.3875104Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20241006.1 2024-10-18T04:12:03.3875976Z ##[endgroup] 2024-10-18T04:12:03.3876365Z ##[group]Runner Image Provisioner 2024-10-18T04:12:03.3876970Z 2.0.384.1 2024-10-18T04:12:03.3877310Z ##[endgroup] 2024-10-18T04:12:03.3891389Z ##[group]GITHUB_TOKEN Permissions 2024-10-18T04:12:03.3892954Z Contents: read 2024-10-18T04:12:03.3893530Z Metadata: read 2024-10-18T04:12:03.3894096Z ##[endgroup] 2024-10-18T04:12:03.3897150Z Secret source: None 2024-10-18T04:12:03.3897687Z Prepare workflow directory 2024-10-18T04:12:03.4664062Z Prepare all required actions 2024-10-18T04:12:03.4819246Z Getting action download info 2024-10-18T04:12:03.7500683Z Download action repository 'actions/checkout@v4' (SHA:eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871) 2024-10-18T04:12:03.9665715Z Download action repository 'dtolnay/rust-toolchain@stable' (SHA:ed2356ad628626a6b3f5be6c3e0255c0454fcdb9) 2024-10-18T04:12:04.0763202Z Download action repository 'taiki-e/install-action@wasm-pack' (SHA:b7f7832c1e4bcf931a433c408eb164f972a01798) 2024-10-18T04:12:04.3815179Z Download action repository 'Swatinem/rust-cache@v2' (SHA:82a92a6e8fbeee089604da2575dc567ae9ddeaab) 2024-10-18T04:12:04.7008283Z Complete job name: test tokio for wasm32-unknown-unknown 2024-10-18T04:12:04.7879354Z ##[group]Run actions/checkout@v4 2024-10-18T04:12:04.7879872Z with: 2024-10-18T04:12:04.7880263Z repository: tokio-rs/tokio 2024-10-18T04:12:04.7880870Z token: *** 2024-10-18T04:12:04.7881211Z ssh-strict: true 2024-10-18T04:12:04.7881578Z ssh-user: git 2024-10-18T04:12:04.7881942Z persist-credentials: true 2024-10-18T04:12:04.7882314Z clean: true 2024-10-18T04:12:04.7882699Z sparse-checkout-cone-mode: true 2024-10-18T04:12:04.7883093Z fetch-depth: 1 2024-10-18T04:12:04.7883412Z fetch-tags: false 2024-10-18T04:12:04.7883797Z show-progress: true 2024-10-18T04:12:04.7884187Z lfs: false 2024-10-18T04:12:04.7884528Z submodules: false 2024-10-18T04:12:04.7884912Z set-safe-directory: true 2024-10-18T04:12:04.7885265Z env: 2024-10-18T04:12:04.7885567Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:04.7885954Z RUST_BACKTRACE: 1 2024-10-18T04:12:04.7886299Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:04.7886692Z rust_stable: stable 2024-10-18T04:12:04.7887173Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:04.7887556Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:04.7887973Z rust_clippy: 1.77 2024-10-18T04:12:04.7888366Z rust_min: 1.70 2024-10-18T04:12:04.7888718Z ##[endgroup] 2024-10-18T04:12:04.9604470Z Syncing repository: tokio-rs/tokio 2024-10-18T04:12:04.9607189Z ##[group]Getting Git version info 2024-10-18T04:12:04.9608245Z Working directory is '/home/runner/work/tokio/tokio' 2024-10-18T04:12:04.9609990Z [command]/usr/bin/git version 2024-10-18T04:12:04.9610684Z git version 2.46.2 2024-10-18T04:12:04.9616203Z ##[endgroup] 2024-10-18T04:12:04.9634406Z Temporarily overriding HOME='/home/runner/work/_temp/39b13d94-362a-4623-aa3a-06ef1f614d0a' before making global git config changes 2024-10-18T04:12:04.9636365Z Adding repository directory to the temporary git global config as a safe directory 2024-10-18T04:12:04.9638939Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/tokio/tokio 2024-10-18T04:12:04.9675068Z Deleting the contents of '/home/runner/work/tokio/tokio' 2024-10-18T04:12:04.9678211Z ##[group]Initializing the repository 2024-10-18T04:12:04.9681681Z [command]/usr/bin/git init /home/runner/work/tokio/tokio 2024-10-18T04:12:04.9739099Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-10-18T04:12:04.9740157Z hint: is subject to change. To configure the initial branch name to use in all 2024-10-18T04:12:04.9740949Z hint: of your new repositories, which will suppress this warning, call: 2024-10-18T04:12:04.9741459Z hint: 2024-10-18T04:12:04.9741984Z hint: git config --global init.defaultBranch 2024-10-18T04:12:04.9742469Z hint: 2024-10-18T04:12:04.9743206Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-10-18T04:12:04.9744478Z hint: 'development'. The just-created branch can be renamed via this command: 2024-10-18T04:12:04.9745051Z hint: 2024-10-18T04:12:04.9745470Z hint: git branch -m 2024-10-18T04:12:04.9746015Z Initialized empty Git repository in /home/runner/work/tokio/tokio/.git/ 2024-10-18T04:12:04.9754092Z [command]/usr/bin/git remote add origin https://github.com/tokio-rs/tokio 2024-10-18T04:12:04.9786577Z ##[endgroup] 2024-10-18T04:12:04.9787366Z ##[group]Disabling automatic garbage collection 2024-10-18T04:12:04.9790691Z [command]/usr/bin/git config --local gc.auto 0 2024-10-18T04:12:04.9820336Z ##[endgroup] 2024-10-18T04:12:04.9821545Z ##[group]Setting up auth 2024-10-18T04:12:04.9827808Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-18T04:12:04.9858918Z [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' || :" 2024-10-18T04:12:05.0136436Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-18T04:12:05.0167818Z [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' || :" 2024-10-18T04:12:05.0406432Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2024-10-18T04:12:05.0446447Z ##[endgroup] 2024-10-18T04:12:05.0447660Z ##[group]Fetching the repository 2024-10-18T04:12:05.0455947Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +29ab01feaa4d053a2d034d6464049b50ea1125d5:refs/remotes/pull/6909/merge 2024-10-18T04:12:05.2642854Z From https://github.com/tokio-rs/tokio 2024-10-18T04:12:05.2644105Z * [new ref] 29ab01feaa4d053a2d034d6464049b50ea1125d5 -> pull/6909/merge 2024-10-18T04:12:05.2666903Z ##[endgroup] 2024-10-18T04:12:05.2667970Z ##[group]Determining the checkout info 2024-10-18T04:12:05.2669023Z ##[endgroup] 2024-10-18T04:12:05.2674386Z [command]/usr/bin/git sparse-checkout disable 2024-10-18T04:12:05.2713039Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2024-10-18T04:12:05.2741627Z ##[group]Checking out the ref 2024-10-18T04:12:05.2745289Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/6909/merge 2024-10-18T04:12:05.3264235Z Note: switching to 'refs/remotes/pull/6909/merge'. 2024-10-18T04:12:05.3265204Z 2024-10-18T04:12:05.3266311Z You are in 'detached HEAD' state. You can look around, make experimental 2024-10-18T04:12:05.3267883Z changes and commit them, and you can discard any commits you make in this 2024-10-18T04:12:05.3269291Z state without impacting any branches by switching back to a branch. 2024-10-18T04:12:05.3270176Z 2024-10-18T04:12:05.3270822Z If you want to create a new branch to retain commits you create, you may 2024-10-18T04:12:05.3336478Z do so (now or later) by using -c with the switch command. Example: 2024-10-18T04:12:05.3337386Z 2024-10-18T04:12:05.3337819Z git switch -c 2024-10-18T04:12:05.3338291Z 2024-10-18T04:12:05.3338589Z Or undo this operation with: 2024-10-18T04:12:05.3342045Z 2024-10-18T04:12:05.3342439Z git switch - 2024-10-18T04:12:05.3342780Z 2024-10-18T04:12:05.3344340Z Turn off this advice by setting config variable advice.detachedHead to false 2024-10-18T04:12:05.3345677Z 2024-10-18T04:12:05.3346400Z HEAD is now at 29ab01f Merge 4e312c49e54f7efe862f9dc937aa509228b8d774 into 1656d8e231903a7b84b9e2d5e3db7aeed13a2966 2024-10-18T04:12:05.3348060Z ##[endgroup] 2024-10-18T04:12:05.3349122Z [command]/usr/bin/git log -1 --format=%H 2024-10-18T04:12:05.3365225Z 29ab01feaa4d053a2d034d6464049b50ea1125d5 2024-10-18T04:12:05.3794508Z ##[group]Run dtolnay/rust-toolchain@stable 2024-10-18T04:12:05.3795117Z with: 2024-10-18T04:12:05.3795394Z toolchain: stable 2024-10-18T04:12:05.3795748Z env: 2024-10-18T04:12:05.3796117Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.3796453Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.3796799Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.3797280Z rust_stable: stable 2024-10-18T04:12:05.3797642Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.3798059Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.3798549Z rust_clippy: 1.77 2024-10-18T04:12:05.3798892Z rust_min: 1.70 2024-10-18T04:12:05.3799224Z ##[endgroup] 2024-10-18T04:12:05.4024924Z ##[group]Run : parse toolchain version 2024-10-18T04:12:05.4025559Z : parse toolchain version 2024-10-18T04:12:05.4026178Z if [[ $toolchain =~ ^stable' '[0-9]+' '(year|month|week|day)s?' 'ago$ ]]; then 2024-10-18T04:12:05.4026862Z  if [[ Linux == macOS ]]; then 2024-10-18T04:12:05.4027805Z  echo "toolchain=1.$((($(date -v-$(sed 's/stable \([0-9]*\) \(.\).*/\1\2/' <<< $toolchain) +%s)/60/60/24-16569)/7/6))" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4028547Z  else 2024-10-18T04:12:05.4029125Z  echo "toolchain=1.$((($(date --date "${toolchain#stable }" +%s)/60/60/24-16569)/7/6))" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4029850Z  fi 2024-10-18T04:12:05.4030336Z elif [[ $toolchain =~ ^stable' 'minus' '[0-9]+' 'releases?$ ]]; then 2024-10-18T04:12:05.4031198Z  echo "toolchain=1.$((($(date +%s)/60/60/24-16569)/7/6-${toolchain//[^0-9]/}))" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4031864Z else 2024-10-18T04:12:05.4032261Z  echo "toolchain=$toolchain" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4032785Z fi 2024-10-18T04:12:05.4117637Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:05.4118287Z env: 2024-10-18T04:12:05.4118571Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.4118958Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.4119412Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.4119767Z rust_stable: stable 2024-10-18T04:12:05.4120121Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.4120627Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.4121009Z rust_clippy: 1.77 2024-10-18T04:12:05.4121346Z rust_min: 1.70 2024-10-18T04:12:05.4121743Z toolchain: stable 2024-10-18T04:12:05.4122032Z ##[endgroup] 2024-10-18T04:12:05.4356655Z ##[group]Run : construct rustup command line 2024-10-18T04:12:05.4357284Z : construct rustup command line 2024-10-18T04:12:05.4357940Z echo "targets=$(for t in ${targets//,/ }; do echo -n ' --target' $t; done)" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4358844Z echo "components=$(for c in ${components//,/ }; do echo -n ' --component' $c; done)" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4359598Z echo "downgrade=" >> $GITHUB_OUTPUT 2024-10-18T04:12:05.4415348Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:05.4415866Z env: 2024-10-18T04:12:05.4416132Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.4416597Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.4416954Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.4417325Z rust_stable: stable 2024-10-18T04:12:05.4417744Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.4418155Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.4418541Z rust_clippy: 1.77 2024-10-18T04:12:05.4418929Z rust_min: 1.70 2024-10-18T04:12:05.4419238Z targets: 2024-10-18T04:12:05.4419524Z components: 2024-10-18T04:12:05.4419906Z ##[endgroup] 2024-10-18T04:12:05.4534902Z ##[group]Run : set $CARGO_HOME 2024-10-18T04:12:05.4535316Z : set $CARGO_HOME 2024-10-18T04:12:05.4535807Z echo CARGO_HOME=${CARGO_HOME:-$HOME/.cargo} >> $GITHUB_ENV 2024-10-18T04:12:05.4586699Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:05.4587366Z env: 2024-10-18T04:12:05.4587667Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.4588224Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.4588682Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.4589072Z rust_stable: stable 2024-10-18T04:12:05.4589603Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.4589988Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.4590399Z rust_clippy: 1.77 2024-10-18T04:12:05.4590834Z rust_min: 1.70 2024-10-18T04:12:05.4591116Z ##[endgroup] 2024-10-18T04:12:05.4890782Z ##[group]Run : install rustup if needed 2024-10-18T04:12:05.4891172Z : install rustup if needed 2024-10-18T04:12:05.4891539Z if ! command -v rustup &>/dev/null; then 2024-10-18T04:12:05.4892457Z  curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y 2024-10-18T04:12:05.4893341Z  echo "$CARGO_HOME/bin" >> $GITHUB_PATH 2024-10-18T04:12:05.4893683Z fi 2024-10-18T04:12:05.4948419Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:05.4948826Z env: 2024-10-18T04:12:05.4949030Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.4949286Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.4949539Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.4949828Z rust_stable: stable 2024-10-18T04:12:05.4950078Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.4950407Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.4950717Z rust_clippy: 1.77 2024-10-18T04:12:05.4950955Z rust_min: 1.70 2024-10-18T04:12:05.4951189Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:05.4951466Z ##[endgroup] 2024-10-18T04:12:05.5065126Z ##[group]Run rustup toolchain install stable --profile minimal --no-self-update 2024-10-18T04:12:05.5066304Z rustup toolchain install stable --profile minimal --no-self-update 2024-10-18T04:12:05.5123371Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:05.5123800Z env: 2024-10-18T04:12:05.5124011Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:05.5124285Z RUST_BACKTRACE: 1 2024-10-18T04:12:05.5124544Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:05.5124833Z rust_stable: stable 2024-10-18T04:12:05.5125105Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:05.5125435Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:05.5125743Z rust_clippy: 1.77 2024-10-18T04:12:05.5125985Z rust_min: 1.70 2024-10-18T04:12:05.5126233Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:05.5126514Z ##[endgroup] 2024-10-18T04:12:05.6440717Z info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' 2024-10-18T04:12:05.7052758Z info: latest update on 2024-10-17, rust version 1.82.0 (f6e511eec 2024-10-15) 2024-10-18T04:12:05.7328572Z info: downloading component 'clippy' 2024-10-18T04:12:05.7685396Z info: downloading component 'rustfmt' 2024-10-18T04:12:05.7934442Z info: downloading component 'cargo' 2024-10-18T04:12:05.8522773Z info: downloading component 'rust-std' 2024-10-18T04:12:06.0081032Z info: downloading component 'rustc' 2024-10-18T04:12:06.3513044Z info: removing previous version of component 'clippy' 2024-10-18T04:12:06.3520716Z info: removing previous version of component 'rustfmt' 2024-10-18T04:12:06.3527732Z info: removing previous version of component 'cargo' 2024-10-18T04:12:06.3554142Z info: removing previous version of component 'rust-std' 2024-10-18T04:12:06.3575418Z info: removing previous version of component 'rustc' 2024-10-18T04:12:06.3705940Z info: installing component 'clippy' 2024-10-18T04:12:06.6253902Z info: installing component 'rustfmt' 2024-10-18T04:12:06.8570703Z info: installing component 'cargo' 2024-10-18T04:12:07.4410131Z info: installing component 'rust-std' 2024-10-18T04:12:09.0771337Z info: installing component 'rustc' 2024-10-18T04:12:13.1027366Z 2024-10-18T04:12:13.1141411Z stable-x86_64-unknown-linux-gnu updated - rustc 1.82.0 (f6e511eec 2024-10-15) (from rustc 1.81.0 (eeb90cda1 2024-09-04)) 2024-10-18T04:12:13.1142406Z 2024-10-18T04:12:13.1189348Z ##[group]Run rustup default stable 2024-10-18T04:12:13.1189864Z rustup default stable 2024-10-18T04:12:13.1246155Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.1246545Z env: 2024-10-18T04:12:13.1246751Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.1247008Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.1247256Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.1247553Z rust_stable: stable 2024-10-18T04:12:13.1247811Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.1248117Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.1248425Z rust_clippy: 1.77 2024-10-18T04:12:13.1248656Z rust_min: 1.70 2024-10-18T04:12:13.1248905Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.1249185Z ##[endgroup] 2024-10-18T04:12:13.1354639Z info: using existing install for 'stable-x86_64-unknown-linux-gnu' 2024-10-18T04:12:13.1360516Z info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' 2024-10-18T04:12:13.1361090Z 2024-10-18T04:12:13.1467150Z stable-x86_64-unknown-linux-gnu unchanged - rustc 1.82.0 (f6e511eec 2024-10-15) 2024-10-18T04:12:13.1467893Z 2024-10-18T04:12:13.1497259Z ##[group]Run : create cachekey 2024-10-18T04:12:13.1497578Z : create cachekey 2024-10-18T04:12:13.1498209Z DATE=$(rustc +stable --version --verbose | sed -ne 's/^commit-date: \(20[0-9][0-9]\)-\([01][0-9]\)-\([0-3][0-9]\)$/\1\2\3/p') 2024-10-18T04:12:13.1499009Z HASH=$(rustc +stable --version --verbose | sed -ne 's/^commit-hash: //p') 2024-10-18T04:12:13.1499618Z echo "cachekey=$(echo $DATE$HASH | head -c12)" >> $GITHUB_OUTPUT 2024-10-18T04:12:13.1553121Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.1553789Z env: 2024-10-18T04:12:13.1553997Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.1554263Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.1554514Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.1554801Z rust_stable: stable 2024-10-18T04:12:13.1555064Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.1555375Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.1555694Z rust_clippy: 1.77 2024-10-18T04:12:13.1555927Z rust_min: 1.70 2024-10-18T04:12:13.1556162Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.1556446Z ##[endgroup] 2024-10-18T04:12:13.2059720Z ##[group]Run : disable incremental compilation 2024-10-18T04:12:13.2060139Z : disable incremental compilation 2024-10-18T04:12:13.2060556Z if [ -z "${CARGO_INCREMENTAL+set}" ]; then 2024-10-18T04:12:13.2060977Z  echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV 2024-10-18T04:12:13.2061317Z fi 2024-10-18T04:12:13.2117318Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.2117736Z env: 2024-10-18T04:12:13.2117942Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.2118196Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.2118452Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.2118743Z rust_stable: stable 2024-10-18T04:12:13.2119002Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.2119334Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.2119645Z rust_clippy: 1.77 2024-10-18T04:12:13.2119871Z rust_min: 1.70 2024-10-18T04:12:13.2120117Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.2120403Z ##[endgroup] 2024-10-18T04:12:13.2211641Z ##[group]Run : enable colors in Cargo output 2024-10-18T04:12:13.2212034Z : enable colors in Cargo output 2024-10-18T04:12:13.2212430Z if [ -z "${CARGO_TERM_COLOR+set}" ]; then 2024-10-18T04:12:13.2212853Z  echo CARGO_TERM_COLOR=always >> $GITHUB_ENV 2024-10-18T04:12:13.2213224Z fi 2024-10-18T04:12:13.2262912Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.2263504Z env: 2024-10-18T04:12:13.2263705Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.2263973Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.2264227Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.2264508Z rust_stable: stable 2024-10-18T04:12:13.2264767Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.2265244Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.2265558Z rust_clippy: 1.77 2024-10-18T04:12:13.2265792Z rust_min: 1.70 2024-10-18T04:12:13.2266035Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.2266324Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.2266570Z ##[endgroup] 2024-10-18T04:12:13.2357850Z ##[group]Run : enable Cargo sparse registry 2024-10-18T04:12:13.2358252Z : enable Cargo sparse registry 2024-10-18T04:12:13.2358734Z # implemented in 1.66, stabilized in 1.68, made default in 1.70 2024-10-18T04:12:13.2359603Z if [ -z "${CARGO_REGISTRIES_CRATES_IO_PROTOCOL+set}" -o -f "/home/runner/work/_temp"/.implicit_cargo_registries_crates_io_protocol ]; then 2024-10-18T04:12:13.2360504Z  if rustc +stable --version --verbose | grep -q '^release: 1\.6[89]\.'; then 2024-10-18T04:12:13.2361228Z  touch "/home/runner/work/_temp"/.implicit_cargo_registries_crates_io_protocol || true 2024-10-18T04:12:13.2361919Z  echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV 2024-10-18T04:12:13.2362554Z  elif rustc +stable --version --verbose | grep -q '^release: 1\.6[67]\.'; then 2024-10-18T04:12:13.2363273Z  touch "/home/runner/work/_temp"/.implicit_cargo_registries_crates_io_protocol || true 2024-10-18T04:12:13.2363928Z  echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=git >> $GITHUB_ENV 2024-10-18T04:12:13.2364366Z  fi 2024-10-18T04:12:13.2364592Z fi 2024-10-18T04:12:13.2414179Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.2414594Z env: 2024-10-18T04:12:13.2414806Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.2415093Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.2415361Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.2415656Z rust_stable: stable 2024-10-18T04:12:13.2415922Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.2416258Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.2416579Z rust_clippy: 1.77 2024-10-18T04:12:13.2416823Z rust_min: 1.70 2024-10-18T04:12:13.2417079Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.2417376Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.2417637Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.2417904Z ##[endgroup] 2024-10-18T04:12:13.2795152Z ##[group]Run : work around spurious network errors in curl 8.0 2024-10-18T04:12:13.2795692Z : work around spurious network errors in curl 8.0 2024-10-18T04:12:13.2796385Z # https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/timeout.20investigation 2024-10-18T04:12:13.2797142Z if rustc +stable --version --verbose | grep -q '^release: 1\.7[01]\.'; then 2024-10-18T04:12:13.2797726Z  echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV 2024-10-18T04:12:13.2798106Z fi 2024-10-18T04:12:13.2854743Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.2855149Z env: 2024-10-18T04:12:13.2855351Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.2855619Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.2855892Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.2856181Z rust_stable: stable 2024-10-18T04:12:13.2856436Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.2856747Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.2857051Z rust_clippy: 1.77 2024-10-18T04:12:13.2857280Z rust_min: 1.70 2024-10-18T04:12:13.2857518Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.2857807Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.2858058Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.2858314Z ##[endgroup] 2024-10-18T04:12:13.3092962Z ##[group]Run rustc +stable --version --verbose 2024-10-18T04:12:13.3093553Z rustc +stable --version --verbose 2024-10-18T04:12:13.3146825Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:13.3147230Z env: 2024-10-18T04:12:13.3147440Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.3147698Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.3147954Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.3148249Z rust_stable: stable 2024-10-18T04:12:13.3148679Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.3149006Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.3149323Z rust_clippy: 1.77 2024-10-18T04:12:13.3149550Z rust_min: 1.70 2024-10-18T04:12:13.3149792Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.3150086Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.3150334Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.3150591Z ##[endgroup] 2024-10-18T04:12:13.3342504Z rustc 1.82.0 (f6e511eec 2024-10-15) 2024-10-18T04:12:13.3343644Z binary: rustc 2024-10-18T04:12:13.3344443Z commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14 2024-10-18T04:12:13.3345199Z commit-date: 2024-10-15 2024-10-18T04:12:13.3345752Z host: x86_64-unknown-linux-gnu 2024-10-18T04:12:13.3346274Z release: 1.82.0 2024-10-18T04:12:13.3346694Z LLVM version: 19.1.1 2024-10-18T04:12:13.3466629Z ##[group]Run taiki-e/install-action@wasm-pack 2024-10-18T04:12:13.3466994Z with: 2024-10-18T04:12:13.3467201Z tool: wasm-pack 2024-10-18T04:12:13.3467435Z checksum: true 2024-10-18T04:12:13.3467670Z fallback: cargo-binstall 2024-10-18T04:12:13.3467932Z env: 2024-10-18T04:12:13.3468135Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.3468384Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.3468635Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.3468930Z rust_stable: stable 2024-10-18T04:12:13.3469189Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.3469506Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.3469817Z rust_clippy: 1.77 2024-10-18T04:12:13.3470047Z rust_min: 1.70 2024-10-18T04:12:13.3470293Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.3470604Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.3470854Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.3471106Z ##[endgroup] 2024-10-18T04:12:13.3490459Z ##[group]Run set -eu 2024-10-18T04:12:13.3490759Z set -eu 2024-10-18T04:12:13.3491041Z if ! command -v bash >/dev/null; then 2024-10-18T04:12:13.3491480Z  if grep -Eq '^ID=alpine' /etc/os-release; then 2024-10-18T04:12:13.3492047Z  printf '::group::Install packages required for install-action (bash)\n' 2024-10-18T04:12:13.3492593Z  # NB: sync with apk_install in main.sh 2024-10-18T04:12:13.3492992Z  if command -v sudo >/dev/null; then 2024-10-18T04:12:13.3493439Z  sudo apk --no-cache add bash 2024-10-18T04:12:13.3493829Z  elif command -v doas >/dev/null; then 2024-10-18T04:12:13.3494215Z  doas apk --no-cache add bash 2024-10-18T04:12:13.3494539Z  else 2024-10-18T04:12:13.3494786Z  apk --no-cache add bash 2024-10-18T04:12:13.3495096Z  fi 2024-10-18T04:12:13.3495344Z  printf '::endgroup::\n' 2024-10-18T04:12:13.3495634Z  else 2024-10-18T04:12:13.3496025Z  printf '::error::install-action requires bash\n' 2024-10-18T04:12:13.3496419Z  exit 1 2024-10-18T04:12:13.3496647Z  fi 2024-10-18T04:12:13.3496857Z fi 2024-10-18T04:12:13.3497195Z bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh" 2024-10-18T04:12:13.3606541Z shell: /usr/bin/sh -e {0} 2024-10-18T04:12:13.3606818Z env: 2024-10-18T04:12:13.3607032Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.3607300Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.3607550Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.3607851Z rust_stable: stable 2024-10-18T04:12:13.3608124Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.3608443Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.3608764Z rust_clippy: 1.77 2024-10-18T04:12:13.3609016Z rust_min: 1.70 2024-10-18T04:12:13.3609437Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.3609740Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.3609997Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.3610266Z INPUT_TOOL: wasm-pack 2024-10-18T04:12:13.3610526Z INPUT_CHECKSUM: true 2024-10-18T04:12:13.3610790Z INPUT_FALLBACK: cargo-binstall 2024-10-18T04:12:13.3611068Z ##[endgroup] 2024-10-18T04:12:13.3835885Z info: host platform: x86_64_linux 2024-10-18T04:12:13.4893556Z info: installing wasm-pack@latest 2024-10-18T04:12:13.5955015Z info: downloading https://github.com/rustwasm/wasm-pack/releases/download/v0.13.0/wasm-pack-v0.13.0-x86_64-unknown-linux-musl.tar.gz 2024-10-18T04:12:13.7284046Z info: verifying sha256 checksum for wasm-pack-v0.13.0-x86_64-unknown-linux-musl.tar.gz 2024-10-18T04:12:13.7957319Z info: wasm-pack installed at /home/runner/.cargo/bin/wasm-pack 2024-10-18T04:12:13.7960471Z + wasm-pack --version 2024-10-18T04:12:13.7973912Z wasm-pack 0.13.0 2024-10-18T04:12:13.7978920Z 2024-10-18T04:12:13.8042496Z ##[group]Run Swatinem/rust-cache@v2 2024-10-18T04:12:13.8042825Z with: 2024-10-18T04:12:13.8043028Z prefix-key: v0-rust 2024-10-18T04:12:13.8043285Z cache-targets: true 2024-10-18T04:12:13.8043529Z cache-all-crates: false 2024-10-18T04:12:13.8043788Z save-if: true 2024-10-18T04:12:13.8044019Z cache-provider: github 2024-10-18T04:12:13.8044259Z env: 2024-10-18T04:12:13.8044460Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:13.8044713Z RUST_BACKTRACE: 1 2024-10-18T04:12:13.8044959Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:13.8045251Z rust_stable: stable 2024-10-18T04:12:13.8045512Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:13.8045818Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:13.8046132Z rust_clippy: 1.77 2024-10-18T04:12:13.8046366Z rust_min: 1.70 2024-10-18T04:12:13.8046604Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:13.8046900Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:13.8047153Z CARGO_TERM_COLOR: always 2024-10-18T04:12:13.8047443Z ##[endgroup] 2024-10-18T04:12:14.1967243Z ##[group]Cache Configuration 2024-10-18T04:12:14.1968080Z Cache Provider: 2024-10-18T04:12:14.1968498Z github 2024-10-18T04:12:14.1968878Z Workspaces: 2024-10-18T04:12:14.1969306Z /home/runner/work/tokio/tokio 2024-10-18T04:12:14.1969831Z Cache Paths: 2024-10-18T04:12:14.1970246Z /home/runner/.cargo 2024-10-18T04:12:14.1970726Z /home/runner/work/tokio/tokio/target 2024-10-18T04:12:14.1971264Z Restore Key: 2024-10-18T04:12:14.1972016Z v0-rust-wasm32-unknown-unknown-1ebcea07 2024-10-18T04:12:14.1972641Z Cache Key: 2024-10-18T04:12:14.1973305Z v0-rust-wasm32-unknown-unknown-1ebcea07-adb7661b 2024-10-18T04:12:14.1973961Z .. Prefix: 2024-10-18T04:12:14.1974492Z - v0-rust-wasm32-unknown-unknown 2024-10-18T04:12:14.1975057Z .. Environment considered: 2024-10-18T04:12:14.1976141Z - Rust Version: 1.82.0 x86_64-unknown-linux-gnu (f6e511eec7342f59a25f7c0534f1dbea00d01b14) 2024-10-18T04:12:14.1977211Z - CARGO_HOME 2024-10-18T04:12:14.1977727Z - CARGO_INCREMENTAL 2024-10-18T04:12:14.1978277Z - CARGO_TERM_COLOR 2024-10-18T04:12:14.1978827Z - RUST_BACKTRACE 2024-10-18T04:12:14.1979336Z - RUSTFLAGS 2024-10-18T04:12:14.1979848Z - RUSTUP_WINDOWS_PATH_ADD_BIN 2024-10-18T04:12:14.1980394Z .. Lockfiles considered: 2024-10-18T04:12:14.1981091Z - /home/runner/work/tokio/tokio/benches/Cargo.toml 2024-10-18T04:12:14.1981986Z - /home/runner/work/tokio/tokio/examples/Cargo.toml 2024-10-18T04:12:14.1982942Z - /home/runner/work/tokio/tokio/stress-test/Cargo.toml 2024-10-18T04:12:14.1983925Z - /home/runner/work/tokio/tokio/tests-build/Cargo.toml 2024-10-18T04:12:14.1984974Z - /home/runner/work/tokio/tokio/tests-integration/Cargo.toml 2024-10-18T04:12:14.1986021Z - /home/runner/work/tokio/tokio/tokio-macros/Cargo.toml 2024-10-18T04:12:14.1987019Z - /home/runner/work/tokio/tokio/tokio-stream/Cargo.toml 2024-10-18T04:12:14.1988045Z - /home/runner/work/tokio/tokio/tokio-test/Cargo.toml 2024-10-18T04:12:14.1988983Z - /home/runner/work/tokio/tokio/tokio-util/Cargo.toml 2024-10-18T04:12:14.1990299Z - /home/runner/work/tokio/tokio/tokio/Cargo.toml 2024-10-18T04:12:14.1991341Z ##[endgroup] 2024-10-18T04:12:14.1991598Z 2024-10-18T04:12:14.1991788Z ... Restoring cache ... 2024-10-18T04:12:14.3106576Z No cache found. 2024-10-18T04:12:14.3188162Z ##[group]Run wasm-pack test --node -- --features "macros sync" 2024-10-18T04:12:14.3188701Z wasm-pack test --node -- --features "macros sync" 2024-10-18T04:12:14.3244837Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2024-10-18T04:12:14.3245235Z env: 2024-10-18T04:12:14.3245439Z RUSTFLAGS: -Dwarnings 2024-10-18T04:12:14.3245699Z RUST_BACKTRACE: 1 2024-10-18T04:12:14.3245952Z RUSTUP_WINDOWS_PATH_ADD_BIN: 1 2024-10-18T04:12:14.3246243Z rust_stable: stable 2024-10-18T04:12:14.3246501Z rust_nightly: nightly-2024-05-05 2024-10-18T04:12:14.3246809Z rust_miri_nightly: nightly-2024-09-19 2024-10-18T04:12:14.3247119Z rust_clippy: 1.77 2024-10-18T04:12:14.3247348Z rust_min: 1.70 2024-10-18T04:12:14.3247590Z CARGO_HOME: /home/runner/.cargo 2024-10-18T04:12:14.3247884Z CARGO_INCREMENTAL: 0 2024-10-18T04:12:14.3248135Z CARGO_TERM_COLOR: always 2024-10-18T04:12:14.3248394Z CACHE_ON_FAILURE: false 2024-10-18T04:12:14.3248643Z ##[endgroup] 2024-10-18T04:12:17.5127983Z [INFO]: 🎯 Checking for the Wasm target... 2024-10-18T04:12:17.7111318Z info: downloading component 'rust-std' for 'wasm32-unknown-unknown' 2024-10-18T04:12:17.8021574Z info: installing component 'rust-std' for 'wasm32-unknown-unknown' 2024-10-18T04:12:19.2361948Z  Compiling proc-macro2 v1.0.88 2024-10-18T04:12:19.2362758Z  Compiling unicode-ident v1.0.13 2024-10-18T04:12:19.2363458Z  Compiling autocfg v1.4.0 2024-10-18T04:12:19.2364182Z  Compiling wasm-bindgen-shared v0.2.95 2024-10-18T04:12:19.2958659Z  Compiling once_cell v1.20.2 2024-10-18T04:12:19.4421782Z  Compiling memchr v2.7.4 2024-10-18T04:12:19.7758171Z  Compiling bumpalo v3.16.0 2024-10-18T04:12:19.7816190Z  Compiling log v0.4.22 2024-10-18T04:12:19.8457431Z  Compiling pin-project-lite v0.2.14 2024-10-18T04:12:19.8856615Z  Compiling futures-core v0.3.31 2024-10-18T04:12:19.9199756Z  Compiling cfg-if v1.0.0 2024-10-18T04:12:19.9497317Z  Compiling wasm-bindgen v0.2.95 2024-10-18T04:12:19.9650087Z  Compiling num-traits v0.2.19 2024-10-18T04:12:19.9674444Z  Compiling slab v0.4.9 2024-10-18T04:12:20.1147735Z  Compiling quote v1.0.37 2024-10-18T04:12:20.3004106Z  Compiling syn v2.0.79 2024-10-18T04:12:20.3126828Z  Compiling aho-corasick v1.1.3 2024-10-18T04:12:20.3860518Z  Compiling syn v1.0.109 2024-10-18T04:12:20.4609632Z  Compiling futures-sink v0.3.31 2024-10-18T04:12:20.5084645Z  Compiling regex-syntax v0.8.5 2024-10-18T04:12:20.7250949Z  Compiling futures-channel v0.3.31 2024-10-18T04:12:21.6738713Z  Compiling predicates-core v1.0.8 2024-10-18T04:12:21.8038109Z  Compiling futures-task v0.3.31 2024-10-18T04:12:21.9016268Z  Compiling futures-io v0.3.31 2024-10-18T04:12:22.0170074Z  Compiling pin-utils v0.1.0 2024-10-18T04:12:22.0475979Z  Compiling either v1.13.0 2024-10-18T04:12:22.1779246Z  Compiling regex-automata v0.4.8 2024-10-18T04:12:22.2035428Z  Compiling itertools v0.10.5 2024-10-18T04:12:23.3588847Z  Compiling wasm-bindgen-backend v0.2.95 2024-10-18T04:12:23.9028605Z  Compiling float-cmp v0.9.0 2024-10-18T04:12:25.6769346Z  Compiling wasm-bindgen-macro-support v0.2.95 2024-10-18T04:12:26.0843298Z  Compiling futures-macro v0.3.31 2024-10-18T04:12:27.0012319Z  Compiling tokio-macros v2.4.0 (/home/runner/work/tokio/tokio/tokio-macros) 2024-10-18T04:12:27.3462827Z  Compiling futures-util v0.3.31 2024-10-18T04:12:27.3706676Z  Compiling wasm-bindgen-macro v0.2.95 2024-10-18T04:12:28.0556717Z  Compiling tokio v1.40.0 (/home/runner/work/tokio/tokio/tokio) 2024-10-18T04:12:28.9218533Z  Compiling js-sys v0.3.72 2024-10-18T04:12:29.9405505Z  Compiling async-stream-impl v0.3.6 2024-10-18T04:12:30.0043973Z  Compiling regex v1.11.0 2024-10-18T04:12:30.5361127Z  Compiling difflib v0.4.0 2024-10-18T04:12:30.8120106Z  Compiling normalize-line-endings v0.3.0 2024-10-18T04:12:30.8486367Z  Compiling termtree v0.4.1 2024-10-18T04:12:30.8523097Z  Compiling async-stream v0.3.6 2024-10-18T04:12:30.9113687Z  Compiling predicates-tree v1.0.11 2024-10-18T04:12:30.9162997Z  Compiling predicates v2.1.5 2024-10-18T04:12:31.1138250Z  Compiling mockall_derive v0.11.4 2024-10-18T04:12:31.3788424Z  Compiling futures-executor v0.3.31 2024-10-18T04:12:31.5827210Z  Compiling tokio-stream v0.1.16 (/home/runner/work/tokio/tokio/tokio-stream) 2024-10-18T04:12:31.6512778Z  Compiling console_error_panic_hook v0.1.7 2024-10-18T04:12:31.7550354Z  Compiling wasm-bindgen-test-macro v0.3.45 2024-10-18T04:12:31.9360300Z  Compiling downcast v0.11.0 2024-10-18T04:12:32.0034074Z  Compiling bytes v1.7.2 2024-10-18T04:12:32.4604780Z  Compiling fragile v2.0.0 2024-10-18T04:12:32.5115620Z  Compiling lazy_static v1.5.0 2024-10-18T04:12:32.5501401Z  Compiling scoped-tls v1.0.1 2024-10-18T04:12:32.5940031Z  Compiling tokio-test v0.4.4 (/home/runner/work/tokio/tokio/tokio-test) 2024-10-18T04:12:32.6733001Z  Compiling futures v0.3.31 2024-10-18T04:12:33.6118957Z  Compiling wasm-bindgen-futures v0.4.45 2024-10-18T04:12:33.8148564Z  Compiling wasm-bindgen-test v0.3.45 2024-10-18T04:12:34.1401970Z  Compiling mockall v0.11.4 2024-10-18T04:12:41.2742722Z  Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.19s 2024-10-18T04:12:41.3229968Z [INFO]: ⬇️ Installing wasm-bindgen... 2024-10-18T04:12:41.6420447Z  Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s 2024-10-18T04:12:41.6778177Z  Running unittests src/lib.rs (/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/debug/deps/tokio-aade97a269b3441b.wasm) 2024-10-18T04:12:41.8816142Z Set timeout to 20 seconds... 2024-10-18T04:12:42.0751903Z Executing bindgen... 2024-10-18T04:12:42.2448035Z 2024-10-18T04:12:42.2448735Z running 22 tests 2024-10-18T04:12:42.2452127Z 2024-10-18T04:12:42.2472754Z Stacktrace: 2024-10-18T04:12:42.2476617Z ptr1=0x17c2d0f54269 2024-10-18T04:12:42.2477272Z ptr2=(nil) 2024-10-18T04:12:42.2477810Z ptr3=(nil) 2024-10-18T04:12:42.2478356Z ptr4=(nil) 2024-10-18T04:12:42.2478838Z ptr5=(nil) 2024-10-18T04:12:42.2479317Z ptr6=(nil) 2024-10-18T04:12:42.2514557Z failure_message_object=0x7ffe7a241d20 2024-10-18T04:12:42.2515112Z 2024-10-18T04:12:42.2515604Z ==== JS stack trace ========================================= 2024-10-18T04:12:42.2516259Z 2024-10-18T04:12:42.2516501Z 0: ExitFrame [pc: 0x17120b9] 2024-10-18T04:12:42.2517206Z 1: StubFrame [pc: 0x17a6154] 2024-10-18T04:12:42.2517964Z Security context: 0x03a291da5af1 2024-10-18T04:12:42.2522075Z 2: /* anonymous */ [0x1b2b93519d89] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:602] [bytecode=0x17c2d0f693a1 offset=0](this=0x03a291d81131 ,0x17c2d0f54269 ,0x38bb2c081339 ,1180308) 2024-10-18T04:12:42.2527635Z 3: handleError [0x139c4b589509] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:291] [bytecode=0x17c2d0f61e79 offset=8](this=0x03a291d81131 ,0x1b2b93519d89 ,0x1b2b93519d61 ) 2024-10-18T04:12:42.2531638Z 4: /* anonymous */ [0x3bcbe7cf7ed9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:601] [bytecode=0x17c2d0f53549 offset=10](this=0x03a291d81131 ) 2024-10-18T04:12:42.2532836Z 5: WasmToJsFrame [pc: 0x311c0ba5ac2c] 2024-10-18T04:12:42.2533827Z 6: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #6228 ('__wbg_call_3bfa248576352471 externref shim'), pc=0x311c0b684a48 (+0xc8), pos=1526199 (+17) 2024-10-18T04:12:42.2546740Z 7: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #818 ('js_sys::Function::call1::h62c9d80c8192a309'), pc=0x311c0b95d210 (+0x150), pos=837739 (+134) 2024-10-18T04:12:42.2548378Z 8: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #135 ('wasm_bindgen_test::__rt::Context::run::h685cb0db9cbe0a83'), pc=0x311c0b9c6b28 (+0x9a8), pos=330127 (+1231) 2024-10-18T04:12:42.2549851Z 9: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #1392 ('wasmbindgentestcontext_run'), pc=0x311c0b76a399 (+0x119), pos=1017262 (+156) 2024-10-18T04:12:42.2551228Z 10: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #6346 ('wasmbindgentestcontext_run externref shim'), pc=0x311c0b67e97d (+0x3d), pos=1529372 (+9) 2024-10-18T04:12:42.2552046Z 11: JsToWasmFrame [pc: 0x170a35f] 2024-10-18T04:12:42.2553983Z 12: run [0x139c4b598129] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:394] [bytecode=0x17c2d0f63ac1 offset=93](this=0x1b2b93515ee9 ,0x1b2b93518229 ) 2024-10-18T04:12:42.2556842Z 13: main [0x14e7832634b9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/run.cjs:45] [bytecode=0x17c2d0f63089 offset=82](this=0x03a291d81131 ,0x1b2b93517da1 ) 2024-10-18T04:12:42.2560979Z 14: /* anonymous */ [0x14e783262af9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/run.cjs:74] [bytecode=0x2948dbe9d821 offset=474](this=0x14e783260d11 ,0x14e783260d11 ,0x14e783262ea1 ,0x14e783260b09 ,0x14e78325f411 ,0x14e783262dd1 ) 2024-10-18T04:12:42.2565160Z 15: _compile [0x3a291d99989] [node:internal/modules/cjs/loader:1364] [bytecode=0x2948dbe9c029 offset=426](this=0x14e783260b09 ,0x14e783261ed1 >">,0x14e78325f411 ) 2024-10-18T04:12:42.2568039Z 16: .js [0x3a291d98f99] [node:internal/modules/cjs/loader:1422] [bytecode=0x2948dbe98441 offset=486](this=0x03a291d98e39 ,0x14e783260b09 ,0x14e78325f411 ) 2024-10-18T04:12:42.2570685Z 17: load [0x3a291d999f9] [node:internal/modules/cjs/loader:1203] [bytecode=0x2948dbe975d1 offset=144](this=0x14e783260b09 ,0x14e78325f411 ) 2024-10-18T04:12:42.2573467Z 18: _load [0x3a291d99571] [node:internal/modules/cjs/loader:1019] [bytecode=0x2948dbe93fc1 offset=469](this=0x03a291d98bf9 ,0x14e783256669 ,0x38bb2c081339 ,0x38bb2c081729 ) 2024-10-18T04:12:42.2576758Z 19: runMain(aka executeUserEntryPoint) [0x3a291dbeea9] [node:internal/modules/run_main:128] [bytecode=0x2948dbe902d1 offset=87](this=0x03a291d98bf9 ,0x14e783256669 ) 2024-10-18T04:12:42.2579509Z 20: /* anonymous */(aka /* anonymous */) [0x14e7832472e1] [node:internal/main/run_main_module:28] [bytecode=0x2948dbe85929 offset=112](this=0x38bb2c0815b9 ,0x03a291d82ef1 ,0x03a291d83661 ,0x03a291d835e1 ,0x1e1207a4ecb1 ) 2024-10-18T04:12:42.2581095Z 21: InternalFrame [pc: 0x16946dc] 2024-10-18T04:12:42.2581415Z 22: EntryFrame [pc: 0x1694403] 2024-10-18T04:12:42.2581623Z 2024-10-18T04:12:42.2581768Z ==== Details ================================================ 2024-10-18T04:12:42.2582040Z 2024-10-18T04:12:42.2582146Z [0]: ExitFrame [pc: 0x17120b9] 2024-10-18T04:12:42.2582424Z [1]: StubFrame [pc: 0x17a6154] 2024-10-18T04:12:42.2584117Z [2]: /* anonymous */ [0x1b2b93519d89] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:602] [bytecode=0x17c2d0f693a1 offset=0](this=0x03a291d81131 ,0x17c2d0f54269 ,0x38bb2c081339 ,1180308) { 2024-10-18T04:12:42.2585616Z // expression stack (top to bottom) 2024-10-18T04:12:42.2585940Z [01] : 0x38bb2c0815b9 2024-10-18T04:12:42.2586236Z [00] : 0x38bb2c0815b9 2024-10-18T04:12:42.2586625Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2587194Z function (arg0, arg1, arg2) {\x0a const ret = arg0.call(arg1, arg2);\x0a return ret;\x0a} 2024-10-18T04:12:42.2587749Z ----------------------------------------- 2024-10-18T04:12:42.2588043Z } 2024-10-18T04:12:42.2588155Z 2024-10-18T04:12:42.2589654Z [3]: handleError [0x139c4b589509] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:291] [bytecode=0x17c2d0f61e79 offset=8](this=0x03a291d81131 ,0x1b2b93519d89 ,0x1b2b93519d61 ) { 2024-10-18T04:12:42.2591152Z // expression stack (top to bottom) 2024-10-18T04:12:42.2591468Z [08] : 0x03a291d81131 2024-10-18T04:12:42.2591910Z [07] : 0x17c2d0f54269 2024-10-18T04:12:42.2592344Z [06] : 0x38bb2c081339 2024-10-18T04:12:42.2592601Z [05] : 1180308 2024-10-18T04:12:42.2592858Z [04] : 0x38bb2c0815b9 2024-10-18T04:12:42.2593162Z [03] : 0x38bb2c0815b9 2024-10-18T04:12:42.2593823Z [02] : 0x03a291d91799 2024-10-18T04:12:42.2594268Z [01] : 0x139c4b589091 2024-10-18T04:12:42.2594609Z [00] : 0x38bb2c0815b9 2024-10-18T04:12:42.2594970Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2595869Z function handleError(f, args) {\x0a try {\x0a return f.apply(this, args);\x0a } catch (e) {\x0a const idx = addToExternrefTable0(e);\x0a wasm.__wbindgen_exn_store(idx);\x0a }\x0a} 2024-10-18T04:12:42.2596776Z ----------------------------------------- 2024-10-18T04:12:42.2597054Z } 2024-10-18T04:12:42.2597161Z 2024-10-18T04:12:42.2598254Z [4]: /* anonymous */ [0x3bcbe7cf7ed9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:601] [bytecode=0x17c2d0f53549 offset=10](this=0x03a291d81131 ) { 2024-10-18T04:12:42.2599611Z // expression stack (top to bottom) 2024-10-18T04:12:42.2599937Z [05] : 0x03a291d81131 2024-10-18T04:12:42.2600324Z [04] : 0x1b2b93519d89 2024-10-18T04:12:42.2600884Z [03] : 0x1b2b93519d61 2024-10-18T04:12:42.2601313Z [02] : 0x1b2b93519d89 2024-10-18T04:12:42.2601788Z [01] : 0x139c4b589509 2024-10-18T04:12:42.2602258Z [00] : 0x1b2b93519d61 2024-10-18T04:12:42.2602666Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2603375Z function () { return handleError(function (arg0, arg1, arg2) {\x0a const ret = arg0.call(arg1, arg2);\x0a return ret;\x0a}, arguments) } 2024-10-18T04:12:42.2604102Z ----------------------------------------- 2024-10-18T04:12:42.2604389Z } 2024-10-18T04:12:42.2604491Z 2024-10-18T04:12:42.2604604Z [5]: WasmToJsFrame [pc: 0x311c0ba5ac2c] 2024-10-18T04:12:42.2605549Z [6]: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #6228 ('__wbg_call_3bfa248576352471 externref shim'), pc=0x311c0b684a48 (+0xc8), pos=1526199 (+17) 2024-10-18T04:12:42.2606282Z 2024-10-18T04:12:42.2607045Z [7]: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #818 ('js_sys::Function::call1::h62c9d80c8192a309'), pc=0x311c0b95d210 (+0x150), pos=837739 (+134) 2024-10-18T04:12:42.2607727Z 2024-10-18T04:12:42.2608530Z [8]: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #135 ('wasm_bindgen_test::__rt::Context::run::h685cb0db9cbe0a83'), pc=0x311c0b9c6b28 (+0x9a8), pos=330127 (+1231) 2024-10-18T04:12:42.2609308Z 2024-10-18T04:12:42.2609963Z [9]: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #1392 ('wasmbindgentestcontext_run'), pc=0x311c0b76a399 (+0x119), pos=1017262 (+156) 2024-10-18T04:12:42.2610616Z 2024-10-18T04:12:42.2611328Z [10]: Wasm [wasm://wasm/tokio-aade97a269b3441b.wasm-0083680e], function #6346 ('wasmbindgentestcontext_run externref shim'), pc=0x311c0b67e97d (+0x3d), pos=1529372 (+9) 2024-10-18T04:12:42.2612053Z 2024-10-18T04:12:42.2612156Z [11]: JsToWasmFrame [pc: 0x170a35f] 2024-10-18T04:12:42.2613681Z [12]: run [0x139c4b598129] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/wasm-bindgen-test.js:394] [bytecode=0x17c2d0f63ac1 offset=93](this=0x1b2b93515ee9 ,0x1b2b93518229 ) { 2024-10-18T04:12:42.2615027Z // expression stack (top to bottom) 2024-10-18T04:12:42.2615387Z [11] : 0x139c4b5b44f9 2024-10-18T04:12:42.2615731Z [10] : 1180304 2024-10-18T04:12:42.2615945Z [09] : 1180320 2024-10-18T04:12:42.2616153Z [08] : 22 2024-10-18T04:12:42.2616357Z [07] : 22 2024-10-18T04:12:42.2616559Z [06] : 1180320 2024-10-18T04:12:42.2616767Z [05] : 1180304 2024-10-18T04:12:42.2617044Z [04] : 0x139c4b5b44f9 2024-10-18T04:12:42.2617619Z [03] : 0x17c2d0f55b39 2024-10-18T04:12:42.2618076Z [02] : 0x38bb2c0815b9 2024-10-18T04:12:42.2618357Z [01] : 22 2024-10-18T04:12:42.2618558Z [00] : 1180320 2024-10-18T04:12:42.2618840Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2620361Z function run(tests) {\x0a if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');\x0a _assertNum(this.__wbg_ptr);\x0a const ptr0 = passArrayJsValueToWasm0(tests, wasm.__wbindgen_malloc);\x0a const len0 = WASM_VECTOR_LEN;\x0a const ret = wasm.wasmbindgentestcontext_run(this.... 2024-10-18T04:12:42.2621589Z 2024-10-18T04:12:42.2621717Z ----------------------------------------- 2024-10-18T04:12:42.2622004Z } 2024-10-18T04:12:42.2622111Z 2024-10-18T04:12:42.2623234Z [13]: main [0x14e7832634b9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/run.cjs:45] [bytecode=0x17c2d0f63089 offset=82](this=0x03a291d81131 ,0x1b2b93517da1 ) { 2024-10-18T04:12:42.2624534Z // expression stack (top to bottom) 2024-10-18T04:12:42.2624964Z [09] : 0x1b2b93515ee9 2024-10-18T04:12:42.2625488Z [08] : 0x1b2b93518229 2024-10-18T04:12:42.2625864Z [07] : 0x1b2b93518111 2024-10-18T04:12:42.2626241Z [06] : 0x14e783248cc9 2024-10-18T04:12:42.2626532Z [05] : 0x1b2b93518229 2024-10-18T04:12:42.2626938Z [04] : 0x1b2b93515ee9 2024-10-18T04:12:42.2627445Z [03] : 0x139c4b598129 2024-10-18T04:12:42.2627852Z [02] : 0x14e783263479 2024-10-18T04:12:42.2628184Z [01] : 0x38bb2c0815b9 2024-10-18T04:12:42.2628513Z [00] : 0x1b2b93518049 2024-10-18T04:12:42.2628906Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2630483Z function main(tests) {\x0a // Forward runtime arguments. These arguments are also arguments to the\x0a // `wasm-bindgen-test-runner` which forwards them to node which we\x0a // forward to the test harness. this is basically only used for test\x0a // filters for now.\x0a cx... 2024-10-18T04:12:42.2631751Z 2024-10-18T04:12:42.2631881Z ----------------------------------------- 2024-10-18T04:12:42.2632169Z } 2024-10-18T04:12:42.2632275Z 2024-10-18T04:12:42.2635503Z [14]: /* anonymous */ [0x14e783262af9] [/home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/wbg-tmp-tokio-aade97a269b3441b.wasm/run.cjs:74] [bytecode=0x2948dbe9d821 offset=474](this=0x14e783260d11 ,0x14e783260d11 ,0x14e783262ea1 ,0x14e783260b09 ,0x14e78325f411 ,0x14e783262dd1 ) { 2024-10-18T04:12:42.2638324Z // heap-allocated locals 2024-10-18T04:12:42.2638717Z var exit = 0x03a291d86f09 2024-10-18T04:12:42.2639208Z var wasm = 0x36ad59ff9ec1 2024-10-18T04:12:42.2639665Z var handlers = 0x1b2b93515b31 2024-10-18T04:12:42.2640175Z var cx = 0x1b2b93515ee9 2024-10-18T04:12:42.2640627Z // expression stack (top to bottom) 2024-10-18T04:12:42.2640956Z [08] : 0x03a291d81131 2024-10-18T04:12:42.2641268Z [07] : 0x1b2b93517da1 2024-10-18T04:12:42.2641634Z [06] : 0x2948dbe9d2d1 2024-10-18T04:12:42.2642059Z [05] : 0x36ad59ff9ec1 2024-10-18T04:12:42.2642485Z [04] : 0x03a291d838c1 2024-10-18T04:12:42.2642905Z [03] : 0x03a291d81151 2024-10-18T04:12:42.2643237Z [02] : 0x1b2b93517da1 2024-10-18T04:12:42.2643614Z [01] : 0x14e7832634b9 2024-10-18T04:12:42.2644092Z [00] : 0x1b2b93515b69 2024-10-18T04:12:42.2644542Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2646123Z function \x0a const { exit } = require('node:process');\x0a const wasm = require('./wasm-bindgen-test.js');\x0a\x0a \x0aconst handlers = {};\x0a\x0aconst wrap = method => {\x0a const og = console[method];\x0a const on_method = `on_console_${method}`;\x0a console[method] = function (...args) {\x0a og.appl... 2024-10-18T04:12:42.2647378Z 2024-10-18T04:12:42.2647505Z ----------------------------------------- 2024-10-18T04:12:42.2647789Z } 2024-10-18T04:12:42.2647893Z 2024-10-18T04:12:42.2649638Z [15]: _compile [0x3a291d99989] [node:internal/modules/cjs/loader:1364] [bytecode=0x2948dbe9c029 offset=426](this=0x14e783260b09 ,0x14e783261ed1 >">,0x14e78325f411 ) { 2024-10-18T04:12:42.2651280Z // expression stack (top to bottom) 2024-10-18T04:12:42.2651641Z [24] : 0x14e783260d11 2024-10-18T04:12:42.2652035Z [23] : 0x14e783260d11 2024-10-18T04:12:42.2652478Z [22] : 0x14e783262ea1 2024-10-18T04:12:42.2652922Z [21] : 0x14e783260b09 2024-10-18T04:12:42.2653839Z [20] : 0x14e78325f411 2024-10-18T04:12:42.2655098Z [19] : 0x14e783262dd1 2024-10-18T04:12:42.2655818Z [18] : 0x38bb2c0815b9 2024-10-18T04:12:42.2656114Z [17] : 0x38bb2c0815b9 2024-10-18T04:12:42.2656398Z [16] : 0x38bb2c0815b9 2024-10-18T04:12:42.2656695Z [15] : 0x14e783263459 2024-10-18T04:12:42.2656995Z [14] : 0x14e783263459 2024-10-18T04:12:42.2657326Z [13] : 0x14e783260d11 2024-10-18T04:12:42.2657740Z [12] : 0x14e783262af9 2024-10-18T04:12:42.2658200Z [11] : 0x03a291d83aa1 2024-10-18T04:12:42.2658628Z [10] : 0x14e783260b09 2024-10-18T04:12:42.2659001Z [09] : 0x14e783260d11 2024-10-18T04:12:42.2659384Z [08] : 0x14e783260d11 2024-10-18T04:12:42.2659730Z [07] : 0x38bb2c0815b9 2024-10-18T04:12:42.2660110Z [06] : 0x14e783262ea1 2024-10-18T04:12:42.2661024Z [05] : 0x14e783262dd1 2024-10-18T04:12:42.2661736Z [04] : 0x38bb2c081339 2024-10-18T04:12:42.2662117Z [03] : 0x14e783262af9 2024-10-18T04:12:42.2662492Z [02] : 0x38bb2c0815b9 2024-10-18T04:12:42.2662785Z [01] : 0x38bb2c0815b9 2024-10-18T04:12:42.2663068Z [00] : 0x38bb2c0815b9 2024-10-18T04:12:42.2663413Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2664922Z function (content, filename) {\x0a let moduleURL;\x0a let redirects;\x0a const manifest = policy()?.manifest;\x0a if (manifest) {\x0a moduleURL = pathToFileURL(filename);\x0a redirects = manifest.getDependencyMapper(moduleURL);\x0a manifest.assertIntegrity(moduleURL, content);\x0a }\x0a\x0a const compiledWrapper = wrapSafe... 2024-10-18T04:12:42.2666288Z 2024-10-18T04:12:42.2666425Z ----------------------------------------- 2024-10-18T04:12:42.2666704Z } 2024-10-18T04:12:42.2666813Z 2024-10-18T04:12:42.2668318Z [16]: .js [0x3a291d98f99] [node:internal/modules/cjs/loader:1422] [bytecode=0x2948dbe98441 offset=486](this=0x03a291d98e39 ,0x14e783260b09 ,0x14e78325f411 ) { 2024-10-18T04:12:42.2669804Z // expression stack (top to bottom) 2024-10-18T04:12:42.2670162Z [22] : 0x14e783260b09 2024-10-18T04:12:42.2670562Z [21] : 0x14e783261ed1 >"> 2024-10-18T04:12:42.2671479Z [20] : 0x14e78325f411 2024-10-18T04:12:42.2672241Z [19] : 0x38bb2c0815b9 2024-10-18T04:12:42.2672530Z [18] : 0x38bb2c0815b9 2024-10-18T04:12:42.2672987Z [17] : 0x38be91e88759 2024-10-18T04:12:42.2673319Z [16] : 0x38be91e82549 2024-10-18T04:12:42.2673873Z [15] : 0x03a291d9a269 2024-10-18T04:12:42.2674542Z [14] : 0x03a291d99989 2024-10-18T04:12:42.2674999Z [13] : 0x38bb2c0815b9 2024-10-18T04:12:42.2675289Z [12] : 0x38bb2c0815b9 2024-10-18T04:12:42.2675579Z [11] : 0x38bb2c0815b9 2024-10-18T04:12:42.2675871Z [10] : 0x38bb2c0815b9 2024-10-18T04:12:42.2676147Z [09] : 0x38bb2c0815b9 2024-10-18T04:12:42.2676427Z [08] : 0x38bb2c0815b9 2024-10-18T04:12:42.2676712Z [07] : 0x38bb2c0815b9 2024-10-18T04:12:42.2676988Z [06] : 0x38bb2c0815b9 2024-10-18T04:12:42.2677268Z [05] : 0x38bb2c0815b9 2024-10-18T04:12:42.2677548Z [04] : 0x38bb2c0815b9 2024-10-18T04:12:42.2677823Z [03] : 0x38bb2c0815b9 2024-10-18T04:12:42.2678105Z [02] : 0x38bb2c0815b9 2024-10-18T04:12:42.2678447Z [01] : 0x14e783261ed1 >"> 2024-10-18T04:12:42.2678801Z [00] : 0x38bb2c0815b9 2024-10-18T04:12:42.2679154Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2680836Z function (module, filename) {\x0a // If already analyzed the source, then it will be cached.\x0a const cached = cjsParseCache.get(module);\x0a let content;\x0a if (cached?.source) {\x0a content = cached.source;\x0a cached.source = undefined;\x0a } else {\x0a content = fs.readFileSync(filename, 'utf8');\x0a }\x0a if (Strin... 2024-10-18T04:12:42.2682191Z 2024-10-18T04:12:42.2682324Z ----------------------------------------- 2024-10-18T04:12:42.2682606Z } 2024-10-18T04:12:42.2682717Z 2024-10-18T04:12:42.2684037Z [17]: load [0x3a291d999f9] [node:internal/modules/cjs/loader:1203] [bytecode=0x2948dbe975d1 offset=144](this=0x14e783260b09 ,0x14e78325f411 ) { 2024-10-18T04:12:42.2685392Z // expression stack (top to bottom) 2024-10-18T04:12:42.2685758Z [10] : 0x03a291d98e39 2024-10-18T04:12:42.2686145Z [09] : 0x14e783260b09 2024-10-18T04:12:42.2687050Z [08] : 0x14e78325f411 2024-10-18T04:12:42.2687852Z [07] : 0x03a291d89419 2024-10-18T04:12:42.2688689Z [06] : 0x14e783261409 2024-10-18T04:12:42.2689414Z [05] : 0x2948dbe93a19 2024-10-18T04:12:42.2689777Z [04] : 0x03a291d98e39 2024-10-18T04:12:42.2690274Z [03] : 0x03a291d98f99 2024-10-18T04:12:42.2690753Z [02] : 0x38bb2c0815b9 2024-10-18T04:12:42.2691060Z [01] : 0x38bb2c0815b9 2024-10-18T04:12:42.2691364Z [00] : 0x38be91e82549 2024-10-18T04:12:42.2691733Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2693438Z function (filename) {\x0a debug('load %j for module %j', filename, this.id);\x0a\x0a assert(!this.loaded);\x0a this.filename = filename;\x0a this.paths = Module._nodeModulePaths(path.dirname(filename));\x0a\x0a const extension = findLongestRegisteredExtension(filename);\x0a // allow .mjs to be overridden\x0a if (StringPrototype... 2024-10-18T04:12:42.2694833Z 2024-10-18T04:12:42.2694968Z ----------------------------------------- 2024-10-18T04:12:42.2695251Z } 2024-10-18T04:12:42.2695360Z 2024-10-18T04:12:42.2696964Z [18]: _load [0x3a291d99571] [node:internal/modules/cjs/loader:1019] [bytecode=0x2948dbe93fc1 offset=469](this=0x03a291d98bf9 ,0x14e783256669 ,0x38bb2c081339 ,0x38bb2c081729 ) { 2024-10-18T04:12:42.2698692Z // expression stack (top to bottom) 2024-10-18T04:12:42.2699158Z [21] : 0x14e783260b09 2024-10-18T04:12:42.2700073Z [20] : 0x14e78325f411 2024-10-18T04:12:42.2700837Z [19] : 0x38bb2c0815b9 2024-10-18T04:12:42.2701132Z [18] : 0x38bb2c0815b9 2024-10-18T04:12:42.2701415Z [17] : 0x38bb2c081729 2024-10-18T04:12:42.2701799Z [16] : 0x03a291d999f9 2024-10-18T04:12:42.2702254Z [15] : 0x03a291d982c9 2024-10-18T04:12:42.2702704Z [14] : 0x03a291d99a51 2024-10-18T04:12:42.2703180Z [13] : 0x03a291da4ae9 2024-10-18T04:12:42.2703540Z [12] : 0x38bb2c0815b9 2024-10-18T04:12:42.2703830Z [11] : 0x38bb2c0815b9 2024-10-18T04:12:42.2704114Z [10] : 0x38bb2c0815b9 2024-10-18T04:12:42.2704416Z [09] : 0x38bb2c0815b9 2024-10-18T04:12:42.2704707Z [08] : 0x38bb2c0815b9 2024-10-18T04:12:42.2704984Z [07] : 0x38bb2c0815b9 2024-10-18T04:12:42.2705272Z [06] : 0x38bb2c0815b9 2024-10-18T04:12:42.2705561Z [05] : 0x38bb2c0815b9 2024-10-18T04:12:42.2705842Z [04] : 0x38bb2c081729 2024-10-18T04:12:42.2706160Z [03] : 0x14e783260b09 2024-10-18T04:12:42.2706509Z [02] : 0x38bb2c0815b9 2024-10-18T04:12:42.2707357Z [01] : 0x14e78325f411 2024-10-18T04:12:42.2708115Z [00] : 0x38bb2c0815b9 2024-10-18T04:12:42.2708466Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2710125Z function (request, parent, isMain) {\x0a let relResolveCacheIdentifier;\x0a if (parent) {\x0a debug('Module._load REQUEST %s parent: %s', request, parent.id);\x0a // Fast path for (lazy loaded) modules in the same directory. The indirect\x0a // caching is required to allow cache invalidation without changing the... 2024-10-18T04:12:42.2711439Z 2024-10-18T04:12:42.2711568Z ----------------------------------------- 2024-10-18T04:12:42.2711855Z } 2024-10-18T04:12:42.2711959Z 2024-10-18T04:12:42.2713697Z [19]: runMain(aka executeUserEntryPoint) [0x3a291dbeea9] [node:internal/modules/run_main:128] [bytecode=0x2948dbe902d1 offset=87](this=0x03a291d98bf9 ,0x14e783256669 ) { 2024-10-18T04:12:42.2715233Z // expression stack (top to bottom) 2024-10-18T04:12:42.2715671Z [12] : 0x03a291d98bf9 2024-10-18T04:12:42.2716662Z [11] : 0x14e783256669 2024-10-18T04:12:42.2717429Z [10] : 0x38bb2c081339 2024-10-18T04:12:42.2717699Z [09] : 0x38bb2c081729 2024-10-18T04:12:42.2717967Z [08] : 0x38bb2c081729 2024-10-18T04:12:42.2718231Z [07] : 0x38bb2c081339 2024-10-18T04:12:42.2719033Z [06] : 0x14e783256669 2024-10-18T04:12:42.2719884Z [05] : 0x03a291d98bf9 2024-10-18T04:12:42.2720402Z [04] : 0x03a291d99571 2024-10-18T04:12:42.2720908Z [03] : 0x03a291d98bf9 2024-10-18T04:12:42.2721347Z [02] : 0x38bb2c081789 2024-10-18T04:12:42.2722348Z [01] : 0x14e78325f411 2024-10-18T04:12:42.2724044Z [00] : 0x14e783256669 2024-10-18T04:12:42.2724853Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2726621Z function executeUserEntryPoint(main = process.argv[1]) {\x0a const resolvedMain = resolveMainPath(main);\x0a const useESMLoader = shouldUseESMLoader(resolvedMain);\x0a if (useESMLoader) {\x0a runMainESM(resolvedMain || main);\x0a } else {\x0a // Module._load is the monkey-patchable CJS module loader.\x0a const { Module } = require('inte... 2024-10-18T04:12:42.2728040Z 2024-10-18T04:12:42.2728167Z ----------------------------------------- 2024-10-18T04:12:42.2728472Z } 2024-10-18T04:12:42.2728578Z 2024-10-18T04:12:42.2729971Z [20]: /* anonymous */(aka /* anonymous */) [0x14e7832472e1] [node:internal/main/run_main_module:28] [bytecode=0x2948dbe85929 offset=112](this=0x38bb2c0815b9 ,0x03a291d82ef1 ,0x03a291d83661 ,0x03a291d835e1 ,0x1e1207a4ecb1 ) { 2024-10-18T04:12:42.2731566Z // expression stack (top to bottom) 2024-10-18T04:12:42.2731980Z [09] : 0x03a291d98bf9 2024-10-18T04:12:42.2732943Z [08] : 0x14e783256669 2024-10-18T04:12:42.2733792Z [07] : 0x2948dbe856c1 2024-10-18T04:12:42.2734284Z [06] : 0x03a291d98bf9 2024-10-18T04:12:42.2734846Z [05] : 0x03a291dbeea9 2024-10-18T04:12:42.2735868Z [04] : 0x14e783256669 2024-10-18T04:12:42.2736746Z [03] : 0x03a291d884b1 2024-10-18T04:12:42.2737339Z [02] : 0x1e1207a41369 2024-10-18T04:12:42.2737980Z [01] : 0x1e1207a412b9 2024-10-18T04:12:42.2738607Z [00] : 0x03a291d83ad9 2024-10-18T04:12:42.2739115Z --------- s o u r c e c o d e --------- 2024-10-18T04:12:42.2740895Z function 'use strict';\x0a\x0aconst { RegExpPrototypeExec } = primordials;\x0a\x0aconst {\x0a prepareMainThreadExecution,\x0a markBootstrapComplete,\x0a} = require('internal/process/pre_execution');\x0aconst { getOptionValue } = require('internal/options');\x0a\x0aconst mainEntry = prepareMainThreadExecution(true);\x0a\x0amarkBootstrapComple... 2024-10-18T04:12:42.2742354Z 2024-10-18T04:12:42.2742488Z ----------------------------------------- 2024-10-18T04:12:42.2742766Z } 2024-10-18T04:12:42.2742877Z 2024-10-18T04:12:42.2742982Z [21]: InternalFrame [pc: 0x16946dc] 2024-10-18T04:12:42.2743304Z [22]: EntryFrame [pc: 0x1694403] 2024-10-18T04:12:42.2743579Z ===================== 2024-10-18T04:12:42.2743736Z 2024-10-18T04:12:42.3342299Z error: test failed, to rerun pass `--lib` 2024-10-18T04:12:42.3342966Z 2024-10-18T04:12:42.3343147Z Caused by: 2024-10-18T04:12:42.3345658Z process didn't exit successfully: `/home/runner/.cache/.wasm-pack/wasm-bindgen-46a41f966b4cfc69/wasm-bindgen-test-runner /home/runner/work/tokio/tokio/target/wasm32-unknown-unknown/debug/deps/tokio-aade97a269b3441b.wasm` (signal: 5, SIGTRAP: trace/breakpoint trap) 2024-10-18T04:12:42.3405286Z Error: Running Wasm tests with wasm-bindgen-test failed 2024-10-18T04:12:42.3406417Z Caused by: Running Wasm tests with wasm-bindgen-test failed 2024-10-18T04:12:42.3407634Z Caused by: failed to execute `cargo test`: exited with exit status: 101 2024-10-18T04:12:42.3410814Z full command: cd "/home/runner/work/tokio/tokio/tokio" && CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER="/home/runner/.cache/.wasm-pack/wasm-bindgen-46a41f966b4cfc69/wasm-bindgen-test-runner" WASM_BINDGEN_TEST_ONLY_NODE="1" "cargo" "test" "--target" "wasm32-unknown-unknown" "--features" "macros sync" 2024-10-18T04:12:42.3424270Z ##[error]Process completed with exit code 1. 2024-10-18T04:12:42.3510541Z Post job cleanup. 2024-10-18T04:12:42.4429119Z [command]/usr/bin/git version 2024-10-18T04:12:42.4464008Z git version 2.46.2 2024-10-18T04:12:42.4507315Z Temporarily overriding HOME='/home/runner/work/_temp/414f39fa-83c3-49c8-bd61-2d8d8c629214' before making global git config changes 2024-10-18T04:12:42.4509356Z Adding repository directory to the temporary git global config as a safe directory 2024-10-18T04:12:42.4520920Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/tokio/tokio 2024-10-18T04:12:42.4555645Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-18T04:12:42.4587875Z [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' || :" 2024-10-18T04:12:42.4821381Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-18T04:12:42.4843268Z http.https://github.com/.extraheader 2024-10-18T04:12:42.4855964Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-10-18T04:12:42.4888421Z [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' || :" 2024-10-18T04:12:42.5334172Z Cleaning up orphan processes
Darksonn commented 1 week ago

cc @dicej any ideas?

Darksonn commented 1 week ago

Reopening. Just because we pinned CI to avoid the failure does not mean the problem is fixed.

dicej commented 1 week ago

I don't have much experience with wasm-bindgen, and the error messages aren't telling me much. I just tried reproducing this locally after upgrading to Rust 1.82, but the tests all ran without error. Here's what I did:

rustup update
cargo install wasm-pack
cd tokio
wasm-pack test --node -- --features "macros sync"

node --version says v18.19.1 on my system. I don't see anything in the .github YAML files about installing node explicitly, so presumably CI is just using whatever the ubuntu-latest image provides, which is v18.20.4 according to https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md -- seems close enough to what I'm using.

I'll ask around and see if anyone else has ideas.

pchickey commented 1 week ago

Rust 1.82 includes new wasm features, which I suspect are not yet handled correctly by walrus or somewhere else in the wasm-bindgen transitive dependencies. For more information: https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features.html

Darksonn commented 1 week ago

Is there an issue in wasm-bindgen I can follow?

alexcrichton commented 1 week ago

My best guess as to what's happening is this comment where externref is being used due to +reference-types being inside of the wasm module. The type is being injected by wasm-bindgen and I think that node.js is segfaulting or failing on the use of externref (e.g. a buggy implementation in Node 18.20.4). I can reproduce the crash locally with Node 18.20.4.

Updating to Node 20.* makes the tests pass, so I think that what y'all are running into here is a Node 18-specific bug due to the Rust 1.82 change of upgrading to LLVM 19 which is enabling reference-types by default which in turn causes wasm-bindgen to change behaviors.

I believe possible mitigations of this are one of: