eliias / isorun

Run JavaScript applications embedded in your Rails application.
https://eliias.github.io/isorun
MIT License
42 stars 0 forks source link

Native extensions don't build on M1 Mac #171

Closed ArsalanDotMe closed 1 year ago

ArsalanDotMe commented 1 year ago

FYI, I just cannot get this library to install on an M1 Mac.

Here's the output of bundler:

Removing gems from /Users/arsalan/code/jsonserver/Gemfile
isorun (~> 0.1.12) was removed.
Using rake 13.0.6
Using concurrent-ruby 1.2.2
Using i18n 1.14.1
Using minitest 5.19.0
Using tzinfo 2.0.6
Using activesupport 7.0.7
Using builder 3.2.4
Using erubi 1.12.0
Using racc 1.7.1
Using nokogiri 1.15.4 (arm64-darwin)
Using rails-dom-testing 2.2.0
Using crass 1.0.6
Using loofah 2.21.3
Using rails-html-sanitizer 1.6.0
Using actionview 7.0.7
Using rack 2.2.8
Using rack-test 2.1.0
Using actionpack 7.0.7
Using nio4r 2.5.9
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.6
Using actioncable 7.0.7
Using globalid 1.1.0
Using activejob 7.0.7
Using activemodel 7.0.7
Using activerecord 7.0.7
Using marcel 1.0.2
Using mini_mime 1.1.5
Using activestorage 7.0.7
Using date 3.3.3
Using timeout 0.4.0
Using net-protocol 0.2.1
Using net-imap 0.3.7
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using mail 2.8.1
Using actionmailbox 7.0.7
Using actionmailer 7.0.7
Using actiontext 7.0.7
Using public_suffix 5.0.3
Using addressable 2.8.5
Using execjs 2.8.1
Using autoprefixer-rails 10.4.13.0
Using bindex 0.8.1
Using msgpack 1.7.2
Using bootsnap 1.16.0
Using popper_js 2.11.8
Using method_source 1.0.0
Using thor 1.2.2
Using zeitwerk 2.6.11
Using railties 7.0.7
Using ffi 1.15.5
Using sassc 2.4.0
Using sprockets 4.2.0
Using sprockets-rails 3.4.2
Using tilt 2.2.0
Using sassc-rails 2.1.2
Using bootstrap 5.3.1
Using bundler 2.4.7
Using matrix 0.4.2
Using regexp_parser 2.8.1
Using xpath 3.2.0
Using capybara 3.39.2
Using io-console 0.6.0
Using reline 0.3.7
Using irb 1.7.4
Using debug 1.8.0
Using htmlbeautifier 1.4.2
Using mini_magick 4.12.0
Using ruby-vips 2.1.4
Using image_processing 1.12.2
Using importmap-rails 1.2.1
Using jbuilder 2.11.5
Using puma 5.6.7
Using rails 7.0.7
Using random_username 1.1.3
Using redis 4.8.1
Using rexml 3.2.6
Using rubyzip 2.3.2
Using websocket 1.2.9
Using selenium-webdriver 4.10.0
Using sqlite3 1.6.3 (arm64-darwin)
Using stimulus-rails 1.2.2
Using turbo-rails 1.4.0
Using web-console 4.2.0
Using webdrivers 5.3.1
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.2.2
Using builder 3.2.4
Using erubi 1.12.0
Using racc 1.7.1
Using crass 1.0.6
Using execjs 2.8.1
Using bindex 0.8.1
Using msgpack 1.7.2
Using popper_js 2.11.8
Using mini_mime 1.1.5
Using nio4r 2.5.9
Using zeitwerk 2.6.11
Using timeout 0.4.0
Using tilt 2.2.0
Using minitest 5.19.0
Using matrix 0.4.2
Using regexp_parser 2.8.1
Using io-console 0.6.0
Using htmlbeautifier 1.4.2
Using thor 1.2.2
Using rb_sys 0.9.81
Using mini_magick 4.12.0
Using redis 4.8.1
Using rexml 3.2.6
Using rubyzip 2.3.2
Using ffi 1.15.5
Using marcel 1.0.2
Using random_username 1.1.3
Using sqlite3 1.6.3 (arm64-darwin)
Using i18n 1.14.1
Using rack 2.2.8
Using nokogiri 1.15.4 (arm64-darwin)
Using autoprefixer-rails 10.4.13.0
Using method_source 1.0.0
Using puma 5.6.7
Using loofah 2.21.3
Using rack-test 2.1.0
Using sassc 2.4.0
Using websocket 1.2.9
Using sprockets 4.2.0
Using net-protocol 0.2.1
Using reline 0.3.7
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using tzinfo 2.0.6
Using irb 1.7.4
Using websocket-extensions 0.1.5
Using debug 1.8.0
Using xpath 3.2.0
Using selenium-webdriver 4.10.0
Using websocket-driver 0.7.6
Using ruby-vips 2.1.4
Using bootsnap 1.16.0
Using rails-html-sanitizer 1.6.0
Using image_processing 1.12.2
Using bundler 2.4.7
Using public_suffix 5.0.3
Using activesupport 7.0.7
Using addressable 2.8.5
Using webdrivers 5.3.1
Using date 3.3.3
Using globalid 1.1.0
Using activemodel 7.0.7
Using capybara 3.39.2
Using rails-dom-testing 2.2.0
Using activerecord 7.0.7
Using activejob 7.0.7
Using net-imap 0.3.7
Using actionview 7.0.7
Using mail 2.8.1
Using actionpack 7.0.7
Using jbuilder 2.11.5
Using activestorage 7.0.7
Using actionmailer 7.0.7
Using railties 7.0.7
Using sprockets-rails 3.4.2
Using actioncable 7.0.7
Using actionmailbox 7.0.7
Using actiontext 7.0.7
Using importmap-rails 1.2.1
Using stimulus-rails 1.2.2
Using turbo-rails 1.4.0
Using web-console 4.2.0
Using sassc-rails 2.1.2
Using rails 7.0.7
Using bootstrap 5.3.1
Installing isorun 0.1.12 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isorun-0.1.12/ext/isorun
/Users/arsalan/.asdf/installs/ruby/3.1.2/bin/ruby -I /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0 -r ./siteconf20230902-50430-21jzom.rb
extconf.rb
checking for clang... yes
checking for clang++... yes
checking for ar... yes
checking for cargo... yes

