Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build script]: fails on gcc 13.1.1 #143

Closed
niklasad1 opened this issue May 4, 2023 · 2 comments · Fixed by paritytech/substrate#13574
Closed

[build script]: fails on gcc 13.1.1 #143

niklasad1 opened this issue May 4, 2023 · 2 comments · Fixed by paritytech/substrate#13574

Comments

@niklasad1
Copy link

niklasad1 commented May 4, 2023

$ c++ --version 13.1.1
  process didn't exit successfully: `/polkadot/target/debug/build/wasm-opt-sys-8b83864602fd42c7/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:CXXBRIDGE_PREFIX=wasm-opt-sys
  cargo:CXXBRIDGE_LINKS=binaryen
  cargo:CXXBRIDGE_DIR0=/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include
  cargo:CXXBRIDGE_DIR1=/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate
  cargo:CXXBRIDGE_DIR2=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src
  cargo:CXXBRIDGE_DIR3=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools
  cargo:CXXBRIDGE_DIR4=/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/b0963a45421ae5eb-lib.rs.o" "-c" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/sources/wasm-opt-sys/src/lib.rs.cc"
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/f91b73dd4f092038-wasm-opt-main-shim.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/src/wasm-opt-main-shim.cpp"
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-literal.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/literal.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-parsing.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/parsing.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-binary.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-binary.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-debug.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-debug.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-emscripten.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-emscripten.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-interpreter.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-interpreter.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-io.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-io.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-stack.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-stack.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-s-parser.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-s-parser.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-type.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-type.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm-validator.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm-validator.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wasm.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wasm.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wat-lexer.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wat-parser.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-parser.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-bits.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/bits.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-colors.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/colors.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-command-line.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/command-line.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-debug.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/debug.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-file.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/file.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-safe_integer.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/safe_integer.cpp"
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-threads.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/threads.cpp"
  exit status: 0
  cargo:warning=In file included from /.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:25:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:62:3: error: ‘uint64_t’ does not name a type
  cargo:warning=   62 |   uint64_t n;
  cargo:warning=      |   ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:20:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=   19 | #include <iterator>
  cargo:warning=  +++ |+#include <cstdint>
  cargo:warning=   20 | #include <optional>
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:75:17: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=   75 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:75:17: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:75:25: error: template argument 1 is invalid
  cargo:warning=   75 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                         ^
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-utilities.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/utilities.cpp"
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:127:17: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  127 |   std::optional<uint64_t> getU64() const;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:127:17: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:127:25: error: template argument 1 is invalid
  cargo:warning=  127 |   std::optional<uint64_t> getU64() const;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:129:17: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  129 |   std::optional<uint64_t> getI64() const;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:129:17: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:129:25: error: template argument 1 is invalid
  cargo:warning=  129 |   std::optional<uint64_t> getI64() const;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:130:17: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  130 |   std::optional<uint32_t> getU32() const;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:130:17: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:130:25: error: template argument 1 is invalid
  cargo:warning=  130 |   std::optional<uint32_t> getU32() const;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:132:17: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  132 |   std::optional<uint32_t> getI32() const;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:132:17: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wat-lexer.h:132:25: error: template argument 1 is invalid
  cargo:warning=  132 |   std::optional<uint32_t> getI32() const;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:66:3: error: ‘uint8_t’ does not name a type
  cargo:warning=   66 |   uint8_t peek() const { return next()[0]; }
  cargo:warning=      |   ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:26:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=   25 | #include "wat-lexer.h"
  cargo:warning=  +++ |+#include <cstdint>
  cargo:warning=   26 |
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:125:3: error: ‘uint64_t’ does not name a type
  cargo:warning=  125 |   uint64_t n;
  cargo:warning=      |   ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:125:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:135:3: error: ‘uint64_t’ does not name a type
  cargo:warning=  135 |   uint64_t n = 0;
  cargo:warning=      |   ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:135:3: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<wasm::WATParser::{anonymous}::LexIntResult> wasm::WATParser::{anonymous}::LexIntCtx::lexedRaw()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:145:44: error: too many initializers for ‘wasm::WATParser::{anonymous}::LexIntResult’
  cargo:warning=  145 |       return LexIntResult{*basic, 0, NoSign};
  cargo:warning=      |                                            ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<wasm::WATParser::{anonymous}::LexIntResult> wasm::WATParser::{anonymous}::LexIntCtx::lexed()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:155:50: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  155 |       return LexIntResult{*basic, sign == Neg ? -n : n, sign};
  cargo:warning=      |                                                  ^
  cargo:warning=      |                                                  yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘bool wasm::WATParser::{anonymous}::LexIntCtx::takeDigit()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:172:29: error: ‘peek’ was not declared in this scope
  cargo:warning=  172 |       if (auto d = getDigit(peek())) {
  cargo:warning=      |                             ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:174:9: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  174 |         uint64_t newN = n * 10 + *d;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:174:9: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:175:13: error: ‘newN’ was not declared in this scope
  cargo:warning=  175 |         if (newN < n) {
  cargo:warning=      |             ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:175:20: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  175 |         if (newN < n) {
  cargo:warning=      |                    ^
  cargo:warning=      |                    yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:178:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  178 |         n = newN;
  cargo:warning=      |         ^
  cargo:warning=      |         yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:178:13: error: ‘newN’ was not declared in this scope
  cargo:warning=  178 |         n = newN;
  cargo:warning=      |             ^~~~
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/e21be839ccd9b698-istring.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/support/istring.cpp"
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘bool wasm::WATParser::{anonymous}::LexIntCtx::takeHexdigit()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:187:32: error: ‘peek’ was not declared in this scope
  cargo:warning=  187 |       if (auto h = getHexDigit(peek())) {
  cargo:warning=      |                                ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:189:9: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  189 |         uint64_t newN = n * 16 + *h;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:189:9: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:190:13: error: ‘newN’ was not declared in this scope
  cargo:warning=  190 |         if (newN < n) {
  cargo:warning=      |             ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:190:20: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  190 |         if (newN < n) {
  cargo:warning=      |                    ^
  cargo:warning=      |                    yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:193:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  193 |         n = newN;
  cargo:warning=      |         ^
  cargo:warning=      |         yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:193:13: error: ‘newN’ was not declared in this scope
  cargo:warning=  193 |         n = newN;
  cargo:warning=      |             ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘void wasm::WATParser::{anonymous}::LexIntCtx::take(const wasm::WATParser::{anonymous}::LexIntResult&)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:202:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  202 |     n = res.n;
  cargo:warning=      |     ^
  cargo:warning=      |     yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:202:13: error: ‘const struct wasm::WATParser::{anonymous}::LexIntResult’ has no member named ‘n’
  cargo:warning=  202 |     n = res.n;
  cargo:warning=      |             ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:212:17: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  212 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:212:17: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:212:25: error: template argument 1 is invalid
  cargo:warning=  212 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:217:17: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  217 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                 ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:217:17: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:217:25: error: template argument 1 is invalid
  cargo:warning=  217 |   std::optional<uint64_t> nanPayload;
  cargo:warning=      |                         ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:301:22: error: ‘uint64_t’ has not been declared
  cargo:warning=  301 |   bool appendUnicode(uint64_t u) {
  cargo:warning=      |                      ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘void wasm::WATParser::{anonymous}::LexStrCtx::takeChar()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:285:25: error: ‘peek’ was not declared in this scope
  cargo:warning=  285 |       *escapeBuilder << peek();
  cargo:warning=      |                         ^~~~
  exit status: 0
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘bool wasm::WATParser::{anonymous}::LexStrCtx::appendUnicode(int)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:307:25: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  307 |       *escapeBuilder << uint8_t(u);
  cargo:warning=      |                         ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:307:25: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:310:25: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  310 |       *escapeBuilder << uint8_t(0b11000000 | ((u >> 6) & 0b00011111));
  cargo:warning=      |                         ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:310:25: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:314:25: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  314 |       *escapeBuilder << uint8_t(0b11100000 | ((u >> 12) & 0b00001111));
  cargo:warning=      |                         ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:314:25: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:319:25: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  319 |       *escapeBuilder << uint8_t(0b11110000 | ((u >> 18) & 0b00000111));
  cargo:warning=      |                         ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:319:25: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::optional<wasm::WATParser::{anonymous}::LexFloatResult> wasm::WATParser::{anonymous}::float_(std::string_view)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:582:33: error: ‘struct wasm::WATParser::{anonymous}::LexIntResult’ has no member named ‘n’
  cargo:warning=  582 |         ctx.nanPayload = lexed->n;
  cargo:warning=      |                                 ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::optional<wasm::WATParser::{anonymous}::LexResult> wasm::WATParser::{anonymous}::idchar(std::string_view)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:611:3: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  611 |   uint8_t c = ctx.peek();
  cargo:warning=      |   ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:611:3: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:612:15: error: ‘c’ was not declared in this scope
  cargo:warning=  612 |   if (('0' <= c && c <= '9') || ('A' <= c && c <= 'Z') ||
  cargo:warning=      |               ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::optional<wasm::WATParser::{anonymous}::LexStrResult> wasm::WATParser::{anonymous}::str(std::string_view)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:713:39: error: ‘struct wasm::WATParser::{anonymous}::LexIntResult’ has no member named ‘n’
  cargo:warning=  713 |         if (!ctx.appendUnicode(lexed->n)) {
  cargo:warning=      |                                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:725:38: error: ‘struct wasm::WATParser::{anonymous}::LexIntResult’ has no member named ‘n’
  cargo:warning=  725 |         ctx.appendEscaped(char(lexed.n));
  cargo:warning=      |                                      ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:729:11: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  729 |       if (uint8_t c = ctx.peek(); c >= 0x20 && c != 0x7F) {
  cargo:warning=      |           ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:729:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:729:35: error: ‘c’ was not declared in this scope
  cargo:warning=  729 |       if (uint8_t c = ctx.peek(); c >= 0x20 && c != 0x7F) {
  cargo:warning=      |                                   ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::optional<wasm::WATParser::{anonymous}::LexResult> wasm::WATParser::{anonymous}::keyword(std::string_view)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:752:3: error: ‘uint8_t’ was not declared in this scope
  cargo:warning=  752 |   uint8_t start = ctx.peek();
  cargo:warning=      |   ^~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:752:3: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:753:14: error: ‘start’ was not declared in this scope; did you mean ‘str’?
  cargo:warning=  753 |   if ('a' <= start && start <= 'z') {
  cargo:warning=      |              ^~~~~
  cargo:warning=      |              str
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:766:15: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  766 | std::optional<uint64_t> Token::getU64() const {
  cargo:warning=      |               ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:766:15: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:766:23: error: template argument 1 is invalid
  cargo:warning=  766 | std::optional<uint64_t> Token::getU64() const {
  cargo:warning=      |                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘int wasm::WATParser::Token::getU64() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:769:19: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  769 |       return tok->n;
  cargo:warning=      |                   ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<long int> wasm::WATParser::Token::getS64() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:778:20: error: ‘INT64_MIN’ was not declared in this scope
  cargo:warning=  778 |       if (uint64_t(INT64_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                    ^~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:778:11: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  778 |       if (uint64_t(INT64_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |           ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:778:11: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:778:39: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  778 |       if (uint64_t(INT64_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:778:49: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  778 |       if (uint64_t(INT64_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                                                 ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:779:29: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  779 |         return int64_t(tok->n);
  cargo:warning=      |                             ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:783:16: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  783 |       if (tok->n <= uint64_t(INT64_MAX)) {
  cargo:warning=      |                ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:783:30: error: ‘INT64_MAX’ was not declared in this scope
  cargo:warning=  783 |       if (tok->n <= uint64_t(INT64_MAX)) {
  cargo:warning=      |                              ^~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:783:30: note: ‘INT64_MAX’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:783:21: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  783 |       if (tok->n <= uint64_t(INT64_MAX)) {
  cargo:warning=      |                     ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:783:21: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:784:29: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  784 |         return int64_t(tok->n);
  cargo:warning=      |                             ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:792:15: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  792 | std::optional<uint64_t> Token::getI64() const {
  cargo:warning=      |               ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:792:15: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:792:23: error: template argument 1 is invalid
  cargo:warning=  792 | std::optional<uint64_t> Token::getI64() const {
  cargo:warning=      |                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘int wasm::WATParser::Token::getI64() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:794:12: error: invalid type argument of unary ‘*’ (have ‘int’)
  cargo:warning=  794 |     return *n;
  cargo:warning=      |            ^~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:802:15: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  802 | std::optional<uint32_t> Token::getU32() const {
  cargo:warning=      |               ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:802:15: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:802:23: error: template argument 1 is invalid
  cargo:warning=  802 | std::optional<uint32_t> Token::getU32() const {
  cargo:warning=      |                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘int wasm::WATParser::Token::getU32() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:804:37: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  804 |     if (tok->sign == NoSign && tok->n <= UINT32_MAX) {
  cargo:warning=      |                                     ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:804:42: error: ‘UINT32_MAX’ was not declared in this scope
  cargo:warning=  804 |     if (tok->sign == NoSign && tok->n <= UINT32_MAX) {
  cargo:warning=      |                                          ^~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:804:42: note: ‘UINT32_MAX’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:805:27: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  805 |       return int32_t(tok->n);
  cargo:warning=      |                           ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<int> wasm::WATParser::Token::getS32() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:815:20: error: ‘INT32_MIN’ was not declared in this scope
  cargo:warning=  815 |       if (uint64_t(INT32_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                    ^~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:815:11: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  815 |       if (uint64_t(INT32_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |           ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:815:11: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:815:39: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  815 |       if (uint64_t(INT32_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:815:49: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  815 |       if (uint64_t(INT32_MIN) <= tok->n || tok->n == 0) {
  cargo:warning=      |                                                 ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:816:29: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  816 |         return int32_t(tok->n);
  cargo:warning=      |                             ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:819:16: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  819 |       if (tok->n <= uint64_t(INT32_MAX)) {
  cargo:warning=      |                ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:819:30: error: ‘INT32_MAX’ was not declared in this scope
  cargo:warning=  819 |       if (tok->n <= uint64_t(INT32_MAX)) {
  cargo:warning=      |                              ^~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:819:30: note: ‘INT32_MAX’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:819:21: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  819 |       if (tok->n <= uint64_t(INT32_MAX)) {
  cargo:warning=      |                     ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:819:21: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:820:29: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  820 |         return int32_t(tok->n);
  cargo:warning=      |                             ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:827:15: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  827 | std::optional<uint32_t> Token::getI32() const {
  cargo:warning=      |               ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:827:15: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:827:23: error: template argument 1 is invalid
  cargo:warning=  827 | std::optional<uint32_t> Token::getI32() const {
  cargo:warning=      |                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘int wasm::WATParser::Token::getI32() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:829:12: error: invalid type argument of unary ‘*’ (have ‘int’)
  cargo:warning=  829 |     return *n;
  cargo:warning=      |            ^~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:832:12: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  832 |     return uint32_t(*n);
  cargo:warning=      |            ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:832:12: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<double> wasm::WATParser::Token::getF64() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:839:13: error: ‘uint64_t’ does not name a type
  cargo:warning=  839 |   constexpr uint64_t payloadMask = (1ull << signif) - 1;
  cargo:warning=      |             ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:839:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:840:13: error: ‘uint64_t’ does not name a type
  cargo:warning=  840 |   constexpr uint64_t nanDefault = 1ull << (signif - 1);
  cargo:warning=      |             ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:840:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:845:7: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  845 |       uint64_t payload = tok->nanPayload ? *tok->nanPayload : nanDefault;
  cargo:warning=      |       ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:845:7: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:846:11: error: ‘payload’ was not declared in this scope; did you mean ‘setpayload’?
  cargo:warning=  846 |       if (payload == 0 || payload > payloadMask) {
  cargo:warning=      |           ^~~~~~~
  cargo:warning=      |           setpayload
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:846:37: error: ‘payloadMask’ was not declared in this scope
  cargo:warning=  846 |       if (payload == 0 || payload > payloadMask) {
  cargo:warning=      |                                     ^~~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:850:15: error: expected ‘;’ before ‘bits’
  cargo:warning=  850 |       uint64_t bits;
  cargo:warning=      |               ^~~~~
  cargo:warning=      |               ;
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:851:28: error: ‘bits’ was not declared in this scope
  cargo:warning=  851 |       static_assert(sizeof(bits) == sizeof(d));
  cargo:warning=      |                            ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:853:23: error: ‘payloadMask’ was not declared in this scope
  cargo:warning=  853 |       bits = (bits & ~payloadMask) | payload;
  cargo:warning=      |                       ^~~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:853:38: error: ‘payload’ was not declared in this scope; did you mean ‘setpayload’?
  cargo:warning=  853 |       bits = (bits & ~payloadMask) | payload;
  cargo:warning=      |                                      ^~~~~~~
  cargo:warning=      |                                      setpayload
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:860:16: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  860 |       if (tok->n == 0) {
  cargo:warning=      |                ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:863:34: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  863 |       return double(int64_t(tok->n));
  cargo:warning=      |                                  ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:865:24: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  865 |     return double(tok->n);
  cargo:warning=      |                        ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:838:17: warning: unused variable ‘signif’ [-Wunused-variable]
  cargo:warning=  838 |   constexpr int signif = 52;
  cargo:warning=      |                 ^~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘std::optional<float> wasm::WATParser::Token::getF32() const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:872:13: error: ‘uint32_t’ does not name a type
  cargo:warning=  872 |   constexpr uint32_t payloadMask = (1u << signif) - 1;
  cargo:warning=      |             ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:872:13: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:873:13: error: ‘uint64_t’ does not name a type
  cargo:warning=  873 |   constexpr uint64_t nanDefault = 1ull << (signif - 1);
  cargo:warning=      |             ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:873:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:878:7: error: ‘uint64_t’ was not declared in this scope
  cargo:warning=  878 |       uint64_t payload = tok->nanPayload ? *tok->nanPayload : nanDefault;
  cargo:warning=      |       ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:878:7: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:879:11: error: ‘payload’ was not declared in this scope; did you mean ‘setpayload’?
  cargo:warning=  879 |       if (payload == 0 || payload > payloadMask) {
  cargo:warning=      |           ^~~~~~~
  cargo:warning=      |           setpayload
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:879:37: error: ‘payloadMask’ was not declared in this scope
  cargo:warning=  879 |       if (payload == 0 || payload > payloadMask) {
  cargo:warning=      |                                     ^~~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:883:7: error: ‘uint32_t’ was not declared in this scope
  cargo:warning=  883 |       uint32_t bits;
  cargo:warning=      |       ^~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:883:7: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:884:28: error: ‘bits’ was not declared in this scope
  cargo:warning=  884 |       static_assert(sizeof(bits) == sizeof(f));
  cargo:warning=      |                            ^~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:886:23: error: ‘payloadMask’ was not declared in this scope
  cargo:warning=  886 |       bits = (bits & ~payloadMask) | payload;
  cargo:warning=      |                       ^~~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:886:38: error: ‘payload’ was not declared in this scope; did you mean ‘setpayload’?
  cargo:warning=  886 |       bits = (bits & ~payloadMask) | payload;
  cargo:warning=      |                                      ^~~~~~~
  cargo:warning=      |                                      setpayload
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:893:16: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  893 |       if (tok->n == 0) {
  cargo:warning=      |                ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:896:33: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  896 |       return float(int64_t(tok->n));
  cargo:warning=      |                                 ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:898:23: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  898 |     return float(tok->n);
  cargo:warning=      |                       ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:871:17: warning: unused variable ‘signif’ [-Wunused-variable]
  cargo:warning=  871 |   constexpr int signif = 23;
  cargo:warning=      |                 ^~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘void wasm::WATParser::Lexer::lexToken()’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:929:36: error: ‘struct wasm::WATParser::{anonymous}::LexIntResult’ has no member named ‘n’
  cargo:warning=  929 |     tok = Token{t->span, IntTok{t->n, t->sign}};
  cargo:warning=      |                                    ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In member function ‘bool wasm::WATParser::IntTok::operator==(const wasm::WATParser::IntTok&) const’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:964:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  cargo:warning=  964 |   return n == other.n && sign == other.sign;
  cargo:warning=      |          ^
  cargo:warning=      |          yn
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:964:21: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning=  964 |   return n == other.n && sign == other.sign;
  cargo:warning=      |                     ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::ostream& wasm::WATParser::operator<<(std::ostream&, const IntTok&)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:1002:76: error: ‘const struct wasm::WATParser::IntTok’ has no member named ‘n’
  cargo:warning= 1002 |   return os << (tok.sign == Pos ? "+" : tok.sign == Neg ? "-" : "") << tok.n;
  cargo:warning=      |                                                                            ^
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: In function ‘std::ostream& wasm::WATParser::operator<<(std::ostream&, const FloatTok&)’:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:1009:44: error: invalid type argument of unary ‘*’ (have ‘int’)
  cargo:warning= 1009 |       return os << "nan:0x" << std::hex << *tok.nanPayload << std::dec;
  cargo:warning=      |                                            ^~~~~~~~~~~~~~~
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/d268fd637ef31c7b-drop.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/ir/drop.cpp"
  exit status: 0
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/d268fd637ef31c7b-eh-utils.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/ir/eh-utils.cpp"
  exit status: 0
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp: At global scope:
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:110:20: warning: ‘std::optional<int> wasm::WATParser::{anonymous}::getHexDigit(char)’ defined but not used [-Wunused-function]
  cargo:warning=  110 | std::optional<int> getHexDigit(char c) {
  cargo:warning=      |                    ^~~~~~~~~~~
  cargo:warning=/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp:103:20: warning: ‘std::optional<int> wasm::WATParser::{anonymous}::getDigit(char)’ defined but not used [-Wunused-function]
  cargo:warning=  103 | std::optional<int> getDigit(char c) {
  cargo:warning=      |                    ^~~~~~~~
  exit status: 0
  exit status: 1
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/d268fd637ef31c7b-ExpressionManipulator.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/ir/ExpressionManipulator.cpp"
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0

  --- stderr

  CXX include path:
    /polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include
    /polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate
    /.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src
    /.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools
    /polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out


  error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/include" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/cxxbridge/crate" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src" "-I" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/tools" "-I" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out" "-Wall" "-Wextra" "-std=c++17" "-Wno-unused-parameter" "-DTHROW_ON_FATAL" "-o" "/polkadot/target/debug/build/wasm-opt-sys-e54c8b1064f8aabf/out/da5433d79caf8960-wat-lexer.o" "-c" "/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-opt-sys-0.111.0/binaryen/src/wasm/wat-lexer.cpp" with args "c++" did not execute successfully (status code exit status: 1).
@brson
Copy link
Owner

brson commented May 4, 2023

Thanks for the report.

I see that this build is using wasm-opt 0.111.0, and the current version of wasm-opt is 0.112.0. Upstream Binaryen landed a pr to fix gcc 13 compilation in January (WebAssembly/binaryen#5458), and I suspect that is included in version 112.

So upgrading wasm-opt to 112 might fix it, though I have not tested.

It looks like you might be doing a substrate build. There is an existing PR to upgrade substrate to wasm-opt 0.112.0 (paritytech/substrate#13574) but it was not merged and eventually closed stale.

I'll see if I can get a local build of gcc 13 to test, re-open that substrate pr, and think about cherry-picking the binaryen fix into a point release of 0.111.0.

@niklasad1
Copy link
Author

Thanks, bumping wasm-opt 0.112 does indeed work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants