[INFO] cloning repository https://github.com/ghuntley/cursed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghuntley/cursed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghuntley%2Fcursed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghuntley%2Fcursed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b88cba137e605d8721092560202f5b398077b50 [INFO] checking ghuntley/cursed against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghuntley%2Fcursed" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ghuntley/cursed [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ghuntley/cursed [INFO] tweaked toml for git repo https://github.com/ghuntley/cursed written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ghuntley/cursed on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ghuntley/cursed already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8145a395b67587ab6fcb1937e25d495c080f887a3f3cf4501e19bc8d0fc5dc78 [INFO] running `Command { std: "docker" "start" "-a" "8145a395b67587ab6fcb1937e25d495c080f887a3f3cf4501e19bc8d0fc5dc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8145a395b67587ab6fcb1937e25d495c080f887a3f3cf4501e19bc8d0fc5dc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8145a395b67587ab6fcb1937e25d495c080f887a3f3cf4501e19bc8d0fc5dc78", kill_on_drop: false }` [INFO] [stdout] 8145a395b67587ab6fcb1937e25d495c080f887a3f3cf4501e19bc8d0fc5dc78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ed016dc16fec649f26f39659c8036368097223018d85c036ae5fd0e890f20ea [INFO] running `Command { std: "docker" "start" "-a" "6ed016dc16fec649f26f39659c8036368097223018d85c036ae5fd0e890f20ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking ark-std v0.3.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling ark-serialize-derive v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff v0.3.0 [INFO] [stderr] Checking ark-serialize v0.3.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling openssl-src v300.5.0+3.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking ark-ec v0.3.0 [INFO] [stderr] Checking ark-relations v0.3.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling llvm-sys v170.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ark-poly v0.3.0 [INFO] [stderr] Checking ark-r1cs-std v0.3.1 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling postgres-derive v0.4.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ark-snark v0.3.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling pqcrypto-ntru v0.5.8 [INFO] [stderr] Compiling pqcrypto-falcon v0.3.0 [INFO] [stderr] Compiling pqcrypto-sphincsplus v0.7.1 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling pqcrypto-kyber v0.7.9 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling inkwell v0.4.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking ark-nonnative-field v0.3.0 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking ark-poly-commit v0.3.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking ark-crypto-primitives v0.3.0 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking rustls-webpki v0.100.3 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking xattr v1.5.0 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling inkwell_internals v0.9.0 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking twox-hash v2.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling cursed v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking open v5.3.2 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking bb8-postgres v0.8.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking rustls-connector v0.17.0 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking ark-groth16 v0.3.0 [INFO] [stderr] Checking ark-marlin v0.3.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking p521 v0.13.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking ark-bn254 v0.3.0 [INFO] [stderr] Checking ark-bls12-381 v0.3.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking ssh2 v0.9.5 [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "web")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "crypto")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "pqc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "web")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "crypto")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "pqc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(feature = "web"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(not(feature = "crypto"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(not(feature = "pqc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(not(feature = "async"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | #[cfg(not(feature = "sync"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(feature = "testing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `MinimalImplementation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `MinimalImplementation` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `MinimalImplementation` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `MinimalImplementation` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `get_minimal_result` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `get_minimal_result` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `MinimalImplementation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `MinimalImplementation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `MinimalImplementation` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `MinimalImplementation` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `get_minimal_result` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `get_minimal_result` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "web")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "crypto")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "pqc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "web")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "crypto")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "pqc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `web` [INFO] [stdout] --> src/stdlib/mod.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(not(feature = "web"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `web` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `crypto` [INFO] [stdout] --> src/stdlib/mod.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(not(feature = "crypto"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `crypto` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `pqc` [INFO] [stdout] --> src/stdlib/mod.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(not(feature = "pqc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `pqc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/stdlib/mod.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(not(feature = "async"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/stdlib/mod.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | #[cfg(not(feature = "sync"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/stdlib/mod.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(feature = "testing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `benchmarks`, `binary_compiler`, `concurrent_gc`, and `enhanced_dynamic_dispatch` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `MinimalImplementation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `MinimalImplementation` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `MinimalImplementation` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `MinimalImplementation` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/string/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `get_minimal_result` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 26 | pub use format::*; [INFO] [stdout] | --------- but the name `get_minimal_result` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `MinimalImplementation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `MinimalImplementation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `MinimalImplementation` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `MinimalImplementation` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/stdlib/math/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ the name `get_minimal_result` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 36 | pub use big_mood::*; [INFO] [stdout] | ----------- but the name `get_minimal_result` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::r#async::AsyncTask`: Use TaskHandle from executor module instead [INFO] [stdout] --> src/runtime/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub use r#async::{AsyncRuntime, AsyncTask, AsyncScheduler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::panic::{PanicInfo, set_hook, take_hook}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | previous_hook: Mutex) + 'static + Sync + Send>>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | fn handle_panic(&self, panic_info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | fn create_panic_context(&self, panic_info: &PanicInfo<'_>) -> PanicContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `runtime::r#async::TaskStatus`: Use TaskState from executor module instead [INFO] [stdout] --> src/runtime/async/mod.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | status: TaskStatus, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannel`: Use the new Channel type from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | impl LegacyChannel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannel`: Use the new Channel type from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | impl Default for LegacyChannel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | impl LegacyChannelSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | impl LegacyChannelReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn legacy_channel() -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:222:72 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn legacy_channel() -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 224 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:224:40 [INFO] [stdout] | [INFO] [stdout] 224 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:229:72 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn legacy_buffered_channel(capacity: usize) -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:229:96 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn legacy_buffered_channel(capacity: usize) -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 231 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Cell` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Cell` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell<*mut LLVMModule>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Cell<*mut LLVMModule>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Cell<*mut LLVMModule>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `RefCell>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `RefCell>>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `jit_compilation::SymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct SymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `DynamicSymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | struct DynamicSymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CodeMemoryManager`, the trait `std::marker::Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `MemoryBlock` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | struct MemoryBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `Vec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/vec/mod.rs:414:12 [INFO] [stdout] note: required because it appears within the type `CodeMemoryManager` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | struct CodeMemoryManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `inkwell::context::Context`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&'static inkwell::context::Context` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `PhantomData<&'static inkwell::context::Context>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::r#async::AsyncTask`: Use TaskHandle from executor module instead [INFO] [stdout] --> src/runtime/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub use r#async::{AsyncRuntime, AsyncTask, AsyncScheduler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | impl ChannelBuffer for UnbufferedChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `UnbufferedChannel` [INFO] [stdout] --> src/runtime/channels/buffer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct UnbufferedChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 142 | impl ChannelBuffer for UnbufferedChannel { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:300:30 [INFO] [stdout] | [INFO] [stdout] 300 | impl ChannelBuffer for RingBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `ManuallyDrop` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `MaybeUninit` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/mem/maybe_uninit.rs:261:11 [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/vec/mod.rs:414:12 [INFO] [stdout] note: required because it appears within the type `RingBufferData` [INFO] [stdout] --> src/runtime/channels/buffer.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | struct RingBufferData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `RingBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct RingBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 300 | impl ChannelBuffer for RingBuffer { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | impl ChannelBuffer for DynamicBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `DynamicBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct DynamicBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 391 | impl ChannelBuffer for DynamicBuffer { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | impl Drop for Channel { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Channel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | impl Drop for ChannelSender { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct ChannelSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | impl Drop for ChannelReceiver { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct ChannelReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/runtime/channels/operations.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct ReceiveOperation { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/runtime/channels/operations.rs:548:33 [INFO] [stdout] | [INFO] [stdout] 548 | pub struct RangeReceiveIterator> { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/memory.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | impl ChannelAllocator for MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ `NonNull` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(usize, VecDeque>)`, the trait `std::marker::Send` is not implemented for `NonNull` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required because it appears within the type `(usize, VecDeque>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(usize, VecDeque>)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `MemoryPool` [INFO] [stdout] --> src/runtime/channels/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ChannelAllocator` [INFO] [stdout] --> src/runtime/channels/memory.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait ChannelAllocator: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/channels/memory.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | impl ChannelAllocator for MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ `NonNull` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(usize, VecDeque>)`, the trait `Sync` is not implemented for `NonNull` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required because it appears within the type `(usize, VecDeque>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(usize, VecDeque>)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `MemoryPool` [INFO] [stdout] --> src/runtime/channels/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ChannelAllocator` [INFO] [stdout] --> src/runtime/channels/memory.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait ChannelAllocator: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::panic::{PanicInfo, set_hook, take_hook}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | previous_hook: Mutex) + 'static + Sync + Send>>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | fn handle_panic(&self, panic_info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/runtime/panic.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | fn create_panic_context(&self, panic_info: &PanicInfo<'_>) -> PanicContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `runtime::r#async::TaskStatus`: Use TaskState from executor module instead [INFO] [stdout] --> src/runtime/async/mod.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | status: TaskStatus, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannel`: Use the new Channel type from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | impl LegacyChannel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannel`: Use the new Channel type from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | impl Default for LegacyChannel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | impl LegacyChannelSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | impl LegacyChannelReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn legacy_channel() -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:222:72 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn legacy_channel() -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 224 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:224:40 [INFO] [stdout] | [INFO] [stdout] 224 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:229:72 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn legacy_buffered_channel(capacity: usize) -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:229:96 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn legacy_buffered_channel(capacity: usize) -> (LegacyChannelSender, LegacyChannelReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelSender`: Use ChannelSender from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 231 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `runtime::channels::LegacyChannelReceiver`: Use ChannelReceiver from channel module [INFO] [stdout] --> src/runtime/channels/mod.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | (LegacyChannelSender::new(sender), LegacyChannelReceiver::new(receiver)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Cell` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Cell` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `RefCell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `RefCell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell<*mut LLVMModule>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Cell<*mut LLVMModule>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Cell<*mut LLVMModule>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell>>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `RefCell>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `RefCell>>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `Sync` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `jit_compilation::SymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct SymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | impl CodeGeneratorTrait for CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CodeGeneratorTrait` [INFO] [stdout] --> src/runtime/jit_runtime.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub trait CodeGeneratorTrait: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `CodeGeneratorTrait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for type parameter `E` in the current scope [INFO] [stdout] --> src/runtime/async/promise.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 327 | impl Promise [INFO] [stdout] | - function or associated item `default` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 364 | return Err(E::default()); // This assumes E: Default, we may need to adjust [INFO] [stdout] | ^^^^^^^ function or associated item not found in `E` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `default`, perhaps you need to restrict type parameter `E` with it: [INFO] [stdout] | [INFO] [stdout] 330 | E: Clone + Send + 'static + std::default::Default, [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `DynamicSymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | struct DynamicSymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CodeMemoryManager`, the trait `std::marker::Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `MemoryBlock` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | struct MemoryBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `Vec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/vec/mod.rs:414:12 [INFO] [stdout] note: required because it appears within the type `CodeMemoryManager` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | struct CodeMemoryManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `inkwell::context::Context`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&'static inkwell::context::Context` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `PhantomData<&'static inkwell::context::Context>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/jit_runtime.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | static GLOBAL_JIT_RUNTIME: once_cell::sync::OnceCell> = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitEngine` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CursedJitEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `jit_runtime::JitRuntime` [INFO] [stdout] --> src/runtime/jit_runtime.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct JitRuntime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `once_cell::imp::OnceCell>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `once_cell::sync::OnceCell>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.3/src/lib.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct OnceCell(Imp); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | impl ChannelBuffer for UnbufferedChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `buffer::UnbufferedChannel` [INFO] [stdout] --> src/runtime/channels/buffer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct UnbufferedChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `buffer::ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 142 | impl ChannelBuffer for UnbufferedChannel { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:300:30 [INFO] [stdout] | [INFO] [stdout] 300 | impl ChannelBuffer for RingBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `ManuallyDrop` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `MaybeUninit` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/mem/maybe_uninit.rs:261:11 [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `Vec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/vec/mod.rs:414:12 [INFO] [stdout] note: required because it appears within the type `RingBufferData` [INFO] [stdout] --> src/runtime/channels/buffer.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | struct RingBufferData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `buffer::RingBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct RingBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `buffer::ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 300 | impl ChannelBuffer for RingBuffer { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/buffer.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | impl ChannelBuffer for DynamicBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required for `std::sync::Mutex>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `buffer::DynamicBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct DynamicBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `buffer::ChannelBuffer` [INFO] [stdout] --> src/runtime/channels/buffer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait ChannelBuffer: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelBuffer` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 391 | impl ChannelBuffer for DynamicBuffer { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | impl Drop for Channel { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Channel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | impl Drop for ChannelSender { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct ChannelSender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0367]: `Drop` impl requires `T: std::marker::Send` but the struct it is implemented for does not [INFO] [stdout] --> src/runtime/channels/channel.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | impl Drop for ChannelReceiver { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the implementor must specify the same requirement [INFO] [stdout] --> src/runtime/channels/channel.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct ChannelReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/runtime/channels/operations.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct ReceiveOperation { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/runtime/channels/operations.rs:548:33 [INFO] [stdout] | [INFO] [stdout] 548 | pub struct RangeReceiveIterator> { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be sent between threads safely [INFO] [stdout] --> src/runtime/channels/memory.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | impl ChannelAllocator for MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ `NonNull` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(usize, VecDeque>)`, the trait `std::marker::Send` is not implemented for `NonNull` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required because it appears within the type `(usize, VecDeque>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(usize, VecDeque>)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `runtime::channels::memory::MemoryPool` [INFO] [stdout] --> src/runtime/channels/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `runtime::channels::memory::ChannelAllocator` [INFO] [stdout] --> src/runtime/channels/memory.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait ChannelAllocator: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `NonNull` cannot be shared between threads safely [INFO] [stdout] --> src/runtime/channels/memory.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | impl ChannelAllocator for MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ `NonNull` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(usize, VecDeque>)`, the trait `Sync` is not implemented for `NonNull` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/raw_vec/mod.rs:74:19 [INFO] [stdout] note: required because it appears within the type `VecDeque>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/alloc/src/collections/vec_deque/mod.rs:90:12 [INFO] [stdout] = note: required because it appears within the type `(usize, VecDeque>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(usize, VecDeque>)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `runtime::channels::memory::MemoryPool` [INFO] [stdout] --> src/runtime/channels/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `runtime::channels::memory::ChannelAllocator` [INFO] [stdout] --> src/runtime/channels/memory.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait ChannelAllocator: Send + Sync { [INFO] [stdout] | ^^^^ required by this bound in `ChannelAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | context.i1_type().into(), // is_ready [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | context.i16_type().into(), // is_ready [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for type parameter `E` in the current scope [INFO] [stdout] --> src/runtime/async/promise.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 327 | impl Promise [INFO] [stdout] | - function or associated item `default` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 364 | return Err(E::default()); // This assumes E: Default, we may need to adjust [INFO] [stdout] | ^^^^^^^ function or associated item not found in `E` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `default`, perhaps you need to restrict type parameter `E` with it: [INFO] [stdout] | [INFO] [stdout] 330 | E: Clone + Send + 'static + std::default::Default, [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | context.i1_type().into(), // is_completed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 | context.i16_type().into(), // is_completed [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | context.i1_type().into(), // is_resolved [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | context.i16_type().into(), // is_resolved [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | context.i1_type().into(), // is_rejected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | context.i16_type().into(), // is_rejected [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:92:82 [INFO] [stdout] | [INFO] [stdout] 92 | let future_alloca = self.builder.build_alloca(self.future_type, "future")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | self.builder.build_return(Some(&future_alloca))?; [INFO] [stdout] | ----------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 139 | self.builder.build_conditional_branch( [INFO] [stdout] | ______________________- [INFO] [stdout] 140 | | is_ready.into_int_value(), [INFO] [stdout] 141 | | ready_block, [INFO] [stdout] 142 | | not_ready_block, [INFO] [stdout] 143 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:148:109 [INFO] [stdout] | [INFO] [stdout] 148 | let result_value = self.builder.build_load(expected_type, result_ptr.into_pointer_value(), "result")?; [INFO] [stdout] | --------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:149:64 [INFO] [stdout] | [INFO] [stdout] 149 | self.builder.build_unconditional_branch(continue_block)?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:156:133 [INFO] [stdout] | [INFO] [stdout] 156 | let resumed_result_value = self.builder.build_load(expected_type, resumed_result_ptr.into_pointer_value(), "resumed_result")?; [INFO] [stdout] | ------------------------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:157:64 [INFO] [stdout] | [INFO] [stdout] 157 | self.builder.build_unconditional_branch(continue_block)?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:161:72 [INFO] [stdout] | [INFO] [stdout] 161 | let phi = self.builder.build_phi(expected_type, "await_result")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:174:76 [INFO] [stdout] | [INFO] [stdout] 174 | let task_alloca = self.builder.build_alloca(self.task_type, "task")?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 189 | let context_alloca = self.builder.build_call( [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 190 | | malloc_fn, [INFO] [stdout] 191 | | &[self.context.i64_type().const_int(args_size as u64, false).into()], [INFO] [stdout] 192 | | "task_context", [INFO] [stdout] 193 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 206 | let task_handle = self.builder.build_call( [INFO] [stdout] | ________________________________________- [INFO] [stdout] 207 | | spawn_fn, [INFO] [stdout] 208 | | &[task_alloca.into()], [INFO] [stdout] 209 | | "task_handle", [INFO] [stdout] 210 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:218:85 [INFO] [stdout] | [INFO] [stdout] 218 | let promise_alloca = self.builder.build_alloca(self.promise_type, "promise")?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 244 | let value_storage = self.builder.build_call( [INFO] [stdout] | __________________________________________- [INFO] [stdout] 245 | | malloc_fn, [INFO] [stdout] 246 | | &[value_size.into()], [INFO] [stdout] 247 | | "promise_value", [INFO] [stdout] 248 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:252:51 [INFO] [stdout] | [INFO] [stdout] 252 | self.builder.build_store(value_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:260:83 [INFO] [stdout] | [INFO] [stdout] 260 | self.builder.build_call(notify_fn, &[promise_ptr.into()], "notify_result")?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 273 | let timeout_future = self.builder.build_call( [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 274 | | timeout_fn, [INFO] [stdout] 275 | | &[future_ptr.into(), timeout_ms.into()], [INFO] [stdout] 276 | | "timeout_future", [INFO] [stdout] 277 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:291:77 [INFO] [stdout] | [INFO] [stdout] 291 | let str_ptr = self.builder.build_global_string_ptr(s, "str")?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:301:71 [INFO] [stdout] | [INFO] [stdout] 301 | let id = self.builder.build_call(next_id_fn, &[], "future_id")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:308:69 [INFO] [stdout] | [INFO] [stdout] 308 | let id = self.builder.build_call(next_id_fn, &[], "task_id")?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:315:72 [INFO] [stdout] | [INFO] [stdout] 315 | let id = self.builder.build_call(next_id_fn, &[], "promise_id")?; [INFO] [stdout] | -----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:322:80 [INFO] [stdout] | [INFO] [stdout] 322 | self.builder.build_call(yield_fn, &[future_ptr.into()], "yield_result")?; [INFO] [stdout] | ----------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:327:107 [INFO] [stdout] | [INFO] [stdout] 327 | let field_ptr = self.builder.build_struct_gep(self.future_type, future_ptr, index, "future_field")?; [INFO] [stdout] | ---------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:329:73 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(self.builder.build_load(field_type, field_ptr, "field_value")?) [INFO] [stdout] | ------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:333:107 [INFO] [stdout] | [INFO] [stdout] 333 | let field_ptr = self.builder.build_struct_gep(self.future_type, future_ptr, index, "future_field")?; [INFO] [stdout] | ---------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:334:51 [INFO] [stdout] | [INFO] [stdout] 334 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:339:101 [INFO] [stdout] | [INFO] [stdout] 339 | let field_ptr = self.builder.build_struct_gep(self.task_type, task_ptr, index, "task_field")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:340:51 [INFO] [stdout] | [INFO] [stdout] 340 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:345:110 [INFO] [stdout] | [INFO] [stdout] 345 | let field_ptr = self.builder.build_struct_gep(self.promise_type, promise_ptr, index, "promise_field")?; [INFO] [stdout] | ------------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:346:51 [INFO] [stdout] | [INFO] [stdout] 346 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | .map_err(|e| CursedError::CompilationError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - .map_err(|e| CursedError::CompilationError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] 207 + .map_err(|e| CursedError::CompilerError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | .map_err(|e| CursedError::CompilationError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 215 - .map_err(|e| CursedError::CompilationError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] 215 + .map_err(|e| CursedError::CompilerError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | ).ok_or_else(|| CursedError::CompilationError("Failed to create target machine".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 224 - ).ok_or_else(|| CursedError::CompilationError("Failed to create target machine".to_string()))?; [INFO] [stdout] 224 + ).ok_or_else(|| CursedError::CompilerError("Failed to create target machine".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | .map_err(|e| CursedError::CompilationError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 250 - .map_err(|e| CursedError::CompilationError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] 250 + .map_err(|e| CursedError::CompilerError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | .ok_or_else(|| CursedError::CompilationError(format!("Function '{}' not found", name)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 310 - .ok_or_else(|| CursedError::CompilationError(format!("Function '{}' not found", name)))?; [INFO] [stdout] 310 + .ok_or_else(|| CursedError::CompilerError(format!("Function '{}' not found", name)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|_| CursedError::CompilationError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 340 - .map_err(|_| CursedError::CompilationError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] 340 + .map_err(|_| CursedError::CompilerError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 352 - .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] 352 + .map_err(|_| CursedError::CompilerError("Failed to read statistics".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:374:41 [INFO] [stdout] | [INFO] [stdout] 374 | .ok_or_else(|| CursedError::CompilationError("No active module".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 374 - .ok_or_else(|| CursedError::CompilationError("No active module".to_string()))?; [INFO] [stdout] 374 + .ok_or_else(|| CursedError::CompilerError("No active module".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:384:41 [INFO] [stdout] | [INFO] [stdout] 384 | .ok_or_else(|| CursedError::CompilationError("No execution engine".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - .ok_or_else(|| CursedError::CompilationError("No execution engine".to_string()))?; [INFO] [stdout] 384 + .ok_or_else(|| CursedError::CompilerError("No execution engine".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:389:43 [INFO] [stdout] | [INFO] [stdout] 389 | .map_err(|e| CursedError::CompilationError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 389 - .map_err(|e| CursedError::CompilationError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] 389 + .map_err(|e| CursedError::CompilerError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:392:41 [INFO] [stdout] | [INFO] [stdout] 392 | let function_ptr = SafePointer::new(jit_fn.as_raw() as *const u8); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jit_runtime.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn new(ptr: *const u8) -> Self { [INFO] [stdout] | ------------------------------ private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | context.i1_type().into(), // is_ready [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | context.i16_type().into(), // is_ready [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:466:39 [INFO] [stdout] | [INFO] [stdout] 466 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 466 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 466 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Generic` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:478:63 [INFO] [stdout] | [INFO] [stdout] 478 | self.context.i8_type().ptr_type(AddressSpace::Generic), [INFO] [stdout] | ^^^^^^^ associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:492:39 [INFO] [stdout] | [INFO] [stdout] 492 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 492 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 492 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | context.i1_type().into(), // is_completed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 | context.i16_type().into(), // is_completed [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:513:39 [INFO] [stdout] | [INFO] [stdout] 513 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 513 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 513 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:543:30 [INFO] [stdout] | [INFO] [stdout] 543 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | context.i1_type().into(), // is_resolved [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | context.i16_type().into(), // is_resolved [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:548:30 [INFO] [stdout] | [INFO] [stdout] 548 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `i1_type` found for reference `&'ctx inkwell::context::Context` in the current scope [INFO] [stdout] --> src/codegen/llvm/async_await.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | context.i1_type().into(), // is_rejected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `i16_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | context.i16_type().into(), // is_rejected [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:92:82 [INFO] [stdout] | [INFO] [stdout] 92 | let future_alloca = self.builder.build_alloca(self.future_type, "future")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | self.builder.build_return(Some(&future_alloca))?; [INFO] [stdout] | ----------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:549:30 [INFO] [stdout] | [INFO] [stdout] 549 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 139 | self.builder.build_conditional_branch( [INFO] [stdout] | ______________________- [INFO] [stdout] 140 | | is_ready.into_int_value(), [INFO] [stdout] 141 | | ready_block, [INFO] [stdout] 142 | | not_ready_block, [INFO] [stdout] 143 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:148:109 [INFO] [stdout] | [INFO] [stdout] 148 | let result_value = self.builder.build_load(expected_type, result_ptr.into_pointer_value(), "result")?; [INFO] [stdout] | --------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:149:64 [INFO] [stdout] | [INFO] [stdout] 149 | self.builder.build_unconditional_branch(continue_block)?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:156:133 [INFO] [stdout] | [INFO] [stdout] 156 | let resumed_result_value = self.builder.build_load(expected_type, resumed_result_ptr.into_pointer_value(), "resumed_result")?; [INFO] [stdout] | ------------------------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_gvn_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:550:30 [INFO] [stdout] | [INFO] [stdout] 550 | pass_manager.add_gvn_pass(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:157:64 [INFO] [stdout] | [INFO] [stdout] 157 | self.builder.build_unconditional_branch(continue_block)?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:161:72 [INFO] [stdout] | [INFO] [stdout] 161 | let phi = self.builder.build_phi(expected_type, "await_result")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:174:76 [INFO] [stdout] | [INFO] [stdout] 174 | let task_alloca = self.builder.build_alloca(self.task_type, "task")?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 189 | let context_alloca = self.builder.build_call( [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 190 | | malloc_fn, [INFO] [stdout] 191 | | &[self.context.i64_type().const_int(args_size as u64, false).into()], [INFO] [stdout] 192 | | "task_context", [INFO] [stdout] 193 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 206 | let task_handle = self.builder.build_call( [INFO] [stdout] | ________________________________________- [INFO] [stdout] 207 | | spawn_fn, [INFO] [stdout] 208 | | &[task_alloca.into()], [INFO] [stdout] 209 | | "task_handle", [INFO] [stdout] 210 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_cfg_simplification_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:551:30 [INFO] [stdout] | [INFO] [stdout] 551 | pass_manager.add_cfg_simplification_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:218:85 [INFO] [stdout] | [INFO] [stdout] 218 | let promise_alloca = self.builder.build_alloca(self.promise_type, "promise")?; [INFO] [stdout] | ------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 244 | let value_storage = self.builder.build_call( [INFO] [stdout] | __________________________________________- [INFO] [stdout] 245 | | malloc_fn, [INFO] [stdout] 246 | | &[value_size.into()], [INFO] [stdout] 247 | | "promise_value", [INFO] [stdout] 248 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:252:51 [INFO] [stdout] | [INFO] [stdout] 252 | self.builder.build_store(value_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:260:83 [INFO] [stdout] | [INFO] [stdout] 260 | self.builder.build_call(notify_fn, &[promise_ptr.into()], "notify_result")?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 273 | let timeout_future = self.builder.build_call( [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 274 | | timeout_fn, [INFO] [stdout] 275 | | &[future_ptr.into(), timeout_ms.into()], [INFO] [stdout] 276 | | "timeout_future", [INFO] [stdout] 277 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:291:77 [INFO] [stdout] | [INFO] [stdout] 291 | let str_ptr = self.builder.build_global_string_ptr(s, "str")?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:301:71 [INFO] [stdout] | [INFO] [stdout] 301 | let id = self.builder.build_call(next_id_fn, &[], "future_id")?; [INFO] [stdout] | ----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:308:69 [INFO] [stdout] | [INFO] [stdout] 308 | let id = self.builder.build_call(next_id_fn, &[], "task_id")?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 555 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:315:72 [INFO] [stdout] | [INFO] [stdout] 315 | let id = self.builder.build_call(next_id_fn, &[], "promise_id")?; [INFO] [stdout] | -----------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:322:80 [INFO] [stdout] | [INFO] [stdout] 322 | self.builder.build_call(yield_fn, &[future_ptr.into()], "yield_result")?; [INFO] [stdout] | ----------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:327:107 [INFO] [stdout] | [INFO] [stdout] 327 | let field_ptr = self.builder.build_struct_gep(self.future_type, future_ptr, index, "future_field")?; [INFO] [stdout] | ---------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:329:73 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(self.builder.build_load(field_type, field_ptr, "field_value")?) [INFO] [stdout] | ------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:333:107 [INFO] [stdout] | [INFO] [stdout] 333 | let field_ptr = self.builder.build_struct_gep(self.future_type, future_ptr, index, "future_field")?; [INFO] [stdout] | ---------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:334:51 [INFO] [stdout] | [INFO] [stdout] 334 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:339:101 [INFO] [stdout] | [INFO] [stdout] 339 | let field_ptr = self.builder.build_struct_gep(self.task_type, task_ptr, index, "task_field")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:340:51 [INFO] [stdout] | [INFO] [stdout] 340 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:345:110 [INFO] [stdout] | [INFO] [stdout] 345 | let field_ptr = self.builder.build_struct_gep(self.promise_type, promise_ptr, index, "promise_field")?; [INFO] [stdout] | ------------------------------------------------------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::CursedError` [INFO] [stdout] --> src/codegen/llvm/async_await.rs:346:51 [INFO] [stdout] | [INFO] [stdout] 346 | self.builder.build_store(field_ptr, value)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::CursedError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] note: `error::CursedError` needs to implement `From` [INFO] [stdout] --> src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] `error::CursedError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:556:30 [INFO] [stdout] | [INFO] [stdout] 556 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | .map_err(|e| CursedError::CompilationError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - .map_err(|e| CursedError::CompilationError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] 207 + .map_err(|e| CursedError::CompilerError(format!("LLVM target initialization failed: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_gvn_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:557:30 [INFO] [stdout] | [INFO] [stdout] 557 | pass_manager.add_gvn_pass(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | .map_err(|e| CursedError::CompilationError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 215 - .map_err(|e| CursedError::CompilationError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] 215 + .map_err(|e| CursedError::CompilerError(format!("Failed to create target: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_cfg_simplification_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:558:30 [INFO] [stdout] | [INFO] [stdout] 558 | pass_manager.add_cfg_simplification_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | ).ok_or_else(|| CursedError::CompilationError("Failed to create target machine".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 224 - ).ok_or_else(|| CursedError::CompilationError("Failed to create target machine".to_string()))?; [INFO] [stdout] 224 + ).ok_or_else(|| CursedError::CompilerError("Failed to create target machine".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_promote_memory_to_register_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:559:30 [INFO] [stdout] | [INFO] [stdout] 559 | pass_manager.add_promote_memory_to_register_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | .map_err(|e| CursedError::CompilationError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 250 - .map_err(|e| CursedError::CompilationError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] 250 + .map_err(|e| CursedError::CompilerError(format!("Failed to create execution engine: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | .ok_or_else(|| CursedError::CompilationError(format!("Function '{}' not found", name)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 310 - .ok_or_else(|| CursedError::CompilationError(format!("Function '{}' not found", name)))?; [INFO] [stdout] 310 + .ok_or_else(|| CursedError::CompilerError(format!("Function '{}' not found", name)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_aggressive_dce_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:560:30 [INFO] [stdout] | [INFO] [stdout] 560 | pass_manager.add_aggressive_dce_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|_| CursedError::CompilationError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 340 - .map_err(|_| CursedError::CompilationError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] 340 + .map_err(|_| CursedError::CompilerError("Failed to acquire compilation queue".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 352 - .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] 352 + .map_err(|_| CursedError::CompilerError("Failed to read statistics".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_jump_threading_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 561 | pass_manager.add_jump_threading_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:374:41 [INFO] [stdout] | [INFO] [stdout] 374 | .ok_or_else(|| CursedError::CompilationError("No active module".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 374 - .ok_or_else(|| CursedError::CompilationError("No active module".to_string()))?; [INFO] [stdout] 374 + .ok_or_else(|| CursedError::CompilerError("No active module".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:384:41 [INFO] [stdout] | [INFO] [stdout] 384 | .ok_or_else(|| CursedError::CompilationError("No execution engine".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - .ok_or_else(|| CursedError::CompilationError("No execution engine".to_string()))?; [INFO] [stdout] 384 + .ok_or_else(|| CursedError::CompilerError("No execution engine".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:569:30 [INFO] [stdout] | [INFO] [stdout] 569 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:389:43 [INFO] [stdout] | [INFO] [stdout] 389 | .map_err(|e| CursedError::CompilationError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 389 - .map_err(|e| CursedError::CompilationError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] 389 + .map_err(|e| CursedError::CompilerError(format!("Failed to get JIT function: {}", e)))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:392:41 [INFO] [stdout] | [INFO] [stdout] 392 | let function_ptr = SafePointer::new(jit_fn.as_raw() as *const u8); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/jit_runtime.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn new(ptr: *const u8) -> Self { [INFO] [stdout] | ------------------------------ private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:466:39 [INFO] [stdout] | [INFO] [stdout] 466 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 466 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 466 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Generic` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:478:63 [INFO] [stdout] | [INFO] [stdout] 478 | self.context.i8_type().ptr_type(AddressSpace::Generic), [INFO] [stdout] | ^^^^^^^ associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:492:39 [INFO] [stdout] | [INFO] [stdout] 492 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 492 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 492 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_constant_propagation_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | pass_manager.add_constant_propagation_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:513:39 [INFO] [stdout] | [INFO] [stdout] 513 | .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 513 - .map_err(|_| CursedError::CompilationError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] 513 + .map_err(|_| CursedError::CompilerError("Failed to acquire symbol resolver".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:576:30 [INFO] [stdout] | [INFO] [stdout] 576 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:543:30 [INFO] [stdout] | [INFO] [stdout] 543 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_constant_propagation_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | pass_manager.add_constant_propagation_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:548:30 [INFO] [stdout] | [INFO] [stdout] 548 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:549:30 [INFO] [stdout] | [INFO] [stdout] 549 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_aggressive_dce_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:578:30 [INFO] [stdout] | [INFO] [stdout] 578 | pass_manager.add_aggressive_dce_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_gvn_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:550:30 [INFO] [stdout] | [INFO] [stdout] 550 | pass_manager.add_gvn_pass(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_jump_threading_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | pass_manager.add_jump_threading_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as PassManagerSubType>::Input == ()` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | let pass_manager = PassManager::create(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Module<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:613:39 [INFO] [stdout] | [INFO] [stdout] 613 | .map_err(|_| CursedError::CompilationError("Failed to update hot path info".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 613 - .map_err(|_| CursedError::CompilationError("Failed to update hot path info".to_string()))?; [INFO] [stdout] 613 + .map_err(|_| CursedError::CompilerError("Failed to update hot path info".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_cfg_simplification_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:551:30 [INFO] [stdout] | [INFO] [stdout] 551 | pass_manager.add_cfg_simplification_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn FnOnce(std::result::Result) + std::marker::Send + 'static)` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 150 | completion_callback: Option) + Send>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `(dyn FnOnce(std::result::Result) + std::marker::Send + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_instruction_combining_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 555 | pass_manager.add_instruction_combining_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:419:39 [INFO] [stdout] | [INFO] [stdout] 419 | .map_err(|e| CursedError::CompilationError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 419 - .map_err(|e| CursedError::CompilationError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] 419 + .map_err(|e| CursedError::CompilerError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 481 - .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] 481 + .map_err(|e| CursedError::CompilerError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_reassociate_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:556:30 [INFO] [stdout] | [INFO] [stdout] 556 | pass_manager.add_reassociate_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:485:37 [INFO] [stdout] | [INFO] [stdout] 485 | return Err(CursedError::CompilationError("Memory allocation failed".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 485 - return Err(CursedError::CompilationError("Memory allocation failed".to_string())); [INFO] [stdout] 485 + return Err(CursedError::CompilerError("Memory allocation failed".to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 512 - .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] 512 + .map_err(|e| CursedError::CompilerError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_gvn_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:557:30 [INFO] [stdout] | [INFO] [stdout] 557 | pass_manager.add_gvn_pass(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:522:30 [INFO] [stdout] | [INFO] [stdout] 522 | Err(CursedError::CompilationError("Invalid memory pointer".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 522 - Err(CursedError::CompilationError("Invalid memory pointer".to_string())) [INFO] [stdout] 522 + Err(CursedError::CompilerError("Invalid memory pointer".to_string())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:635:43 [INFO] [stdout] | [INFO] [stdout] 635 | .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 635 - .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] 635 + .map_err(|_| CursedError::CompilerError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_cfg_simplification_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:558:30 [INFO] [stdout] | [INFO] [stdout] 558 | pass_manager.add_cfg_simplification_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 673 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 673 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 686 - .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] 686 + .map_err(|_| CursedError::CompilerError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_promote_memory_to_register_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:559:30 [INFO] [stdout] | [INFO] [stdout] 559 | pass_manager.add_promote_memory_to_register_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:717:51 [INFO] [stdout] | [INFO] [stdout] 717 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 717 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 717 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_aggressive_dce_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:560:30 [INFO] [stdout] | [INFO] [stdout] 560 | pass_manager.add_aggressive_dce_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:737:43 [INFO] [stdout] | [INFO] [stdout] 737 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 737 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 737 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_jump_threading_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 561 | pass_manager.add_jump_threading_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:740:45 [INFO] [stdout] | [INFO] [stdout] 740 | .ok_or_else(|| CursedError::CompilationError(format!("Function {} not found", function_id)))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 740 - .ok_or_else(|| CursedError::CompilationError(format!("Function {} not found", function_id)))? [INFO] [stdout] 740 + .ok_or_else(|| CursedError::CompilerError(format!("Function {} not found", function_id)))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:751:43 [INFO] [stdout] | [INFO] [stdout] 751 | .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 751 - .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] 751 + .map_err(|_| CursedError::CompilerError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:569:30 [INFO] [stdout] | [INFO] [stdout] 569 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:776:39 [INFO] [stdout] | [INFO] [stdout] 776 | .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 776 - .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] 776 + .map_err(|_| CursedError::CompilerError("Failed to read statistics".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `inkwell::context::Context`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&'static inkwell::context::Context` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `PhantomData<&'static inkwell::context::Context>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `jit_compilation::SymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct SymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_constant_propagation_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | pass_manager.add_constant_propagation_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:945:43 [INFO] [stdout] | [INFO] [stdout] 945 | .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 945 - .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] 945 + .map_err(|_| CursedError::CompilerError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_dead_code_elimination_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:576:30 [INFO] [stdout] | [INFO] [stdout] 576 | pass_manager.add_dead_code_elimination_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_first_use` found for reference `&GlobalValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | global.get_first_use().is_none() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&GlobalValue<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BasicValue` which provides `get_first_use` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use inkwell::values::BasicValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_constant_propagation_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | pass_manager.add_constant_propagation_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Ret` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | inkwell::values::InstructionOpcode::Ret | [INFO] [stdout] | ^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | inkwell::values::InstructionOpcode::CondBr | [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_aggressive_dce_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:578:30 [INFO] [stdout] | [INFO] [stdout] 578 | pass_manager.add_aggressive_dce_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_call_site_value` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:188:58 [INFO] [stdout] | [INFO] [stdout] 188 | if let Some(call_site) = instruction.as_call_site_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:210:62 [INFO] [stdout] | [INFO] [stdout] 210 | let all_blocks: Vec<_> = function.get_basic_blocks().collect(); [INFO] [stdout] | ^^^^^^^ `Vec>` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 210 | let all_blocks: Vec<_> = function.get_basic_blocks().into_iter().collect(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_jump_threading_pass` found for struct `inkwell::passes::PassManager` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | pass_manager.add_jump_threading_pass(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `inkwell::passes::PassManager<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as PassManagerSubType>::Input == ()` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | let pass_manager = PassManager::create(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Module<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for struct `inkwell::values::InstructionValue` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | inkwell::values::InstructionOpcode::CondBr => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:613:39 [INFO] [stdout] | [INFO] [stdout] 613 | .map_err(|_| CursedError::CompilationError("Failed to update hot path info".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 613 - .map_err(|_| CursedError::CompilationError("Failed to update hot path info".to_string()))?; [INFO] [stdout] 613 + .map_err(|_| CursedError::CompilerError("Failed to update hot path info".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn FnOnce(std::result::Result) + std::marker::Send + 'static)` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 150 | completion_callback: Option) + Send>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `(dyn FnOnce(std::result::Result) + std::marker::Send + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:267:78 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(target_block) = target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:275:81 [INFO] [stdout] | [INFO] [stdout] 275 | if let Some(true_block) = true_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:419:39 [INFO] [stdout] | [INFO] [stdout] 419 | .map_err(|e| CursedError::CompilationError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 419 - .map_err(|e| CursedError::CompilationError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] 419 + .map_err(|e| CursedError::CompilerError(format!("Failed to load library {}: {}", path, e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:280:83 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(false_block) = false_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 481 - .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] 481 + .map_err(|e| CursedError::CompilerError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:485:37 [INFO] [stdout] | [INFO] [stdout] 485 | return Err(CursedError::CompilationError("Memory allocation failed".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 485 - return Err(CursedError::CompilationError("Memory allocation failed".to_string())); [INFO] [stdout] 485 + return Err(CursedError::CompilerError("Memory allocation failed".to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:289:82 [INFO] [stdout] | [INFO] [stdout] 289 | if let Some(target_block) = target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:319:49 [INFO] [stdout] | [INFO] [stdout] 319 | inkwell::values::InstructionOpcode::CondBr => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 512 - .map_err(|e| CursedError::CompilationError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] 512 + .map_err(|e| CursedError::CompilerError(format!("Invalid memory layout: {}", e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:522:30 [INFO] [stdout] | [INFO] [stdout] 522 | Err(CursedError::CompilationError("Invalid memory pointer".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 522 - Err(CursedError::CompilationError("Invalid memory pointer".to_string())) [INFO] [stdout] 522 + Err(CursedError::CompilerError("Invalid memory pointer".to_string())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:323:58 [INFO] [stdout] | [INFO] [stdout] 323 | if let Some(int_val) = const_val.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 323 - if let Some(int_val) = const_val.as_int_value() { [INFO] [stdout] 323 + if let Some(int_val) = const_val.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:635:43 [INFO] [stdout] | [INFO] [stdout] 635 | .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 635 - .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] 635 + .map_err(|_| CursedError::CompilerError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 673 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 673 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:686:43 [INFO] [stdout] | [INFO] [stdout] 686 | .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 686 - .map_err(|_| CursedError::CompilationError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] 686 + .map_err(|_| CursedError::CompilerError("Failed to acquire compiler lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:331:97 [INFO] [stdout] | [INFO] [stdout] 331 | ... if let Some(true_block) = true_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:717:51 [INFO] [stdout] | [INFO] [stdout] 717 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 717 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 717 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'ctx>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | ... instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'ctx>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:737:43 [INFO] [stdout] | [INFO] [stdout] 737 | .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 737 - .map_err(|_| CursedError::CompilationError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] 737 + .map_err(|_| CursedError::CompilerError("Failed to acquire cache lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:740:45 [INFO] [stdout] | [INFO] [stdout] 740 | .ok_or_else(|| CursedError::CompilationError(format!("Function {} not found", function_id)))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 740 - .ok_or_else(|| CursedError::CompilationError(format!("Function {} not found", function_id)))? [INFO] [stdout] 740 + .ok_or_else(|| CursedError::CompilerError(format!("Function {} not found", function_id)))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:342:99 [INFO] [stdout] | [INFO] [stdout] 342 | ... if let Some(false_block) = false_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:751:43 [INFO] [stdout] | [INFO] [stdout] 751 | .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 751 - .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] 751 + .map_err(|_| CursedError::CompilerError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:776:39 [INFO] [stdout] | [INFO] [stdout] 776 | .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 776 - .map_err(|_| CursedError::CompilationError("Failed to read statistics".to_string()))?; [INFO] [stdout] 776 + .map_err(|_| CursedError::CompilerError("Failed to read statistics".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMBuilder` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMBuilder` [INFO] [stdout] note: required because it appears within the type `inkwell::builder::Builder<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Builder<'ctx> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMOpaqueTargetMachine` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetMachine` [INFO] [stdout] note: required because it appears within the type `TargetMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1012:12 [INFO] [stdout] | [INFO] [stdout] 1012 | pub struct TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'ctx>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:345:57 [INFO] [stdout] | [INFO] [stdout] 345 | ... instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'ctx>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMModule` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `*mut LLVMModule` [INFO] [stdout] = note: required for `Cell<*mut LLVMModule>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `Rc<*mut LLVMOpaqueExecutionEngine>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `Rc<*mut LLVMOpaqueExecutionEngine>` [INFO] [stdout] note: required because it appears within the type `inkwell::execution_engine::ExecEngineInner<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMOpaqueTargetData` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CursedJitCompiler`, the trait `std::marker::Send` is not implemented for `*mut LLVMOpaqueTargetData` [INFO] [stdout] note: required because it appears within the type `TargetData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/targets.rs:1249:12 [INFO] [stdout] | [INFO] [stdout] 1249 | pub struct TargetData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `ExecutionEngine<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/execution_engine.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const i8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*const i8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `std::option::Option`, the trait `std::marker::Send` is not implemented for `*const i8` [INFO] [stdout] note: required because it appears within the type `inkwell::support::LLVMStringOrRaw` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/support/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) enum LLVMStringOrRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `DataLayout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/data_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] = note: required for `RefCell>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMContext` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `inkwell::context::Context`, the trait `Sync` is not implemented for `*mut LLVMContext` [INFO] [stdout] note: required because it appears within the type `context::ContextImpl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct ContextImpl(pub(crate) LLVMContextRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/context.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `&'static inkwell::context::Context` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `PhantomData<&'static inkwell::context::Context>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/marker.rs:815:12 [INFO] [stdout] note: required because it appears within the type `inkwell::module::Module<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/module.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Module<'ctx> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*const u8` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*const u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(String, *const u8)`, the trait `std::marker::Send` is not implemented for `*const u8` [INFO] [stdout] = note: required because it appears within the type `(String, *const u8)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, *const u8)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] note: required because it appears within the type `jit_compilation::SymbolResolver` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct SymbolResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMValue` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `Sync` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | __________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 847 | | Self::background_worker(worker_id, queue, compiler, function_cache, stats, shutdown, config); [INFO] [stdout] 848 | | }); [INFO] [stdout] | |_____________^ `*mut LLVMValue` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `CompiledJitFunction`, the trait `std::marker::Send` is not implemented for `*mut LLVMValue` [INFO] [stdout] note: required because it appears within the type `values::Value<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Value<'ctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `inkwell::values::FunctionValue<'static>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/fn_value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct FunctionValue<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `std::option::Option>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:591:10 [INFO] [stdout] note: required because it appears within the type `CompiledJitFunction` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CompiledJitFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Arc` to implement `std::marker::Send` [INFO] [stdout] = note: required because it appears within the type `(String, std::sync::Arc)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, std::sync::Arc)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.15.4/src/map.rs:185:12 [INFO] [stdout] note: required because it appears within the type `std::collections::HashMap>` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/collections/hash/map.rs:242:12 [INFO] [stdout] = note: required for `std::sync::RwLock>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `CursedJitCompiler` [INFO] [stdout] --> src/codegen/llvm/jit_compilation.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CursedJitCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `std::sync::Mutex` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `std::sync::Arc>` to implement `std::marker::Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:846:40 [INFO] [stdout] | [INFO] [stdout] 846 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/thread/mod.rs:723:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CompilationError` found for enum `error::CursedError` in the current scope [INFO] [stdout] --> src/codegen/llvm/jit_engine.rs:945:43 [INFO] [stdout] | [INFO] [stdout] 945 | .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `error::CursedError` [INFO] [stdout] | [INFO] [stdout] ::: src/error/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CursedError { [INFO] [stdout] | -------------------- variant or associated item `CompilationError` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `error::CursedError` consider using one of the following associated functions: [INFO] [stdout] error::CursedError::syntax_error [INFO] [stdout] error::CursedError::type_error [INFO] [stdout] error::CursedError::runtime_error [INFO] [stdout] error::CursedError::import_error [INFO] [stdout] and 3 others [INFO] [stdout] --> src/error/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn syntax_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn type_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn runtime_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn import_error(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 945 - .map_err(|_| CursedError::CompilationError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] 945 + .map_err(|_| CursedError::CompilerError("Failed to acquire tracker lock".to_string()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_first_use` found for reference `&inkwell::values::FunctionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | function.get_first_use().is_none() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_first_param` with a similar name [INFO] [stdout] | [INFO] [stdout] 399 - function.get_first_use().is_none() [INFO] [stdout] 399 + function.get_first_param().is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Ret` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:445:49 [INFO] [stdout] | [INFO] [stdout] 445 | inkwell::values::InstructionOpcode::Ret | [INFO] [stdout] | ^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | inkwell::values::InstructionOpcode::CondBr | [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_first_use` found for reference `&GlobalValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | global.get_first_use().is_none() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&GlobalValue<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BasicValue` which provides `get_first_use` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use inkwell::values::BasicValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_call_site_value` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(call_site) = instruction.as_call_site_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Ret` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | inkwell::values::InstructionOpcode::Ret | [INFO] [stdout] | ^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | inkwell::values::InstructionOpcode::CondBr | [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:484:42 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(value) = operand.left() { [INFO] [stdout] | ^^^^ method not found in `std::option::Option, inkwell::basic_block::BasicBlock<'_>>>` [INFO] [stdout] | [INFO] [stdout] note: the method `left` exists on the type `either::Either, inkwell::basic_block::BasicBlock<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/either-1.8.0/src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn left(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `either::Either, inkwell::basic_block::BasicBlock<'_>>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(value) = operand.expect("REASON").left() { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_call_site_value` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:188:58 [INFO] [stdout] | [INFO] [stdout] 188 | if let Some(call_site) = instruction.as_call_site_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:210:62 [INFO] [stdout] | [INFO] [stdout] 210 | let all_blocks: Vec<_> = function.get_basic_blocks().collect(); [INFO] [stdout] | ^^^^^^^ `Vec>` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 210 | let all_blocks: Vec<_> = function.get_basic_blocks().into_iter().collect(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for struct `inkwell::values::InstructionValue` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | inkwell::values::InstructionOpcode::CondBr => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:267:78 [INFO] [stdout] | [INFO] [stdout] 267 | if let Some(target_block) = target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | instruction.replace_all_uses_with(&constant); [INFO] [stdout] | --------------------- ^^^^^^^^^ expected `&InstructionValue<'_>`, found `&BasicValueEnum<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] found reference `&BasicValueEnum<'_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/instruction_value.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn replace_all_uses_with(self, other: &InstructionValue<'ctx>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:275:81 [INFO] [stdout] | [INFO] [stdout] 275 | if let Some(true_block) = true_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:162:62 [INFO] [stdout] | [INFO] [stdout] 162 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 162 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:280:83 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(false_block) = false_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:289:82 [INFO] [stdout] | [INFO] [stdout] 289 | if let Some(target_block) = target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:162:82 [INFO] [stdout] | [INFO] [stdout] 162 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 162 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:319:49 [INFO] [stdout] | [INFO] [stdout] 319 | inkwell::values::InstructionOpcode::CondBr => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:323:58 [INFO] [stdout] | [INFO] [stdout] 323 | if let Some(int_val) = const_val.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 323 - if let Some(int_val) = const_val.as_int_value() { [INFO] [stdout] 323 + if let Some(int_val) = const_val.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:331:97 [INFO] [stdout] | [INFO] [stdout] 331 | ... if let Some(true_block) = true_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 184 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 184 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'ctx>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:334:57 [INFO] [stdout] | [INFO] [stdout] 334 | ... instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'ctx>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 191 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 191 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_basic_block` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:342:99 [INFO] [stdout] | [INFO] [stdout] 342 | ... if let Some(false_block) = false_target.left().and_then(|v| v.as_basic_block()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `BasicValueEnum<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for reference `&inkwell::values::InstructionValue<'ctx>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:345:57 [INFO] [stdout] | [INFO] [stdout] 345 | ... instruction.delete(); [INFO] [stdout] | ^^^^^^ method not found in `&inkwell::values::InstructionValue<'ctx>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:207:62 [INFO] [stdout] | [INFO] [stdout] 207 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 207 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_first_use` found for reference `&inkwell::values::FunctionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | function.get_first_use().is_none() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_first_param` with a similar name [INFO] [stdout] | [INFO] [stdout] 399 - function.get_first_use().is_none() [INFO] [stdout] 399 + function.get_first_param().is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Ret` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:445:49 [INFO] [stdout] | [INFO] [stdout] 445 | inkwell::values::InstructionOpcode::Ret | [INFO] [stdout] | ^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CondBr` found for enum `InstructionOpcode` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | inkwell::values::InstructionOpcode::CondBr | [INFO] [stdout] | ^^^^^^ variant or associated item not found in `InstructionOpcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:207:82 [INFO] [stdout] | [INFO] [stdout] 207 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 207 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_call_site_value` found for reference `&inkwell::values::InstructionValue<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(call_site) = instruction.as_call_site_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/dead_code_elimination.rs:484:42 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(value) = operand.left() { [INFO] [stdout] | ^^^^ method not found in `std::option::Option, inkwell::basic_block::BasicBlock<'_>>>` [INFO] [stdout] | [INFO] [stdout] note: the method `left` exists on the type `either::Either, inkwell::basic_block::BasicBlock<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/either-1.8.0/src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn left(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `either::Either, inkwell::basic_block::BasicBlock<'_>>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(value) = operand.expect("REASON").left() { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 229 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_type` found for enum `BasicTypeEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 237 - if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] 237 + if let Some(int_type) = lhs.get_type().is_int_type() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:252:62 [INFO] [stdout] | [INFO] [stdout] 252 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 252 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | instruction.replace_all_uses_with(&constant); [INFO] [stdout] | --------------------- ^^^^^^^^^ expected `&InstructionValue<'_>`, found `&BasicValueEnum<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&inkwell::values::InstructionValue<'_>` [INFO] [stdout] found reference `&BasicValueEnum<'_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.4.0/src/values/instruction_value.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn replace_all_uses_with(self, other: &InstructionValue<'ctx>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:252:82 [INFO] [stdout] | [INFO] [stdout] 252 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 252 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 274 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 274 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:162:62 [INFO] [stdout] | [INFO] [stdout] 162 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 162 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:280:40 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 280 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 280 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:162:82 [INFO] [stdout] | [INFO] [stdout] 162 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 162 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 292 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 292 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 184 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 184 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:308:62 [INFO] [stdout] | [INFO] [stdout] 308 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 308 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 308 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:308:82 [INFO] [stdout] | [INFO] [stdout] 308 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 308 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 308 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 191 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 191 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:327:62 [INFO] [stdout] | [INFO] [stdout] 327 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 327 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 327 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:207:62 [INFO] [stdout] | [INFO] [stdout] 207 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 207 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:327:82 [INFO] [stdout] | [INFO] [stdout] 327 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 327 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 327 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:346:62 [INFO] [stdout] | [INFO] [stdout] 346 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 346 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 346 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:207:82 [INFO] [stdout] | [INFO] [stdout] 207 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 207 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 207 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 346 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 346 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 229 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:365:62 [INFO] [stdout] | [INFO] [stdout] 365 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 365 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 365 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_type` found for enum `BasicTypeEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 237 - if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] 237 + if let Some(int_type) = lhs.get_type().is_int_type() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:365:82 [INFO] [stdout] | [INFO] [stdout] 365 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 365 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 365 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:252:62 [INFO] [stdout] | [INFO] [stdout] 252 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 252 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:384:62 [INFO] [stdout] | [INFO] [stdout] 384 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 384 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:252:82 [INFO] [stdout] | [INFO] [stdout] 252 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 252 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 252 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:384:82 [INFO] [stdout] | [INFO] [stdout] 384 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 384 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 274 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 274 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:280:40 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 280 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 280 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 406 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 406 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 292 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 292 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:308:62 [INFO] [stdout] | [INFO] [stdout] 308 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 308 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 308 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:412:40 [INFO] [stdout] | [INFO] [stdout] 412 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 412 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 412 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:433:62 [INFO] [stdout] | [INFO] [stdout] 433 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 433 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 433 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:433:82 [INFO] [stdout] | [INFO] [stdout] 433 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 433 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 433 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:308:82 [INFO] [stdout] | [INFO] [stdout] 308 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 308 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 308 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:455:40 [INFO] [stdout] | [INFO] [stdout] 455 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 455 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 455 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:327:62 [INFO] [stdout] | [INFO] [stdout] 327 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 327 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 327 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 461 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 461 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:327:82 [INFO] [stdout] | [INFO] [stdout] 327 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 327 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 327 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:482:62 [INFO] [stdout] | [INFO] [stdout] 482 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 482 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 482 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:482:82 [INFO] [stdout] | [INFO] [stdout] 482 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 482 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 482 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:504:40 [INFO] [stdout] | [INFO] [stdout] 504 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 504 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 504 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:346:62 [INFO] [stdout] | [INFO] [stdout] 346 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 346 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 346 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:510:40 [INFO] [stdout] | [INFO] [stdout] 510 | if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 510 - if let Some(lhs_int) = lhs.as_int_value() { [INFO] [stdout] 510 + if let Some(lhs_int) = lhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 346 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 346 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_type` found for enum `BasicTypeEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:518:56 [INFO] [stdout] | [INFO] [stdout] 518 | if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 518 - if let Some(int_type) = lhs.get_type().as_int_type() { [INFO] [stdout] 518 + if let Some(int_type) = lhs.get_type().is_int_type() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:365:62 [INFO] [stdout] | [INFO] [stdout] 365 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 365 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 365 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:533:62 [INFO] [stdout] | [INFO] [stdout] 533 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 533 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 533 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:365:82 [INFO] [stdout] | [INFO] [stdout] 365 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 365 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 365 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:533:82 [INFO] [stdout] | [INFO] [stdout] 533 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 533 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 533 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:384:62 [INFO] [stdout] | [INFO] [stdout] 384 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 384 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:549:62 [INFO] [stdout] | [INFO] [stdout] 549 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 549 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 549 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:549:82 [INFO] [stdout] | [INFO] [stdout] 549 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 549 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 549 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:384:82 [INFO] [stdout] | [INFO] [stdout] 384 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 384 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 384 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:565:62 [INFO] [stdout] | [INFO] [stdout] 565 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 565 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 565 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.is_int_value(), rhs.as_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for enum `BasicValueEnum` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 406 - if let Some(rhs_int) = rhs.as_int_value() { [INFO] [stdout] 406 + if let Some(rhs_int) = rhs.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_int_value` found for reference `&BasicValueEnum<'_>` in the current scope [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:565:82 [INFO] [stdout] | [INFO] [stdout] 565 | if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_int_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 565 - if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.as_int_value()) { [INFO] [stdout] 565 + if let (Some(lhs_int), Some(rhs_int)) = (lhs.as_int_value(), rhs.is_int_value()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:578:63 [INFO] [stdout] | [INFO] [stdout] 576 | fn fold_icmp(&self, instruction: &InstructionValue<'ctx>) -> Result>> { [INFO] [stdout] | ------------------------------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] 577 | if instruction.get_num_operands() >= 3 { [INFO] [stdout] 578 | let predicate_operand = instruction.get_operand(0)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result>, error::CursedError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/codegen/llvm/passes/constant_propagation.rs:579:49 [INFO] [stdout] | [WARN] too many lines in the log, truncating it