current directory: /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isorun-0.1.12/ext/isorun
make DESTDIR\= clean

current directory: /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isorun-0.1.12/ext/isorun
make DESTDIR\=
generating target/release/libisorun.dylib (release)
cargo rustc  --manifest-path ./Cargo.toml --target-dir target --lib --profile release -- -C linker=clang -L
native=/Users/arsalan/.asdf/installs/ruby/3.1.2/lib -L native=/Users/arsalan/.asdf/installs/ruby/3.1.2/lib -C
link-arg=-Wl,-undefined,dynamic_lookup -C link-arg=-Wl,-multiply_defined,suppress
    Updating crates.io index
    Updating git repository `https://github.com/eliias/magnus`
warning: skipping duplicate package `ahriman` found at
`/Users/arsalan/.cargo/git/checkouts/magnus-334e8d1c61b42a7e/fdfc70b/examples/custom_exception_ruby/ext/ahriman`
 Downloading crates ...
  Downloaded block-buffer v0.9.0
  Downloaded cache_control v0.2.0
  Downloaded block-modes v0.9.1
  Downloaded darling_macro v0.13.4
  Downloaded deno_webidl v0.98.0
  Downloaded displaydoc v0.2.4
  Downloaded deno_tls v0.85.0
  Downloaded deno_broadcast_channel v0.92.0
  Downloaded netif v0.1.6
  Downloaded peeking_take_while v0.1.2
  Downloaded deno_cache v0.30.0
  Downloaded debugid v0.8.0
  Downloaded spin v0.5.2
  Downloaded serde_bytes v0.11.12
  Downloaded memmem v0.1.1
  Downloaded swc_ecma_transforms_macros v0.5.0
  Downloaded outref v0.5.1
  Downloaded oid-registry v0.6.1
  Downloaded sha-1 v0.10.0
  Downloaded swc_ecma_transforms_classes v0.111.3
  Downloaded swc_ecma_codegen_macros v0.7.1
  Downloaded siphasher v0.3.11
  Downloaded pmutil v0.5.3
  Downloaded swc_config_macro v0.1.2
  Downloaded cexpr v0.6.0
  Downloaded cipher v0.4.4
  Downloaded byteorder v1.4.3
  Downloaded cbc v0.1.2
  Downloaded console_static_text v0.8.1
  Downloaded block-padding v0.3.3
  Downloaded crypto-common v0.1.6
  Downloaded ident_case v1.0.1
  Downloaded deno_napi v0.28.0
  Downloaded data-encoding v2.4.0
  Downloaded convert_case v0.4.0
  Downloaded futures-task v0.3.28
  Downloaded sha-1 v0.9.8
  Downloaded darling v0.13.4
  Downloaded deno_io v0.8.0
  Downloaded want v0.3.1
  Downloaded deno_webstorage v0.93.0
  Downloaded data-url v0.2.0
  Downloaded string_enum v0.3.4
  Downloaded hostname v0.3.1
  Downloaded pkg-config v0.3.27
  Downloaded sha2 v0.10.7
  Downloaded digest v0.8.1
  Downloaded deno_fs v0.8.0
  Downloaded ctr v0.9.2
  Downloaded proc-macro-hack v0.5.20+deprecated
  Downloaded inout v0.1.3
  Downloaded spki v0.6.0
  Downloaded ff v0.12.1
  Downloaded slab v0.4.9
  Downloaded pem-rfc7468 v0.6.0
  Downloaded swc_atoms v0.4.39
  Downloaded static_assertions v1.1.0
  Downloaded swc_ecma_transforms_proposal v0.156.4
  Downloaded stacker v0.1.15
  Downloaded stable_deref_trait v1.2.0
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded strsim v0.10.0
  Downloaded unic-ucd-version v0.9.0
  Downloaded smartstring v1.0.1
  Downloaded filetime v0.2.22
  Downloaded swc_ecma_loader v0.41.39
  Downloaded string_cache_codegen v0.5.2
  Downloaded parking_lot_core v0.9.8
  Downloaded security-framework-sys v2.9.1
  Downloaded cfg-if v1.0.0
  Downloaded rusticata-macros v4.1.0
  Downloaded md-5 v0.10.5
  Downloaded core-foundation v0.9.3
  Downloaded dyn-clone v1.0.13
  Downloaded dlopen v0.1.8
  Downloaded crc32fast v1.3.2
  Downloaded deno_http v0.93.0
  Downloaded new_debug_unreachable v1.0.4
  Downloaded pkcs8 v0.9.0
  Downloaded core-foundation-sys v0.8.4
  Downloaded socket2 v0.4.9
  Downloaded serde_v8 v0.91.0
  Downloaded rand_chacha v0.3.1
  Downloaded pin-utils v0.1.0
  Downloaded httparse v1.8.0
  Downloaded swc_ecma_transforms_react v0.167.4
  Downloaded sourcemap v6.4.1
  Downloaded subtle v2.5.0
  Downloaded serde_urlencoded v0.7.1
  Downloaded swc_ecma_ast v0.100.1
  Downloaded md4 v0.10.2
  Downloaded equivalent v1.0.1
  Downloaded clang-sys v1.6.1
  Downloaded crypto-bigint v0.4.9
  Downloaded ecb v0.1.1
  Downloaded der-parser v8.2.0
  Downloaded proc-macro-crate v1.3.1
  Downloaded pkcs1 v0.4.1
  Downloaded digest v0.9.0
  Downloaded serde_derive v1.0.188
  Downloaded fsevent-sys v4.1.0
  Downloaded futures-sink v0.3.28
  Downloaded bytes v1.4.0
  Downloaded darling_core v0.13.4
  Downloaded base16ct v0.1.1
  Downloaded simdutf8 v0.1.4
  Downloaded rustc-hash v1.1.0
  Downloaded dprint-swc-ext v0.8.0
  Downloaded aes-gcm v0.10.2
  Downloaded scoped-tls v1.0.1
  Downloaded linked-hash-map v0.5.6
  Downloaded fly-accept-encoding v0.2.0
  Downloaded der v0.6.1
  Downloaded form_urlencoded v1.1.0
  Downloaded crossbeam-utils v0.8.16
  Downloaded swc_ecma_transforms_base v0.122.3
  Downloaded security-framework v2.9.2
  Downloaded quick-error v1.2.3
  Downloaded bumpalo v3.13.0
  Downloaded quote v0.6.13
  Downloaded deno_kv v0.6.0
  Downloaded cpufeatures v0.2.9
  Downloaded keccak v0.1.4
  Downloaded asn1-rs-impl v0.1.0
  Downloaded alloc-stdlib v0.2.2
  Downloaded either v1.9.0
  Downloaded smallvec v1.11.0
  Downloaded signal-hook-registry v1.4.1
  Downloaded deno_fetch v0.122.0
  Downloaded http v0.2.9
  Downloaded crossbeam-channel v0.5.8
  Downloaded lru-cache v0.1.2
  Downloaded trust-dns-resolver v0.22.0
  Downloaded swc_common v0.29.37
  Downloaded deno_net v0.90.0
  Downloaded lexical v6.1.1
  Downloaded swc_visit v0.5.7
  Downloaded pathdiff v0.2.1
  Downloaded semver v0.9.0
  Downloaded deno_ops v0.58.0
  Downloaded libffi v3.2.0
  Downloaded dynasmrt v1.2.3
  Downloaded ipnet v2.8.0
  Downloaded deranged v0.3.8
  Downloaded deno_websocket v0.103.0
  Downloaded match_cfg v0.1.0
  Downloaded hex v0.4.3
  Downloaded serde_json v1.0.105
  Downloaded rb-sys-build v0.9.81
  Downloaded fnv v1.0.7
  Downloaded ecdsa v0.14.8
  Downloaded phf_shared v0.10.0
  Downloaded deno_url v0.98.0
  Downloaded lock_api v0.4.10
  Downloaded x25519-dalek v2.0.0
  Downloaded termcolor v1.2.0
  Downloaded rustls-native-certs v0.6.3
  Downloaded enum-as-inner v0.5.1
  Downloaded pin-project-internal v1.1.3
  Downloaded fs3 v0.5.0
  Downloaded fallible-streaming-iterator v0.1.9
  Downloaded aes v0.8.2
  Downloaded serde-value v0.7.0
  Downloaded pmutil v0.6.1
  Downloaded futures-core v0.3.28
  Downloaded Inflector v0.11.4
  Downloaded brotli-decompressor v2.3.4
  Downloaded p256 v0.11.1
  Downloaded precomputed-hash v0.1.1
  Downloaded matches v0.1.10
  Downloaded unicode-width v0.1.10
  Downloaded libloading v0.7.4
  Downloaded percent-encoding v2.2.0
  Downloaded notify v5.0.0
  Downloaded httpdate v1.0.3
  Downloaded indexmap v2.0.0
  Downloaded swc_ecma_codegen v0.135.2
  Downloaded rustc_version v0.4.0
  Downloaded deno_crypto v0.112.0
  Downloaded futures v0.3.28
  Downloaded text_lines v0.6.0
  Downloaded heck v0.4.1
  Downloaded tinyvec_macros v0.1.1
  Downloaded unic-common v0.9.0
  Downloaded phf_generator v0.10.0
  Downloaded is-macro v0.2.2
  Downloaded futures-io v0.3.28
  Downloaded phf_macros v0.10.0
  Downloaded try-lock v0.2.4
  Downloaded memoffset v0.6.5
  Downloaded polyval v0.6.1
  Downloaded serde_repr v0.1.9
  Downloaded unicode-xid v0.2.4
  Downloaded zeroize v1.6.0
  Downloaded base64ct v1.6.0
  Downloaded base64-simd v0.8.0
  Downloaded utf8parse v0.2.1
  Downloaded signature v1.6.4
  Downloaded rustc_version v0.2.3
  Downloaded hashbrown v0.12.3
  Downloaded enum_kind v0.2.2
  Downloaded triomphe v0.1.9
  Downloaded bindgen v0.66.1
  Downloaded fallible-iterator v0.2.0
  Downloaded lexical-parse-integer v0.8.6
  Downloaded http-body v0.4.5
  Downloaded lazycell v1.3.0
  Downloaded lazy_static v1.4.0
  Downloaded utf-8 v0.7.6
  Downloaded hyper-rustls v0.24.1
  Downloaded which v4.4.0
  Downloaded tokio-tungstenite v0.16.1
  Downloaded ast_node v0.8.8
  Downloaded alloc-no-stdlib v2.0.4
  Downloaded const-oid v0.9.5
  Downloaded curve25519-dalek v4.0.0
  Downloaded group v0.12.1
  Downloaded uuid v1.4.1
  Downloaded rfc6979 v0.3.1
  Downloaded ppv-lite86 v0.2.17
  Downloaded opaque-debug v0.3.0
  Downloaded tinyvec v1.6.0
  Downloaded rand_core v0.6.4
  Downloaded unic-char-property v0.9.0
  Downloaded autocfg v1.1.0
  Downloaded platforms v3.1.2
  Downloaded hashlink v0.8.4
  Downloaded futures-executor v0.3.28
  Downloaded sha1 v0.10.5
  Downloaded ripemd v0.1.3
  Downloaded rand_core v0.5.1
  Downloaded proc-macro-error v1.0.4
  Downloaded tracing-core v0.1.31
  Downloaded if_chain v1.0.2
  Downloaded anyhow v1.0.75
  Downloaded getrandom v0.2.10
  Downloaded semver v1.0.18
  Downloaded digest v0.10.7
  Downloaded base64 v0.13.1
  Downloaded serde v1.0.188
  Downloaded universal-hash v0.5.1
  Downloaded string_cache v0.8.7
  Downloaded rustls-pemfile v1.0.3
  Downloaded typenum v1.16.0
  Downloaded h2 v0.3.21
  Downloaded deno_console v0.98.0
  Downloaded swc_macros_common v0.3.8
  Downloaded deno_ast v0.25.0
  Downloaded tokio-rustls v0.24.1
  Downloaded tokio-rustls v0.23.4
  Downloaded time-macros v0.2.14
  Downloaded urlpattern v0.2.0
  Downloaded unicode-id v0.3.3
  Downloaded better_scoped_tls v0.1.1
  Downloaded pin-project-lite v0.2.13
  Downloaded aho-corasick v1.0.5
  Downloaded path-clean v0.1.0
  Downloaded async-compression v0.4.2
  Downloaded pin-project v1.1.3
  Downloaded vte v0.11.1
  Downloaded p384 v0.11.2
  Downloaded block-buffer v0.10.4
  Downloaded num-iter v0.1.43
  Downloaded unicode-xid v0.1.0
  Downloaded ghash v0.5.0
  Downloaded scopeguard v1.2.0
  Downloaded shell-words v1.1.0
  Downloaded synstructure v0.12.6
  Downloaded resolv-conf v0.7.0
  Downloaded untrusted v0.7.1
  Downloaded bitflags v2.4.0
  Downloaded getrandom v0.1.16
  Downloaded swc_config v0.1.7
  Downloaded aead v0.5.2
  Downloaded ordered-float v2.10.0
  Downloaded unicode-ident v1.0.11
  Downloaded hashbrown v0.14.0
  Downloaded generic-array v0.12.4
  Downloaded vte_generate_state_changes v0.1.1
  Downloaded swc_eq_ignore_macros v0.1.2
  Downloaded unicode-normalization v0.1.22
  Downloaded shlex v1.1.0
  Downloaded from_variant v0.1.6
  Downloaded aes-kw v0.2.1
  Downloaded swc_ecma_utils v0.113.3
  Downloaded unic-char-range v0.9.0
  Downloaded phf v0.10.1
  Downloaded swc_ecma_visit v0.86.1
  Downloaded syn v1.0.109
  Downloaded time-core v0.1.1
  Downloaded deno_ffi v0.85.0
  Downloaded fslock v0.1.8
  Downloaded cc v1.0.83
  Downloaded tokio-stream v0.1.14
  Downloaded ahash v0.7.6
  Downloaded asn1-rs-derive v0.4.0
  Downloaded atty v0.2.14
  Downloaded swc_ecma_parser v0.130.2
  Downloaded webpki-roots v0.25.2
  Downloaded log v0.4.17
  Downloaded memchr v2.6.3
  Downloaded vsimd v0.8.0
  Downloaded pbkdf2 v0.12.2
  Downloaded tracing-attributes v0.1.26
  Downloaded minimal-lexical v0.2.1
  Downloaded unic-ucd-ident v0.9.0
  Downloaded url v2.3.1
  Downloaded toml_datetime v0.6.3
  Downloaded walkdir v2.3.3
  Downloaded x509-parser v0.15.1
  Downloaded base64 v0.21.3
  Downloaded winnow v0.5.15
  Downloaded hkdf v0.12.3
  Downloaded async-compression v0.3.15
  Downloaded tracing v0.1.37
  Downloaded lexical-write-float v0.8.5
  Downloaded tokio-util v0.7.8
  Downloaded deno_node v0.35.0
  Downloaded curve25519-dalek v2.1.3
  Downloaded reqwest v0.11.20
  Downloaded dlopen_derive v0.1.4
  Downloaded time v0.3.28
  Downloaded syn v0.15.44
  Downloaded webpki-roots v0.22.6
  Downloaded quote v1.0.33
  Downloaded proc-macro2 v1.0.66
  Downloaded psm v0.1.21
  Downloaded regex-automata v0.3.8
  Downloaded swc_visit_macros v0.5.8
  Downloaded num-integer v0.1.45
  Downloaded sha3 v0.10.8
  Downloaded proc-macro2 v0.4.30
  Downloaded once_cell v1.18.0
  Downloaded brotli v3.3.4
  Downloaded num_cpus v1.16.0
  Downloaded tower-service v0.3.2
  Downloaded swc_ecma_transforms_typescript v0.171.4
  Downloaded lexical-write-integer v0.8.5
  Downloaded seq-macro v0.3.5
  Downloaded lexical-core v0.8.5
  Downloaded zeroize_derive v1.4.2
  Downloaded adler v1.0.2
  Downloaded dashmap v5.5.3
  Downloaded futures-macro v0.3.28
  Downloaded ryu v1.0.15
  Downloaded elliptic-curve v0.12.3
  Downloaded mime v0.3.17
  Downloaded tokio-macros v1.8.2
  Downloaded parking_lot v0.12.1
  Downloaded typed-arena v2.0.2
  Downloaded arrayvec v0.7.4
  Downloaded rb-sys-env v0.1.2
  Downloaded semver-parser v0.7.0
  Downloaded deno_core v0.180.0
  Downloaded tokio-socks v0.5.1
  Downloaded async-trait v0.1.73
  Downloaded generic-array v0.14.7
  Downloaded bitflags v1.3.2
  Downloaded num-traits v0.2.16
  Downloaded same-file v1.0.6
  Downloaded itoa v1.0.9
  Downloaded indexmap v1.9.3
  Downloaded hmac v0.12.1
  Downloaded webpki v0.22.1
  Downloaded thiserror v1.0.47
  Downloaded sec1 v0.3.0
  Downloaded thiserror-impl v1.0.47
  Downloaded glob v0.3.1
  Downloaded derive_more v0.99.17
  Downloaded memmap2 v0.5.10
  Downloaded sct v0.7.0
  Downloaded rb-sys v0.9.81
  Downloaded ahash v0.8.3
  Downloaded version_check v0.9.4
  Downloaded flate2 v1.0.24
  Downloaded deno_web v0.129.0
  Downloaded futures-channel v0.3.28
  Downloaded rsa v0.7.2
  Downloaded miniz_oxide v0.5.4
  Downloaded lexical-util v0.8.5
  Downloaded fastwebsockets v0.1.3
  Downloaded unicode-bidi v0.3.13
  Downloaded tungstenite v0.16.0
  Downloaded dynasm v1.2.3
  Downloaded num-bigint v0.4.4
  Downloaded allocator-api2 v0.2.16
  Downloaded rand v0.8.5
  Downloaded deno_runtime v0.106.0
  Downloaded itertools v0.10.5
  Downloaded nom v7.1.3
  Downloaded libm v0.2.7
  Downloaded asn1-rs v0.5.2
  Downloaded toml_edit v0.19.14
  Downloaded mio v0.8.8
  Downloaded num-bigint-dig v0.8.4
  Downloaded rustls-webpki v0.101.4
  Downloaded lexical-parse-float v0.8.5
  Downloaded futures-util v0.3.28
  Downloaded rusqlite v0.28.0
  Downloaded syn v2.0.29
  Downloaded hyper v0.14.27
  Downloaded rustls v0.20.9
  Downloaded idna v0.2.3
  Downloaded vcpkg v0.2.15
  Downloaded regex v1.9.5
  Downloaded nix v0.24.2
  Downloaded rustls v0.21.7
  Downloaded idna v0.3.0
  Downloaded regex-syntax v0.7.5
  Downloaded trust-dns-proto v0.22.0
  Downloaded tokio v1.25.0
  Downloaded libc v0.2.147
  Downloaded encoding_rs v0.8.31
  Downloaded libffi-sys v2.3.0
  Downloaded libz-sys v1.1.12
  Downloaded libsqlite3-sys v0.25.2
  Downloaded ring v0.16.20
  Downloaded v8 v0.68.0
   Compiling libc v0.2.147
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling version_check v0.9.4
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling syn v1.0.109
   Compiling typenum v1.16.0
   Compiling serde v1.0.188
   Compiling memchr v2.6.3
   Compiling parking_lot_core v0.9.8
   Compiling libm v0.2.7
   Compiling generic-array v0.14.7
   Compiling lock_api v0.4.10
   Compiling log v0.4.17
   Compiling num-traits v0.2.16
   Compiling once_cell v1.18.0
   Compiling futures-core v0.3.28
   Compiling ahash v0.8.3
   Compiling num-integer v0.1.45
   Compiling aho-corasick v1.0.5
   Compiling regex-syntax v0.7.5
   Compiling either v1.9.0
   Compiling slab v0.4.9
   Compiling futures-task v0.3.28
   Compiling futures-channel v0.3.28
   Compiling allocator-api2 v0.2.16
   Compiling futures-util v0.3.28
   Compiling serde_json v1.0.105
   Compiling equivalent v1.0.1
   Compiling tokio v1.25.0
   Compiling indexmap v1.9.3
   Compiling smallvec v1.11.0
   Compiling spin v0.5.2
   Compiling quote v1.0.33
   Compiling lazy_static v1.4.0
   Compiling syn v2.0.29
   Compiling hashbrown v0.14.0
   Compiling ppv-lite86 v0.2.17
   Compiling pin-project-lite v0.2.13
   Compiling scopeguard v1.2.0
   Compiling getrandom v0.2.10
   Compiling cc v1.0.83
   Compiling rand_core v0.6.4
   Compiling indexmap v2.0.0
   Compiling rand_chacha v0.3.1
   Compiling parking_lot v0.12.1
   Compiling regex-automata v0.3.8
   Compiling rand v0.8.5
   Compiling itoa v1.0.9
   Compiling fslock v0.1.8
   Compiling which v4.4.0
   Compiling anyhow v1.0.75
   Compiling tinyvec_macros v0.1.1
   Compiling tinyvec v1.6.0
   Compiling convert_case v0.4.0
   Compiling ring v0.16.20
   Compiling percent-encoding v2.2.0
   Compiling unicode-bidi v0.3.13
   Compiling form_urlencoded v1.1.0
   Compiling toml_datetime v0.6.3
   Compiling winnow v0.5.15
   Compiling regex v1.9.5
   Compiling unicode-normalization v0.1.22
   Compiling bitflags v1.3.2
   Compiling bytes v1.4.0
   Compiling num-bigint v0.4.4
   Compiling idna v0.3.0
   Compiling pmutil v0.5.3
   Compiling ryu v1.0.15
   Compiling data-encoding v2.4.0
   Compiling num_cpus v1.16.0
   Compiling thiserror v1.0.47
   Compiling crypto-common v0.1.6
   Compiling toml_edit v0.19.14
   Compiling if_chain v1.0.2
   Compiling subtle v2.5.0
   Compiling unicode-id v0.3.3
   Compiling futures-sink v0.3.28
   Compiling hashbrown v0.12.3
   Compiling futures-io v0.3.28
   Compiling pin-utils v0.1.0
   Compiling serde_derive v1.0.188
   Compiling futures-macro v0.3.28
   Compiling pin-project-internal v1.1.3
   Compiling proc-macro-crate v1.3.1
   Compiling tracing-attributes v0.1.26
   Compiling zeroize_derive v1.4.2
   Compiling tokio-macros v1.8.2
   Compiling derive_more v0.99.17
   Compiling thiserror-impl v1.0.47
   Compiling fnv v1.0.7
   Compiling mio v0.8.8
   Compiling socket2 v0.4.9
   Compiling deno_ops v0.58.0
   Compiling signal-hook-registry v1.4.1
   Compiling const-oid v0.9.5
   Compiling pmutil v0.6.1
   Compiling tracing-core v0.1.31
   Compiling siphasher v0.3.11
   Compiling phf_shared v0.10.0
   Compiling tracing v0.1.37
   Compiling swc_macros_common v0.3.8
   Compiling block-buffer v0.10.4
   Compiling digest v0.10.7
   Compiling phf_generator v0.10.0
   Compiling v8 v0.68.0
   Compiling cpufeatures v0.2.9
   Compiling rustc-hash v1.1.0
   Compiling async-trait v0.1.73
   Compiling crc32fast v1.3.2
   Compiling futures-executor v0.3.28
   Compiling url v2.3.1
   Compiling uuid v1.4.1
   Compiling debugid v0.8.0
   Compiling sourcemap v6.4.1
   Compiling serde_bytes v0.11.12
   Compiling futures v0.3.28
   Compiling pin-project v1.1.3
   Compiling httparse v1.8.0
   Compiling rustls v0.20.9
   Compiling vcpkg v0.2.15
   Compiling pkg-config v0.3.27
   Compiling untrusted v0.7.1
   Compiling zeroize v1.6.0
   Compiling ident_case v1.0.1
   Compiling strsim v0.10.0
   Compiling string_cache_codegen v0.5.2
   Compiling darling_core v0.13.4
   Compiling Inflector v0.11.4
   Compiling swc_atoms v0.4.39
   Compiling ahash v0.7.6
   Compiling new_debug_unreachable v1.0.4
   Compiling stable_deref_trait v1.2.0
   Compiling static_assertions v1.1.0
   Compiling precomputed-hash v0.1.1
   Compiling triomphe v0.1.9
   Compiling string_cache v0.8.7
   Compiling swc_visit_macros v0.5.8
   Compiling scoped-tls v1.0.1
   Compiling minimal-lexical v0.2.1
   Compiling nom v7.1.3
   Compiling better_scoped_tls v0.1.1
   Compiling lexical-util v0.8.5
   Compiling from_variant v0.1.6
   Compiling darling_macro v0.13.4
   Compiling swc_eq_ignore_macros v0.1.2
   Compiling unicode-width v0.1.10
   Compiling byteorder v1.4.3
   Compiling darling v0.13.4
   Compiling encoding_rs v0.8.31
   Compiling ast_node v0.8.8
   Compiling sct v0.7.0
   Compiling time-core v0.1.1
   Compiling proc-macro-hack v0.5.20+deprecated
   Compiling base64ct v1.6.0
error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/ast_node_macro.rs:39:14
   |
26 | /         Quote::new_call_site()
27 | |             .quote_with(smart_quote!(
28 | |                 Vars {
29 | |                     Type: i.ident.clone(),
...  |
38 | |             .parse::<ItemImpl>()
39 | |             .with_generics(generics),
   | |             -^^^^^^^^^^^^^ method not found in `ItemImpl`
   | |_____________|
   |

error[E0308]: `?` operator has incompatible types
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:20:19
   |
20 |             tags: content.parse_terminated(Lit::parse)?,
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Punctuated<Lit, Comma>`, found `Punctuated<Lit, _>`
   |
= note: `?` operator cannot convert from `syn::punctuated::Punctuated<syn::Lit, _>` to `swc_macros_common::prelude::Punctuated<syn::Lit,
syn::token::Comma>`
   = note: `Punctuated<Lit, _>` and `Punctuated<Lit, Comma>` have similar names, but are actually distinct types
note: `Punctuated<Lit, _>` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
   |
47 | pub struct Punctuated<T, P> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `Punctuated<Lit, Comma>` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/punctuated.rs:46:1
   |
46 | pub struct Punctuated<T, P> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: perhaps two different versions of crate `syn` are being used?

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:64:42
    |
64  |                         if !is_attr_name(attr, "tag") {
    |                             ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
    |                             |
    |                             arguments to this function are incorrect
    |
    = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
note: `syn::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
    |
12  | / ast_struct! {
13  | |     /// An attribute like `#[repr(transparent)]`.
14  | |     ///
15  | |     /// *This type is available only if Syn is built with the `"derive"` or `"full"`
...   |
155 | |     }
156 | | }
    | |_^
note: `syn::attr::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/attr.rs:11:1
    |
11  | / ast_struct! {
12  | |     /// An attribute, like `#[repr(transparent)]`.
13  | |     ///
14  | |     /// <br>
...   |
170 | |     }
171 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?
note: function defined here
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:46:8
    |
46  | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
    |        ^^^^^^^^^^^^
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run
with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:136:42
    |
136 |                         if !is_attr_name(attr, "tag") {
    |                             ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
    |                             |
    |                             arguments to this function are incorrect
    |
    = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
note: `syn::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
    |
12  | / ast_struct! {
13  | |     /// An attribute like `#[repr(transparent)]`.
14  | |     ///
15  | |     /// *This type is available only if Syn is built with the `"derive"` or `"full"`
...   |
155 | |     }
156 | | }
    | |_^
note: `syn::attr::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/attr.rs:11:1
    |
11  | / ast_struct! {
12  | |     /// An attribute, like `#[repr(transparent)]`.
13  | |     ///
14  | |     /// <br>
...   |
170 | |     }
171 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?
note: function defined here
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:46:8
    |
46  | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
    |        ^^^^^^^^^^^^
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run
with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:212:44
    |
212 | ...                   cases: str_cases,
    |                              ^^^^^^^^^ expected `Punctuated<Pat, Or>`, found `Punctuated<Pat, _>`
    |
    = note: `Punctuated<Pat, _>` and `Punctuated<Pat, Or>` have similar names, but are actually distinct types
note: `Punctuated<Pat, _>` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/punctuated.rs:46:1
    |
46  | pub struct Punctuated<T, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `Punctuated<Pat, Or>` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
    |
47  | pub struct Punctuated<T, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `syn` are being used?

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:217:44
    |
217 | ...                   cases: bytes_cases,
    |                              ^^^^^^^^^^^ expected `Punctuated<Pat, Or>`, found `Punctuated<Pat, _>`
    |
    = note: `Punctuated<Pat, _>` and `Punctuated<Pat, Or>` have similar names, but are actually distinct types
note: `Punctuated<Pat, _>` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/punctuated.rs:46:1
    |
46  | pub struct Punctuated<T, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `Punctuated<Pat, Or>` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
    |
47  | pub struct Punctuated<T, P> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `syn` are being used?

error[E0277]: the trait bound `syn::token::Match: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:293:30
    |
293 |                 match_token: call_site(),
    |                              ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Match`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0277]: the trait bound `syn::token::Brace: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:295:30
    |
295 |                 brace_token: call_site(),
    |                              ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Brace`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0277]: the trait bound `syn::token::Match: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:300:30
    |
300 |                 match_token: call_site(),
    |                              ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Match`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0277]: the trait bound `syn::token::Brace: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:302:30
    |
302 |                 brace_token: call_site(),
    |                              ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Brace`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0277]: the trait bound `syn::token::Match: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:388:26
    |
388 |             match_token: call_site(),
    |                          ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Match`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0277]: the trait bound `syn::token::Brace: pmutil::synom_ext::FromSpan` is not satisfied
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:390:26
    |
390 |             brace_token: call_site(),
    |                          ^^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Brace`
    |
    = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
              proc_macro2::Span
              syn::token::Underscore
              syn::token::Abstract
              syn::token::As
              syn::token::Async
              syn::token::Auto
              syn::token::Await
              syn::token::Become
            and 99 others
note: required by a bound in `swc_macros_common::call_site`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:17:21
    |
17  | pub fn call_site<T: FromSpan>() -> T {
    |                     ^^^^^^^^ required by this bound in `call_site`

error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/enum_deserialize.rs:438:14
    |
405 | /         Quote::new_call_site()
406 | |             .quote_with(smart_quote!(
407 | |                 Vars {
408 | |                     match_type_expr,
...   |
437 | |             .parse::<ItemImpl>()
438 | |             .with_generics(generics)
    | |             -^^^^^^^^^^^^^ method not found in `ItemImpl`
    | |_____________|
    |

error[E0308]: mismatched types
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:25:33
   |
25 |     let arms = Binder::new_from(&input)
   |                ---------------- ^^^^^^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
   |                |
   |                arguments to this function are incorrect
   |
   = note: `syn::DeriveInput` and `syn::derive::DeriveInput` have similar names, but are actually distinct types
note: `syn::DeriveInput` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/derive.rs:4:1
   |
4  | / ast_struct! {
5  | |     /// Data structure sent to a `proc_macro_derive` macro.
6  | |     ///
7  | |     /// *This type is available only if Syn is built with the `"derive"` feature.*
...  |
24 | |     }
25 | | }
   | |_^
note: `syn::derive::DeriveInput` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/derive.rs:4:1
   |
4  | / ast_struct! {
5  | |     /// Data structure sent to a `proc_macro_derive` macro.
6  | |     #[cfg_attr(doc_cfg, doc(cfg(feature = "derive")))]
7  | |     pub struct DeriveInput {
...  |
13 | |     }
14 | | }
   | |_^
   = note: perhaps two different versions of crate `syn` are being used?
note: associated function defined here
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/binder.rs:61:12
   |
61 |     pub fn new_from(input: &'a DeriveInput) -> Self {
   |            ^^^^^^^^
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run
with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:41:17
   |
41 |                 pat,
   |                 ^^^ expected `syn::Pat`, found `syn::pat::Pat`
   |
   = note: `syn::pat::Pat` and `syn::Pat` have similar names, but are actually distinct types
note: `syn::pat::Pat` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/pat.rs:5:1
   |
5  | / ast_enum_of_structs! {
6  | |     /// A pattern in a local binding, function signature, match expression, or
7  | |     /// various other places.
8  | |     ///
...  |
90 | |     }
91 | | }
   | |_^
note: `syn::Pat` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/pat.rs:5:1
   |
5  | / ast_enum_of_structs! {
6  | |     /// A pattern in a local binding, function signature, match expression, or
7  | |     /// various other places.
8  | |     ///
...  |
97 | |     }
98 | | }
   | |_^
   = note: perhaps two different versions of crate `syn` are being used?
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly
builds, run with -Z macro-backtrace for more info)

error[E0277]: a value of type `Vec<syn::Attribute>` cannot be built from an iterator over elements of type `syn::attr::Attribute`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:40:22
   |
40 |                     .collect(),
   |                      ^^^^^^^ value of type `Vec<syn::Attribute>` cannot be built from `std::iter::Iterator<Item=syn::attr::Attribute>`
   |
   = help: the trait `FromIterator<syn::attr::Attribute>` is not implemented for `Vec<syn::Attribute>`
   = help: the trait `FromIterator<T>` is implemented for `Vec<T>`
note: the method call chain might not have had the expected associated types
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:39:22
   |
35 |                 attrs: v
   |                        - this expression has type `VariantBinder<'_>`
36 |                     .attrs()
37 |                     .iter()
   |                      ------ `Iterator::Item` is `&Attribute` here
38 |                     .filter(|attr| is_attr_name(attr, "cfg"))
   |                      ---------------------------------------- `Iterator::Item` remains `&Attribute` here
39 |                     .cloned()
   |                      ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
note: required by a bound in `collect`
  --> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:1891:5

error[E0277]: the trait bound `FatArrow: pmutil::synom_ext::FromSpan` is not satisfied
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:43:34
   |
43 |                 fat_arrow_token: def_site(),
   |                                  ^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `FatArrow`
   |
   = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
             proc_macro2::Span
             syn::token::Underscore
             syn::token::Abstract
             syn::token::As
             syn::token::Async
             syn::token::Auto
             syn::token::Await
             syn::token::Become
           and 99 others
note: required by a bound in `swc_macros_common::def_site`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:23:20
   |
23 | pub fn def_site<T: FromSpan>() -> T {
   |                    ^^^^^^^^ required by this bound in `def_site`

error[E0277]: the trait bound `syn::token::Comma: pmutil::synom_ext::FromSpan` is not satisfied
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:44:29
   |
44 |                 comma: Some(def_site()),
   |                             ^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Comma`
   |
   = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
             proc_macro2::Span
             syn::token::Underscore
             syn::token::Abstract
             syn::token::As
             syn::token::Async
             syn::token::Auto
             syn::token::Await
             syn::token::Become
           and 99 others
note: required by a bound in `swc_macros_common::def_site`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:23:20
   |
23 | pub fn def_site<T: FromSpan>() -> T {
   |                    ^^^^^^^^ required by this bound in `def_site`

error[E0277]: the trait bound `syn::token::Match: pmutil::synom_ext::FromSpan` is not satisfied
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:51:22
   |
51 |         match_token: def_site(),
   |                      ^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Match`
   |
   = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
             proc_macro2::Span
             syn::token::Underscore
             syn::token::Abstract
             syn::token::As
             syn::token::Async
             syn::token::Auto
             syn::token::Await
             syn::token::Become
           and 99 others
note: required by a bound in `swc_macros_common::def_site`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:23:20
   |
23 | pub fn def_site<T: FromSpan>() -> T {
   |                    ^^^^^^^^ required by this bound in `def_site`

error[E0277]: the trait bound `syn::token::Brace: pmutil::synom_ext::FromSpan` is not satisfied
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:52:22
   |
52 |         brace_token: def_site(),
   |                      ^^^^^^^^ the trait `pmutil::synom_ext::FromSpan` is not implemented for `syn::token::Brace`
   |
   = help: the following other types implement trait `pmutil::synom_ext::FromSpan`:
             proc_macro2::Span
             syn::token::Underscore
             syn::token::Abstract
             syn::token::As
             syn::token::Async
             syn::token::Auto
             syn::token::Await
             syn::token::Become
           and 99 others
note: required by a bound in `swc_macros_common::def_site`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:23:20
   |
23 | pub fn def_site<T: FromSpan>() -> T {
   |                    ^^^^^^^^ required by this bound in `def_site`

error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:77:10
   |
61 | /     Quote::new(def_site::<Span>())
62 | |         .quote_with(smart_quote!(
63 | |             Vars {
64 | |                 Type: &input.ident,
...  |
76 | |         .parse::<ItemImpl>()
77 | |         .with_generics(input.generics)
   | |         -^^^^^^^^^^^^^ method not found in `ItemImpl`
   | |_________|
   |

error[E0308]: mismatched types
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:97:16
   |
97 |         if let Fields::Unnamed(..) = *v.data() {
   |                ^^^^^^^^^^^^^^^^^^^   --------- this expression has type `syn::data::Fields`
   |                |
   |                expected `syn::data::Fields`, found `syn::Fields`
   |
   = note: `syn::Fields` and `syn::data::Fields` have similar names, but are actually distinct types
note: `syn::Fields` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:25:1
   |
25 | / ast_enum_of_structs! {
26 | |     /// Data stored within an enum variant or struct.
27 | |     ///
28 | |     /// *This type is available only if Syn is built with the `"derive"` or `"full"`
...  |
47 | |     }
48 | | }
   | |_^
note: `syn::data::Fields` is defined in crate `syn`
  --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/data.rs:21:1
   |
21 | / ast_enum_of_structs! {
22 | |     /// Data stored within an enum variant or struct.
23 | |     ///
24 | |     /// # Syntax tree enum
...  |
40 | |     }
41 | | }
   | |_^
   = note: perhaps two different versions of crate `syn` are being used?
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly
builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:106:39
    |
106 |         .find(|b| has_empty_span_attr(&b.field().attrs))
    |                   ------------------- ^^^^^^^^^^^^^^^^ expected `&[Attribute]`, found `&Vec<Attribute>`
    |                   |
    |                   arguments to this function are incorrect
    |
    = note: expected reference `&[syn::Attribute]`
               found reference `&Vec<syn::attr::Attribute>`
note: function defined here
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:168:4
    |
168 | fn has_empty_span_attr(attrs: &[Attribute]) -> bool {
    |    ^^^^^^^^^^^^^^^^^^^ -------------------

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:144:42
    |
144 |         .map(|b| (b, MyField::from_field(b.field()).unwrap()))
    |                      ------------------- ^^^^^^^^^ expected `syn::Field`, found `syn::data::Field`
    |                      |
    |                      arguments to this function are incorrect
    |
    = note: `syn::data::Field` and `syn::Field` have similar names, but are actually distinct types
note: `syn::data::Field` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/data.rs:135:1
    |
135 | / ast_struct! {
136 | |     /// A field of a struct or enum variant.
137 | |     #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
138 | |     pub struct Field {
...   |
153 | |     }
154 | | }
    | |_^
note: `syn::Field` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:148:1
    |
148 | / ast_struct! {
149 | |     /// A field of a struct or enum variant.
150 | |     ///
151 | |     /// *This type is available only if Syn is built with the `"derive"` or `"full"`
...   |
170 | |     }
171 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?
note: associated function defined here
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/darling_core-0.13.4/src/from_field.rs:7:8
    |
7   |     fn from_field(field: &Field) -> Result<Self>;
    |        ^^^^^^^^^^
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run
with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.8.8/src/spanned.rs:170:26
    |
170 |         if !is_attr_name(attr, "span") {
    |             ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
    |             |
    |             arguments to this function are incorrect
    |
    = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
note: `syn::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
    |
12  | / ast_struct! {
13  | |     /// An attribute like `#[repr(transparent)]`.
14  | |     ///
15  | |     /// *This type is available only if Syn is built with the `"derive"` or `"full"`
...   |
155 | |     }
156 | | }
    | |_^
note: `syn::attr::Attribute` is defined in crate `syn`
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.29/src/attr.rs:11:1
    |
11  | / ast_struct! {
12  | |     /// An attribute, like `#[repr(transparent)]`.
13  | |     ///
14  | |     /// <br>
...   |
170 | |     }
171 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?
note: function defined here
   --> /Users/arsalan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.8/src/lib.rs:46:8
    |
46  | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
    |        ^^^^^^^^^^^^
= note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run
with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0277, E0308, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `ast_node` (lib) due to 25 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [target/release/libisorun.dylib] Error 101

make failed, exit code 2

Gem files will remain installed in /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isorun-0.1.12 for inspection.
Results logged to /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/extensions/arm64-darwin-22/3.1.0/isorun-0.1.12/gem_make.out

  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:44:in `block in make'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:36:in `each'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:36:in `make'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/tempfile.rb:317:in `open'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/source/rubygems.rb:200:in `install'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/installer/gem_installer.rb:54:in `install'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/installer/parallel_installer.rb:167:in `do_install'
/Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/installer/parallel_installer.rb:158:in `block in
worker_pool'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/worker.rb:62:in `apply_func'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/worker.rb:57:in `block in process_queue'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/worker.rb:54:in `loop'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/worker.rb:54:in `process_queue'
  /Users/arsalan/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.4.7/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing isorun (0.1.12), and Bundler cannot continue.

In Gemfile:
  isorun

rustc 1.72.0 (5680fa18f 2023-08-23) ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin22]

Most probably the problem is not with this library but one of its dependencies but the result is that it is unusable on M1 MacBook at least.

eliias commented 1 year ago

Pretty sure this is a dependency that should be properly pinned. Let me check.

eliias commented 1 year ago

@ArsalanDotMe The actual reason was the old Deno dependencies with newer Rust. I have updated the dependencies and as soon as #172 ships, you should be fine. If you want me to do a favor, please bundle install against the make-sure-dev-ruby-is-3.2 branch and test if you can build locally.

ArsalanDotMe commented 1 year ago

I don't see the make-sure-dev-ruby-is-3.2 brach on GitHub. Maybe you forgot to publish it?

ArsalanDotMe commented 1 year ago

Okay, I'm sorry I just saw that you already merged that branch and closed it. I will test against main.

ArsalanDotMe commented 1 year ago

So, doing gem "isorun", git: 'https://github.com/eliias/isorun.git', branch: 'main' works fine for me now, but just a note, I had to install cmake and protobuf packages using homebrew before the compilation could succeed.

ArsalanDotMe commented 1 year ago

Closing because now it compiles. Thanks a lot!

eliias commented 1 year ago

Closing because now it compiles. Thanks a lot!

Yeah… these dependencies are super annoying, but the tradeoff for isorun is essentially using deno as a fully capable runtime with all the beautiful and ready-to-use Web API's, instead of building a full runtime from scratch. I have plans to bring back pre-compiled binaries for the supported platforms, but CI and builds are gnarly.