[INFO] fetching crate wasmer_inkwell 0.2.0-alpha.2... [INFO] testing wasmer_inkwell-0.2.0-alpha.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate wasmer_inkwell 0.2.0-alpha.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate wasmer_inkwell 0.2.0-alpha.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer_inkwell 0.2.0-alpha.2 [INFO] finished tweaking crates.io crate wasmer_inkwell 0.2.0-alpha.2 [INFO] tweaked toml for crates.io crate wasmer_inkwell 0.2.0-alpha.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate wasmer_inkwell 0.2.0-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded semver-parser v0.6.2 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded instant v0.1.9 [INFO] [stderr] Downloaded alloc-traits v0.1.1 [INFO] [stderr] Downloaded once_cell v1.7.1 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded llvm-sys v90.2.0 [INFO] [stderr] Downloaded semver v0.4.1 [INFO] [stderr] Downloaded llvm-sys v70.4.0 [INFO] [stderr] Downloaded llvm-sys v38.3.0 [INFO] [stderr] Downloaded llvm-sys v37.3.0 [INFO] [stderr] Downloaded llvm-sys v39.3.0 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded llvm-sys v36.3.0 [INFO] [stderr] Downloaded llvm-sys v50.4.0 [INFO] [stderr] Downloaded semver v0.6.0 [INFO] [stderr] Downloaded llvm-sys v110.0.1 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded syn v1.0.60 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded parking_lot v0.11.1 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded inkwell_internals v0.3.0 [INFO] [stderr] Downloaded llvm-sys v60.6.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded llvm-sys v40.4.0 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.3 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] [stderr] Downloaded static-alloc v0.2.2 [INFO] [stderr] Downloaded llvm-sys v100.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55f0baaf6c8988cf98e79994723a51847892bed314ceb7c78f33dc563675b4c4 [INFO] running `Command { std: "docker" "start" "-a" "55f0baaf6c8988cf98e79994723a51847892bed314ceb7c78f33dc563675b4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f0baaf6c8988cf98e79994723a51847892bed314ceb7c78f33dc563675b4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f0baaf6c8988cf98e79994723a51847892bed314ceb7c78f33dc563675b4c4", kill_on_drop: false }` [INFO] [stdout] 55f0baaf6c8988cf98e79994723a51847892bed314ceb7c78f33dc563675b4c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1ae0346dc6311d186acd78c99afb6d53b2267ae874521e4998b2df23a80f647 [INFO] running `Command { std: "docker" "start" "-a" "d1ae0346dc6311d186acd78c99afb6d53b2267ae874521e4998b2df23a80f647", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling once_cell v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling wasmer_inkwell v0.2.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling inkwell_internals v0.3.0 [INFO] [stdout] error: One of the LLVM feature flags must be provided: llvm3-6 llvm3-7 llvm3-8 llvm3-9 llvm4-0 llvm5-0 llvm6-0 llvm7-0 llvm8-0 llvm9-0 llvm10-0 llvm11-0 [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | compile_error!(concat!("One of the LLVM feature flags must be provided: ", $($all, " "),*)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | assert_unique_used_features!{"llvm3-6", "llvm3-7", "llvm3-8", "llvm3-9", "llvm4-0", "llvm5-0", "llvm6-0", "llvm7-0", "llvm8-0", "llvm9-0", "llvm10-0", "llvm11-0"} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_used_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/error_handling.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use llvm_sys::core::{LLVMGetDiagInfoDescription, LLVMGetDiagInfoSeverity}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/error_handling.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use llvm_sys::prelude::LLVMDiagnosticInfoRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::core::{LLVMCreateMessage, LLVMDisposeMessage}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llvm_sys::support::LLVMLoadLibraryPermanently; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | use llvm_sys::core::LLVMShutdown; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/support/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use llvm_sys::core::LLVMIsMultithreaded; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/comdat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::comdat::{LLVMComdatSelectionKind, LLVMSetComdatSelectionKind, LLVMGetComdatSelectionKind}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/comdat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llvm_sys::prelude::LLVMComdatRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/basic_block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::core::{LLVMGetBasicBlockParent, LLVMGetBasicBlockTerminator, LLVMGetNextBasicBlock, LLVMIsABasicBlock, LLVMIsConstant, LLVM... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/basic_block.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llvm_sys::prelude::{LLVMValueRef, LLVMBasicBlockRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/builder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm_sys::core::{LLVMBuildAdd, LLVMBuildAlloca, LLVMBuildAnd, LLVMBuildArrayAlloca, LLVMBuildArrayMalloc, LLVMBuildAtomicRMW, LLVMBui... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/builder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use llvm_sys::prelude::{LLVMBuilderRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/support/error_handling.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use llvm_sys::LLVMDiagnosticSeverity; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/builder.rs:1869:13 [INFO] [stdout] | [INFO] [stdout] 1869 | use llvm_sys::core::LLVMSetCurrentDebugLocation; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::core::{LLVMAppendBasicBlockInContext, LLVMContextCreate, LLVMContextDispose, LLVMCreateBuilderInContext, LLVMDoubleTypeInCo... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use llvm_sys::prelude::{LLVMContextRef, LLVMTypeRef, LLVMValueRef, LLVMDiagnosticInfoRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use llvm_sys::ir_reader::LLVMParseIRInContext; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/context.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use llvm_sys::target::{LLVMIntPtrTypeForASInContext, LLVMIntPtrTypeInContext}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use llvm_sys::debuginfo::LLVMDWARFTypeEncoding; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | use llvm_sys::debuginfo::LLVMDebugMetadataVersion; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | use llvm_sys::debuginfo::LLVMDisposeDIBuilder; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | use llvm_sys::debuginfo::LLVMMetadataReplaceAllUsesWith; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use llvm_sys::debuginfo::LLVMTemporaryMDNode; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use llvm_sys::debuginfo::{LLVMCreateDIBuilder, LLVMCreateDIBuilderDisallowUnresolved}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | use llvm_sys::debuginfo::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | use llvm_sys::prelude::{LLVMDIBuilderRef, LLVMMetadataRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use llvm_sys::core::LLVMMetadataAsValue; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1175:9 [INFO] [stdout] | [INFO] [stdout] 1175 | use llvm_sys::debuginfo::{LLVMDWARFEmissionKind, LLVMDWARFSourceLanguage}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | pub use llvm_sys::debuginfo::LLVMDIFlags as DIFlags; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/execution_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::execution_engine::{LLVMGetExecutionEngineTargetData, LLVMExecutionEngineRef, LLVMRunFunction, LLVMRunFunctionAsMain, LLVMDi... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/memory_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMCreateMemoryBufferWithContentsOfFile, LLVMCreateMemoryBufferWithSTDIN, LLVMCreateMemoryBufferWithMemoryRange, LL... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/memory_buffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMMemoryBufferRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/memory_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::object::LLVMCreateObjectFile; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::analysis::{LLVMVerifyModule, LLVMVerifierFailureAction}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::bit_reader::LLVMParseBitcodeInContext; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llvm_sys::bit_writer::{LLVMWriteBitcodeToFile, LLVMWriteBitcodeToMemoryBuffer}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use llvm_sys::core::{LLVMAddFunction, LLVMAddGlobal, LLVMDumpModule, LLVMGetNamedFunction, LLVMGetTypeByName, LLVMSetDataLayout, LLVMSetT... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use llvm_sys::execution_engine::{LLVMCreateInterpreterForModule, LLVMCreateJITCompilerForModule, LLVMCreateExecutionEngineForModule}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use llvm_sys::prelude::{LLVMModuleRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use llvm_sys::{LLVMTypeKind}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | use llvm_sys::bit_writer::LLVMWriteBitcodeToFD; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | use llvm_sys::core::LLVMGetDataLayoutStr; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:790:17 [INFO] [stdout] | [INFO] [stdout] 790 | use llvm_sys::core::LLVMSetModuleInlineAsm2; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/module.rs:1253:17 [INFO] [stdout] | [INFO] [stdout] 1253 | use llvm_sys::linker::LLVMLinkModules2; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/object_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::object::{LLVMDisposeObjectFile, LLVMObjectFileRef, LLVMSectionIteratorRef, LLVMGetSections, LLVMDisposeSectionIterator, LLV... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMDisposePassManager, LLVMInitializeFunctionPassManager, LLVMFinalizeFunctionPassManager, LLVMRunFunctionPassManag... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::initialization::{LLVMInitializeCore, LLVMInitializeTransformUtils, LLVMInitializeScalarOpts, LLVMInitializeObjCARCOpts, LLV... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::{LLVMPassManagerRef, LLVMPassRegistryRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm_sys::transforms::ipo::{LLVMAddArgumentPromotionPass, LLVMAddConstantMergePass, LLVMAddDeadArgEliminationPass, LLVMAddFunctionAtt... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::transforms::pass_manager_builder::{LLVMPassManagerBuilderRef, LLVMPassManagerBuilderCreate, LLVMPassManagerBuilderDispose, ... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use llvm_sys::transforms::scalar::{LLVMAddAggressiveDCEPass, LLVMAddMemCpyOptPass, LLVMAddAlignmentFromAssumptionsPass, LLVMAddCFGSimplif... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/passes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use llvm_sys::transforms::vectorize::{LLVMAddLoopVectorizePass, LLVMAddSLPVectorizePass}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use llvm_sys::target_machine::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/targets.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | use llvm_sys::target::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/array_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstArray, LLVMGetArrayLength}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/array_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::LLVMGetTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/module.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use llvm_sys::LLVMLinkage; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/float_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstReal, LLVMConstRealOfStringAndSize, LLVMConstArray}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/float_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::execution_engine::LLVMCreateGenericValueOfFloat; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/float_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/types/enums.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::LLVMTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/fn_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::{LLVMGetParamTypes, LLVMIsFunctionVarArg, LLVMCountParamTypes, LLVMGetReturnType, LLVMGetTypeKind}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/fn_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/int_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstInt, LLVMConstAllOnes, LLVMGetIntTypeWidth, LLVMConstIntOfStringAndSize, LLVMConstIntOfArbitraryPrecision, ... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/int_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::execution_engine::LLVMCreateGenericValueOfInt; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/int_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/metadata_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::prelude::LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/ptr_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMGetPointerAddressSpace, LLVMConstArray}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/ptr_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/struct_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstNamedStruct, LLVMCountStructElementTypes, LLVMGetStructElementTypes, LLVMGetStructName, LLVMIsPackedStruct,... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/struct_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::prelude::LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/vec_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstVector, LLVMGetVectorSize, LLVMConstArray}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/vec_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/void_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::prelude::LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/types/fn_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::LLVMTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use llvm_sys::core::{LLVMAlignOf, LLVMGetTypeContext, LLVMFunctionType, LLVMArrayType, LLVMGetUndef, LLVMPointerType, LLVMPrintTypeToStri... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/types/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use llvm_sys::prelude::{LLVMTypeRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/array_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMIsAConstantArray, LLVMIsAConstantDataArray}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/array_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/basic_value_use.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::{LLVMGetNextUse, LLVMGetUser, LLVMGetUsedValue, LLVMIsABasicBlock, LLVMValueAsBasicBlock}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/basic_value_use.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::LLVMUseRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/types/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use llvm_sys::LLVMTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/call_site_value.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::core::{LLVMIsTailCall, LLVMSetTailCall, LLVMGetTypeKind, LLVMTypeOf, LLVMSetInstructionCallConv, LLVMGetInstructionCallConv... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/call_site_value.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMIsAInstruction, LLVMTypeOf, LLVMGetTypeKind}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/values/call_site_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::LLVMTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/float_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstFNeg, LLVMConstFAdd, LLVMConstFSub, LLVMConstFMul, LLVMConstFDiv, LLVMConstFRem, LLVMConstFPCast, LLVMConst... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/float_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/fn_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::analysis::{LLVMVerifierFailureAction, LLVMVerifyFunction, LLVMViewFunctionCFG, LLVMViewFunctionCFGOnly}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/fn_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::{LLVMIsAFunction, LLVMIsConstant, LLVMGetLinkage, LLVMGetPreviousFunction, LLVMGetNextFunction, LLVMGetParam, LLVMCou... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/fn_value.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use llvm_sys::prelude::{LLVMValueRef, LLVMBasicBlockRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/generic_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::execution_engine::{LLVMCreateGenericValueOfPointer, LLVMDisposeGenericValue, LLVMGenericValueIntWidth, LLVMGenericValueRef,... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/values/enums.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::LLVMTypeKind; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/global_value.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/instruction_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::{LLVMGetAlignment, LLVMSetAlignment, LLVMGetInstructionOpcode, LLVMIsTailCall, LLVMGetPreviousInstruction, LLVMGetNex... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/values/global_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::LLVMThreadLocalMode; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/instruction_value.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/int_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstNot, LLVMConstNeg, LLVMConstNSWNeg, LLVMConstNUWNeg, LLVMConstAdd, LLVMConstNSWAdd, LLVMConstNUWAdd, LLVMCo... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/int_value.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/metadata_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMIsAMDNode, LLVMIsAMDString, LLVMGetMDString, LLVMGetMDNodeNumOperands, LLVMGetMDNodeOperands}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/metadata_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/phi_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMAddIncoming, LLVMCountIncoming, LLVMGetIncomingBlock, LLVMGetIncomingValue}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/phi_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::{LLVMBasicBlockRef, LLVMValueRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/ptr_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMConstGEP, LLVMConstInBoundsGEP, LLVMConstPtrToInt, LLVMConstPointerCast, LLVMConstAddrSpaceCast}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/ptr_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/struct_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/traits.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::{LLVMConstExtractValue, LLVMConstInsertValue}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/vec_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llvm_sys::core::{LLVMIsAConstantVector, LLVMIsAConstantDataVector, LLVMConstInsertElement, LLVMConstExtractElement, LLVMIsConstantStr... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/vec_value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::prelude::LLVMValueRef; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/values/instruction_value.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use llvm_sys::LLVMOpcode; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use llvm_sys::core::{LLVMIsConstant, LLVMIsNull, LLVMIsUndef, LLVMPrintTypeToString, LLVMPrintValueToString, LLVMTypeOf, LLVMDumpValue, L... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use llvm_sys::prelude::{LLVMValueRef, LLVMTypeRef}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/mod.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | use llvm_sys::core::LLVMSetValueName2; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/values/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | use llvm_sys::core::LLVMGetValueName2; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::values::metadata_value::FIRST_CUSTOM_METADATA_KIND_ID` [INFO] [stdout] --> src/values/mod.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | pub use crate::values::metadata_value::{MetadataValue, FIRST_CUSTOM_METADATA_KIND_ID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `FIRST_CUSTOM_METADATA_KIND_ID` in `values::metadata_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llvm_sys` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use llvm_sys::{LLVMIntPredicate, LLVMRealPredicate, LLVMVisibility, LLVMThreadLocalMode, LLVMDLLStorageClass, LLVMAtomicOrdering, LLVMAto... [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::debug_info::flags::DIFlags` [INFO] [stdout] --> src/debug_info.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | pub use crate::debug_info::flags::{DIFlags, DIFlagsConstants}; [INFO] [stdout] | ^^^^^^^ no `DIFlags` in `debug_info::flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMComdatSelectionKind` [INFO] [stdout] --> src/comdat.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #[llvm_enum(LLVMComdatSelectionKind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMComdatSelectionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1226:31 [INFO] [stdout] | [INFO] [stdout] 1226 | const ZERO: DIFlags = llvm_sys::debuginfo::LLVMDIFlagZero; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1227:34 [INFO] [stdout] | [INFO] [stdout] 1227 | const PRIVATE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPrivate; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1228:36 [INFO] [stdout] | [INFO] [stdout] 1228 | const PROTECTED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagProtected; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1229:33 [INFO] [stdout] | [INFO] [stdout] 1229 | const PUBLIC: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPublic; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1230:35 [INFO] [stdout] | [INFO] [stdout] 1230 | const FWD_DECL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagFwdDecl; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1231:38 [INFO] [stdout] | [INFO] [stdout] 1231 | const APPLE_BLOCK: DIFlags = llvm_sys::debuginfo::LLVMDIFlagAppleBlock; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1234:34 [INFO] [stdout] | [INFO] [stdout] 1234 | const VIRTUAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVirtual; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1235:37 [INFO] [stdout] | [INFO] [stdout] 1235 | const ARTIFICIAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagArtificial; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1236:35 [INFO] [stdout] | [INFO] [stdout] 1236 | const EXPLICIT: DIFlags = llvm_sys::debuginfo::LLVMDIFlagExplicit; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1237:37 [INFO] [stdout] | [INFO] [stdout] 1237 | const PROTOTYPED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPrototyped; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1238:46 [INFO] [stdout] | [INFO] [stdout] 1238 | const OBJC_CLASS_COMPLETE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagObjcClassComplete; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1239:41 [INFO] [stdout] | [INFO] [stdout] 1239 | const OBJECT_POINTER: DIFlags = llvm_sys::debuginfo::LLVMDIFlagObjectPointer; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1240:33 [INFO] [stdout] | [INFO] [stdout] 1240 | const VECTOR: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVector; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1241:40 [INFO] [stdout] | [INFO] [stdout] 1241 | const STATIC_MEMBER: DIFlags = llvm_sys::debuginfo::LLVMDIFlagStaticMember; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1242:43 [INFO] [stdout] | [INFO] [stdout] 1242 | const LVALUE_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagLValueReference; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1243:43 [INFO] [stdout] | [INFO] [stdout] 1243 | const RVALUE_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagRValueReference; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1244:35 [INFO] [stdout] | [INFO] [stdout] 1244 | const RESERVED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagReserved; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1245:45 [INFO] [stdout] | [INFO] [stdout] 1245 | const SINGLE_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagSingleInheritance; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1246:47 [INFO] [stdout] | [INFO] [stdout] 1246 | const MULTIPLE_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagMultipleInheritance; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1247:46 [INFO] [stdout] | [INFO] [stdout] 1247 | const VIRTUAL_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVirtualInheritance; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1248:45 [INFO] [stdout] | [INFO] [stdout] 1248 | const INTRODUCED_VIRTUAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagIntroducedVirtual; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1249:36 [INFO] [stdout] | [INFO] [stdout] 1249 | const BIT_FIELD: DIFlags = llvm_sys::debuginfo::LLVMDIFlagBitField; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1250:36 [INFO] [stdout] | [INFO] [stdout] 1250 | const NO_RETURN: DIFlags = llvm_sys::debuginfo::LLVMDIFlagNoReturn; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1253:45 [INFO] [stdout] | [INFO] [stdout] 1253 | const TYPE_PASS_BY_VALUE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagTypePassByValue; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1254:49 [INFO] [stdout] | [INFO] [stdout] 1254 | const TYPE_PASS_BY_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagTypePassByReference; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1259:32 [INFO] [stdout] | [INFO] [stdout] 1259 | const THUNK: DIFlags = llvm_sys::debuginfo::LLVMDIFlagThunk; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `llvm_sys` [INFO] [stdout] --> src/debug_info.rs:1270:48 [INFO] [stdout] | [INFO] [stdout] 1270 | const INDIRECT_VIRTUAL_BASE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagIndirectVirtualBase; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `llvm_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMDWARFEmissionKind` [INFO] [stdout] --> src/debug_info.rs:1274:17 [INFO] [stdout] | [INFO] [stdout] 1274 | #[llvm_enum(LLVMDWARFEmissionKind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMDWARFEmissionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMDWARFSourceLanguage` [INFO] [stdout] --> src/debug_info.rs:1286:17 [INFO] [stdout] | [INFO] [stdout] 1286 | #[llvm_enum(LLVMDWARFSourceLanguage)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMDWARFSourceLanguage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] --> src/module.rs:653:22 [INFO] [stdout] | [INFO] [stdout] 653 | let action = LLVMVerifierFailureAction::LLVMReturnStatusAction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenFileType` [INFO] [stdout] --> src/targets.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | FileType::Assembly => LLVMCodeGenFileType::LLVMAssemblyFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenFileType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenFileType` [INFO] [stdout] --> src/targets.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | FileType::Object => LLVMCodeGenFileType::LLVMObjectFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenFileType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] --> src/targets.rs:916:40 [INFO] [stdout] | [INFO] [stdout] 916 | OptimizationLevel::None => LLVMCodeGenOptLevel::LLVMCodeGenLevelNone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] --> src/targets.rs:917:40 [INFO] [stdout] | [INFO] [stdout] 917 | OptimizationLevel::Less => LLVMCodeGenOptLevel::LLVMCodeGenLevelLess, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] --> src/targets.rs:918:43 [INFO] [stdout] | [INFO] [stdout] 918 | OptimizationLevel::Default => LLVMCodeGenOptLevel::LLVMCodeGenLevelDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] --> src/targets.rs:919:46 [INFO] [stdout] | [INFO] [stdout] 919 | OptimizationLevel::Aggressive => LLVMCodeGenOptLevel::LLVMCodeGenLevelAggressive, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMCodeGenOptLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:922:35 [INFO] [stdout] | [INFO] [stdout] 922 | CodeModel::Default => LLVMCodeModel::LLVMCodeModelDefault, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:923:38 [INFO] [stdout] | [INFO] [stdout] 923 | CodeModel::JITDefault => LLVMCodeModel::LLVMCodeModelJITDefault, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:924:33 [INFO] [stdout] | [INFO] [stdout] 924 | CodeModel::Small => LLVMCodeModel::LLVMCodeModelSmall, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:925:34 [INFO] [stdout] | [INFO] [stdout] 925 | CodeModel::Kernel => LLVMCodeModel::LLVMCodeModelKernel, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:926:34 [INFO] [stdout] | [INFO] [stdout] 926 | CodeModel::Medium => LLVMCodeModel::LLVMCodeModelMedium, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMCodeModel` [INFO] [stdout] --> src/targets.rs:927:33 [INFO] [stdout] | [INFO] [stdout] 927 | CodeModel::Large => LLVMCodeModel::LLVMCodeModelLarge, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMCodeModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMRelocMode` [INFO] [stdout] --> src/targets.rs:930:35 [INFO] [stdout] | [INFO] [stdout] 930 | RelocMode::Default => LLVMRelocMode::LLVMRelocDefault, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMRelocMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMRelocMode` [INFO] [stdout] --> src/targets.rs:931:34 [INFO] [stdout] | [INFO] [stdout] 931 | RelocMode::Static => LLVMRelocMode::LLVMRelocStatic, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMRelocMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMRelocMode` [INFO] [stdout] --> src/targets.rs:932:31 [INFO] [stdout] | [INFO] [stdout] 932 | RelocMode::PIC => LLVMRelocMode::LLVMRelocPIC, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMRelocMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMRelocMode` [INFO] [stdout] --> src/targets.rs:933:40 [INFO] [stdout] | [INFO] [stdout] 933 | RelocMode::DynamicNoPic => LLVMRelocMode::LLVMRelocDynamicNoPic, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LLVMRelocMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMByteOrdering` [INFO] [stdout] --> src/targets.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | LLVMByteOrdering::LLVMBigEndian => ByteOrdering::BigEndian, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LLVMByteOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMByteOrdering` [INFO] [stdout] --> src/targets.rs:1376:13 [INFO] [stdout] | [INFO] [stdout] 1376 | LLVMByteOrdering::LLVMLittleEndian => ByteOrdering::LittleEndian, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LLVMByteOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] --> src/values/fn_value.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | LLVMVerifierFailureAction::LLVMPrintMessageAction [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] --> src/values/fn_value.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | LLVMVerifierFailureAction::LLVMReturnStatusAction [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LLVMVerifierFailureAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInstallFatalErrorHandler` in this scope [INFO] [stdout] --> src/support/error_handling.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LLVMInstallFatalErrorHandler(Some(handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMResetFatalErrorHandler` in this scope [INFO] [stdout] --> src/support/error_handling.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | LLVMResetFatalErrorHandler() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDiagnosticInfoRef` in this scope [INFO] [stdout] --> src/support/error_handling.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | diagnostic_info: LLVMDiagnosticInfoRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDiagnosticInfoRef` in this scope [INFO] [stdout] --> src/support/error_handling.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct DiagnosticInfo { [INFO] [stdout] | -------------------------------- similarly named struct `DiagnosticInfo` defined here [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn new(diagnostic_info: LLVMDiagnosticInfoRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetDiagInfoDescription` in this scope [INFO] [stdout] --> src/support/error_handling.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | LLVMGetDiagInfoDescription(self.diagnostic_info) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetDiagInfoSeverity` in this scope [INFO] [stdout] --> src/support/error_handling.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | match LLVMGetDiagInfoSeverity(self.diagnostic_info) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDiagnosticInfoRef` in this scope [INFO] [stdout] --> src/support/error_handling.rs:68:76 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct DiagnosticInfo { [INFO] [stdout] | -------------------------------- similarly named struct `DiagnosticInfo` defined here [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) extern "C" fn get_error_str_diagnostic_handler(diagnostic_info: LLVMDiagnosticInfoRef, void_ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMessage` in this scope [INFO] [stdout] --> src/support/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | LLVMString::new(LLVMCreateMessage(string.as_ptr() as *const _)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMessage` in this scope [INFO] [stdout] --> src/support/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | LLVMString::new(LLVMCreateMessage(string.as_ptr() as *const _)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeMessage` in this scope [INFO] [stdout] --> src/support/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | LLVMDisposeMessage(self.ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMShutdown` in this scope [INFO] [stdout] --> src/support/mod.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | LLVMShutdown() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMLoadLibraryPermanently` in this scope [INFO] [stdout] --> src/support/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | LLVMLoadLibraryPermanently(filename.as_ptr()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsMultithreaded` in this scope [INFO] [stdout] --> src/support/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMIsMultithreaded() == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMEnablePrettyStackTrace` in this scope [INFO] [stdout] --> src/support/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | LLVMEnablePrettyStackTrace() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMComdatSelectionKind` in this scope [INFO] [stdout] --> src/comdat.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #[llvm_enum(LLVMComdatSelectionKind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `ComdatSelectionKind` [INFO] [stdout] ... [INFO] [stdout] 11 | pub enum ComdatSelectionKind { [INFO] [stdout] | ---------------------------- similarly named enum `ComdatSelectionKind` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMComdatRef` in this scope [INFO] [stdout] --> src/comdat.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Comdat(pub(crate) LLVMComdatRef); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMComdatRef` in this scope [INFO] [stdout] --> src/comdat.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Comdat(pub(crate) LLVMComdatRef); [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMComdatRef` in this scope [INFO] [stdout] --> src/comdat.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn new(comdat: LLVMComdatRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetComdatSelectionKind` in this scope [INFO] [stdout] --> src/comdat.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | LLVMGetComdatSelectionKind(self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetComdatSelectionKind` in this scope [INFO] [stdout] --> src/comdat.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | LLVMSetComdatSelectionKind(self.0, kind.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBasicBlockRef` in this scope [INFO] [stdout] --> src/basic_block.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) basic_block: LLVMBasicBlockRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBasicBlockRef` in this scope [INFO] [stdout] --> src/basic_block.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicBlock<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMBasicBlockRef` [INFO] [stdout] 24 | pub(crate) basic_block: LLVMBasicBlockRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBasicBlockRef` in this scope [INFO] [stdout] --> src/basic_block.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) unsafe fn new(basic_block: LLVMBasicBlockRef) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsABasicBlock` in this scope [INFO] [stdout] --> src/basic_block.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(!LLVMIsABasicBlock(basic_block as LLVMValueRef).is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/basic_block.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(!LLVMIsABasicBlock(basic_block as LLVMValueRef).is_null()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetBasicBlockParent` in this scope [INFO] [stdout] --> src/basic_block.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | FunctionValue::new(LLVMGetBasicBlockParent(self.basic_block)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPreviousBasicBlock` in this scope [INFO] [stdout] --> src/basic_block.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | BasicBlock::new(LLVMGetPreviousBasicBlock(self.basic_block)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextBasicBlock` in this scope [INFO] [stdout] --> src/basic_block.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | BasicBlock::new(LLVMGetNextBasicBlock(self.basic_block)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMoveBasicBlockBefore` in this scope [INFO] [stdout] --> src/basic_block.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | LLVMMoveBasicBlockBefore(self.basic_block, basic_block.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMoveBasicBlockAfter` in this scope [INFO] [stdout] --> src/basic_block.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | LLVMMoveBasicBlockAfter(self.basic_block, basic_block.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstInstruction` in this scope [INFO] [stdout] --> src/basic_block.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | LLVMGetFirstInstruction(self.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLastInstruction` in this scope [INFO] [stdout] --> src/basic_block.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | LLVMGetLastInstruction(self.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetBasicBlockTerminator` in this scope [INFO] [stdout] --> src/basic_block.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | LLVMGetBasicBlockTerminator(self.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRemoveBasicBlockFromParent` in this scope [INFO] [stdout] --> src/basic_block.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | LLVMRemoveBasicBlockFromParent(self.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDeleteBasicBlock` in this scope [INFO] [stdout] --> src/basic_block.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | LLVMDeleteBasicBlock(self.basic_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeContext` in this scope [INFO] [stdout] --> src/basic_block.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | ContextRef::new(LLVMGetTypeContext(LLVMTypeOf(LLVMBasicBlockAsValue(self.basic_block)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/basic_block.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | ContextRef::new(LLVMGetTypeContext(LLVMTypeOf(LLVMBasicBlockAsValue(self.basic_block)))) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBasicBlockAsValue` in this scope [INFO] [stdout] --> src/basic_block.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | ContextRef::new(LLVMGetTypeContext(LLVMTypeOf(LLVMBasicBlockAsValue(self.basic_block)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBasicBlockAsValue` in this scope [INFO] [stdout] --> src/basic_block.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | let value = unsafe { LLVMBasicBlockAsValue(self.basic_block) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBasicBlockAsValue` in this scope [INFO] [stdout] --> src/basic_block.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | let other = unsafe { LLVMBasicBlockAsValue(other.basic_block) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMReplaceAllUsesWith` in this scope [INFO] [stdout] --> src/basic_block.rs:475:17 [INFO] [stdout] | [INFO] [stdout] 475 | LLVMReplaceAllUsesWith(value, other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstUse` in this scope [INFO] [stdout] --> src/basic_block.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | LLVMGetFirstUse(LLVMBasicBlockAsValue(self.basic_block)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBasicBlockAsValue` in this scope [INFO] [stdout] --> src/basic_block.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | LLVMGetFirstUse(LLVMBasicBlockAsValue(self.basic_block)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintValueToString` in this scope [INFO] [stdout] --> src/basic_block.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | CStr::from_ptr(LLVMPrintValueToString(self.basic_block as LLVMValueRef)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/basic_block.rs:522:71 [INFO] [stdout] | [INFO] [stdout] 522 | CStr::from_ptr(LLVMPrintValueToString(self.basic_block as LLVMValueRef)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintTypeToString` in this scope [INFO] [stdout] --> src/basic_block.rs:525:28 [INFO] [stdout] | [INFO] [stdout] 525 | CStr::from_ptr(LLVMPrintTypeToString(LLVMTypeOf(self.basic_block as LLVMValueRef))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/basic_block.rs:525:50 [INFO] [stdout] | [INFO] [stdout] 525 | CStr::from_ptr(LLVMPrintTypeToString(LLVMTypeOf(self.basic_block as LLVMValueRef))) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/basic_block.rs:525:81 [INFO] [stdout] | [INFO] [stdout] 525 | CStr::from_ptr(LLVMPrintTypeToString(LLVMTypeOf(self.basic_block as LLVMValueRef))) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsConstant` in this scope [INFO] [stdout] --> src/basic_block.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | LLVMIsConstant(self.basic_block as LLVMValueRef) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/basic_block.rs:528:48 [INFO] [stdout] | [INFO] [stdout] 528 | LLVMIsConstant(self.basic_block as LLVMValueRef) == 1 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBuilderRef` in this scope [INFO] [stdout] --> src/builder.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | builder: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBuilderRef` in this scope [INFO] [stdout] --> src/builder.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) unsafe fn new(builder: LLVMBuilderRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildRetVoid` in this scope [INFO] [stdout] --> src/builder.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | value.map_or_else(|| LLVMBuildRetVoid(self.builder), |value| LLVMBuildRet(self.builder, value.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildRet` in this scope [INFO] [stdout] --> src/builder.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | value.map_or_else(|| LLVMBuildRetVoid(self.builder), |value| LLVMBuildRet(self.builder, value.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/builder.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | let mut args: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | let mut args: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | impl<'ctx, LLVMValueRef> Builder<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAggregateRet` in this scope [INFO] [stdout] --> src/builder.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | LLVMBuildAggregateRet(self.builder, args.as_mut_ptr(), args.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/builder.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | let ty_kind = unsafe { LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value_ref))) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetElementType` in this scope [INFO] [stdout] --> src/builder.rs:148:56 [INFO] [stdout] | [INFO] [stdout] 148 | let ty_kind = unsafe { LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value_ref))) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/builder.rs:148:75 [INFO] [stdout] | [INFO] [stdout] 148 | let ty_kind = unsafe { LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value_ref))) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/builder.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | match LLVMGetTypeKind(LLVMGetReturnType(LLVMGetElementType(LLVMTypeOf(fn_val_ref)))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetReturnType` in this scope [INFO] [stdout] --> src/builder.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | match LLVMGetTypeKind(LLVMGetReturnType(LLVMGetElementType(LLVMTypeOf(fn_val_ref)))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetElementType` in this scope [INFO] [stdout] --> src/builder.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | match LLVMGetTypeKind(LLVMGetReturnType(LLVMGetElementType(LLVMTypeOf(fn_val_ref)))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/builder.rs:163:72 [INFO] [stdout] | [INFO] [stdout] 163 | match LLVMGetTypeKind(LLVMGetReturnType(LLVMGetElementType(LLVMTypeOf(fn_val_ref)))) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/builder.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | let mut args: Vec = args.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 170 | let mut args: Vec = args.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | impl<'ctx, LLVMValueRef> Builder<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildCall` in this scope [INFO] [stdout] --> src/builder.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | LLVMBuildCall(self.builder, fn_val_ref, args.as_mut_ptr(), args.len() as u32, c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/builder.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 187 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | impl<'ctx, LLVMValueRef> Builder<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildGEP` in this scope [INFO] [stdout] --> src/builder.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | let value = LLVMBuildGEP(self.builder, ptr.as_value_ref(), index_values.as_mut_ptr(), index_values.len() as u32, c_string.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/builder.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | impl<'ctx, LLVMValueRef> Builder<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildInBoundsGEP` in this scope [INFO] [stdout] --> src/builder.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | ... let value = LLVMBuildInBoundsGEP(self.builder, ptr.as_value_ref(), index_values.as_mut_ptr(), index_values.len() as u32, c_string.a... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildStructGEP` in this scope [INFO] [stdout] --> src/builder.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | let value = unsafe { LLVMBuildStructGEP(self.builder, ptr.as_value_ref(), index, c_string.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildPtrDiff` in this scope [INFO] [stdout] --> src/builder.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | LLVMBuildPtrDiff(self.builder, lhs_ptr.as_value_ref(), rhs_ptr.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildPhi` in this scope [INFO] [stdout] --> src/builder.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | LLVMBuildPhi(self.builder, type_.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildStore` in this scope [INFO] [stdout] --> src/builder.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | LLVMBuildStore(self.builder, value.as_value_ref(), ptr.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildLoad` in this scope [INFO] [stdout] --> src/builder.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | LLVMBuildLoad(self.builder, ptr.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAlloca` in this scope [INFO] [stdout] --> src/builder.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | LLVMBuildAlloca(self.builder, ty.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildArrayAlloca` in this scope [INFO] [stdout] --> src/builder.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | LLVMBuildArrayAlloca(self.builder, ty.as_type_ref(), size.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildMalloc` in this scope [INFO] [stdout] --> src/builder.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | LLVMBuildMalloc(self.builder, ty.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildArrayMalloc` in this scope [INFO] [stdout] --> src/builder.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | LLVMBuildArrayMalloc(self.builder, ty.as_type_ref(), size.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFree` in this scope [INFO] [stdout] --> src/builder.rs:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | InstructionValue::new(LLVMBuildFree(self.builder, ptr.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInsertIntoBuilderWithName` in this scope [INFO] [stdout] --> src/builder.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | LLVMInsertIntoBuilderWithName(self.builder, instruction.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInsertIntoBuilder` in this scope [INFO] [stdout] --> src/builder.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | LLVMInsertIntoBuilder(self.builder, instruction.as_value_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetInsertBlock` in this scope [INFO] [stdout] --> src/builder.rs:558:29 [INFO] [stdout] | [INFO] [stdout] 558 | BasicBlock::new(LLVMGetInsertBlock(self.builder)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildUDiv` in this scope [INFO] [stdout] --> src/builder.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | LLVMBuildUDiv(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSDiv` in this scope [INFO] [stdout] --> src/builder.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | LLVMBuildSDiv(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildExactSDiv` in this scope [INFO] [stdout] --> src/builder.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | LLVMBuildExactSDiv(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildURem` in this scope [INFO] [stdout] --> src/builder.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | LLVMBuildURem(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSRem` in this scope [INFO] [stdout] --> src/builder.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | LLVMBuildSRem(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSExt` in this scope [INFO] [stdout] --> src/builder.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | LLVMBuildSExt(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAddrSpaceCast` in this scope [INFO] [stdout] --> src/builder.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | LLVMBuildAddrSpaceCast(self.builder, ptr_val.as_value_ref(), ptr_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildBitCast` in this scope [INFO] [stdout] --> src/builder.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | LLVMBuildBitCast(self.builder, val.as_value_ref(), ty.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSExtOrBitCast` in this scope [INFO] [stdout] --> src/builder.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | LLVMBuildSExtOrBitCast(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildZExt` in this scope [INFO] [stdout] --> src/builder.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | LLVMBuildZExt(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildZExtOrBitCast` in this scope [INFO] [stdout] --> src/builder.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | LLVMBuildZExtOrBitCast(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildTrunc` in this scope [INFO] [stdout] --> src/builder.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | LLVMBuildTrunc(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildTruncOrBitCast` in this scope [INFO] [stdout] --> src/builder.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | LLVMBuildTruncOrBitCast(self.builder, int_value.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFRem` in this scope [INFO] [stdout] --> src/builder.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | LLVMBuildFRem(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFPToUI` in this scope [INFO] [stdout] --> src/builder.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | LLVMBuildFPToUI(self.builder, float.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFPToSI` in this scope [INFO] [stdout] --> src/builder.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | LLVMBuildFPToSI(self.builder, float.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildUIToFP` in this scope [INFO] [stdout] --> src/builder.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | LLVMBuildUIToFP(self.builder, int.as_value_ref(), float_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSIToFP` in this scope [INFO] [stdout] --> src/builder.rs:809:13 [INFO] [stdout] | [INFO] [stdout] 809 | LLVMBuildSIToFP(self.builder, int.as_value_ref(), float_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFPTrunc` in this scope [INFO] [stdout] --> src/builder.rs:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | LLVMBuildFPTrunc(self.builder, float.as_value_ref(), float_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFPExt` in this scope [INFO] [stdout] --> src/builder.rs:829:13 [INFO] [stdout] | [INFO] [stdout] 829 | LLVMBuildFPExt(self.builder, float.as_value_ref(), float_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFPCast` in this scope [INFO] [stdout] --> src/builder.rs:839:13 [INFO] [stdout] | [INFO] [stdout] 839 | LLVMBuildFPCast(self.builder, float.as_value_ref(), float_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildIntCast` in this scope [INFO] [stdout] --> src/builder.rs:850:13 [INFO] [stdout] | [INFO] [stdout] 850 | LLVMBuildIntCast(self.builder, int.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFDiv` in this scope [INFO] [stdout] --> src/builder.rs:860:13 [INFO] [stdout] | [INFO] [stdout] 860 | LLVMBuildFDiv(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAdd` in this scope [INFO] [stdout] --> src/builder.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | LLVMBuildAdd(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNSWAdd` in this scope [INFO] [stdout] --> src/builder.rs:883:13 [INFO] [stdout] | [INFO] [stdout] 883 | LLVMBuildNSWAdd(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNUWAdd` in this scope [INFO] [stdout] --> src/builder.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | LLVMBuildNUWAdd(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFAdd` in this scope [INFO] [stdout] --> src/builder.rs:906:13 [INFO] [stdout] | [INFO] [stdout] 906 | LLVMBuildFAdd(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildXor` in this scope [INFO] [stdout] --> src/builder.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | LLVMBuildXor(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAnd` in this scope [INFO] [stdout] --> src/builder.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 928 | LLVMBuildAnd(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildOr` in this scope [INFO] [stdout] --> src/builder.rs:939:13 [INFO] [stdout] | [INFO] [stdout] 939 | LLVMBuildOr(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildShl` in this scope [INFO] [stdout] --> src/builder.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | LLVMBuildShl(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAShr` in this scope [INFO] [stdout] --> src/builder.rs:1067:17 [INFO] [stdout] | [INFO] [stdout] 1067 | LLVMBuildAShr(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildLShr` in this scope [INFO] [stdout] --> src/builder.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | LLVMBuildLShr(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSub` in this scope [INFO] [stdout] --> src/builder.rs:1081:13 [INFO] [stdout] | [INFO] [stdout] 1081 | LLVMBuildSub(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNSWSub` in this scope [INFO] [stdout] --> src/builder.rs:1092:13 [INFO] [stdout] | [INFO] [stdout] 1092 | LLVMBuildNSWSub(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNUWSub` in this scope [INFO] [stdout] --> src/builder.rs:1104:13 [INFO] [stdout] | [INFO] [stdout] 1104 | LLVMBuildNUWSub(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFSub` in this scope [INFO] [stdout] --> src/builder.rs:1115:13 [INFO] [stdout] | [INFO] [stdout] 1115 | LLVMBuildFSub(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildMul` in this scope [INFO] [stdout] --> src/builder.rs:1126:13 [INFO] [stdout] | [INFO] [stdout] 1126 | LLVMBuildMul(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNSWMul` in this scope [INFO] [stdout] --> src/builder.rs:1138:13 [INFO] [stdout] | [INFO] [stdout] 1138 | LLVMBuildNSWMul(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNUWMul` in this scope [INFO] [stdout] --> src/builder.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | LLVMBuildNUWMul(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFMul` in this scope [INFO] [stdout] --> src/builder.rs:1161:13 [INFO] [stdout] | [INFO] [stdout] 1161 | LLVMBuildFMul(self.builder, lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildCast` in this scope [INFO] [stdout] --> src/builder.rs:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | LLVMBuildCast(self.builder, op.into(), from_value.as_value_ref(), to_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildPointerCast` in this scope [INFO] [stdout] --> src/builder.rs:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | LLVMBuildPointerCast(self.builder, from.as_value_ref(), to.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildICmp` in this scope [INFO] [stdout] --> src/builder.rs:1203:13 [INFO] [stdout] | [INFO] [stdout] 1203 | LLVMBuildICmp(self.builder, op.into(), lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFCmp` in this scope [INFO] [stdout] --> src/builder.rs:1221:13 [INFO] [stdout] | [INFO] [stdout] 1221 | LLVMBuildFCmp(self.builder, op.into(), lhs.as_value_ref(), rhs.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildBr` in this scope [INFO] [stdout] --> src/builder.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | LLVMBuildBr(self.builder, destination_block.basic_block) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildCondBr` in this scope [INFO] [stdout] --> src/builder.rs:1244:13 [INFO] [stdout] | [INFO] [stdout] 1244 | LLVMBuildCondBr(self.builder, comparison.as_value_ref(), then_block.basic_block, else_block.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildIndirectBr` in this scope [INFO] [stdout] --> src/builder.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | LLVMBuildIndirectBr(self.builder, address.as_value_ref(), destinations.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddDestination` in this scope [INFO] [stdout] --> src/builder.rs:1263:17 [INFO] [stdout] | [INFO] [stdout] 1263 | LLVMAddDestination(value, destination.basic_block) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNeg` in this scope [INFO] [stdout] --> src/builder.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | LLVMBuildNeg(self.builder, value.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNSWNeg` in this scope [INFO] [stdout] --> src/builder.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | LLVMBuildNSWNeg(self.builder, value.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNUWNeg` in this scope [INFO] [stdout] --> src/builder.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1300 | LLVMBuildNUWNeg(self.builder, value.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFNeg` in this scope [INFO] [stdout] --> src/builder.rs:1311:13 [INFO] [stdout] | [INFO] [stdout] 1311 | LLVMBuildFNeg(self.builder, value.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildNot` in this scope [INFO] [stdout] --> src/builder.rs:1322:13 [INFO] [stdout] | [INFO] [stdout] 1322 | LLVMBuildNot(self.builder, value.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPositionBuilder` in this scope [INFO] [stdout] --> src/builder.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | LLVMPositionBuilder(self.builder, basic_block.basic_block, instruction.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPositionBuilderBefore` in this scope [INFO] [stdout] --> src/builder.rs:1338:13 [INFO] [stdout] | [INFO] [stdout] 1338 | LLVMPositionBuilderBefore(self.builder, instruction.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPositionBuilderAtEnd` in this scope [INFO] [stdout] --> src/builder.rs:1344:13 [INFO] [stdout] | [INFO] [stdout] 1344 | LLVMPositionBuilderAtEnd(self.builder, basic_block.basic_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildExtractValue` in this scope [INFO] [stdout] --> src/builder.rs:1404:13 [INFO] [stdout] | [INFO] [stdout] 1404 | LLVMBuildExtractValue(self.builder, agg.as_value_ref(), index, c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildInsertValue` in this scope [INFO] [stdout] --> src/builder.rs:1462:13 [INFO] [stdout] | [INFO] [stdout] 1462 | LLVMBuildInsertValue(self.builder, agg.as_value_ref(), value.as_value_ref(), index, c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildExtractElement` in this scope [INFO] [stdout] --> src/builder.rs:1498:13 [INFO] [stdout] | [INFO] [stdout] 1498 | LLVMBuildExtractElement(self.builder, vector.as_value_ref(), index.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildInsertElement` in this scope [INFO] [stdout] --> src/builder.rs:1541:13 [INFO] [stdout] | [INFO] [stdout] 1541 | LLVMBuildInsertElement(self.builder, vector.as_value_ref(), element.as_value_ref(), index.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildUnreachable` in this scope [INFO] [stdout] --> src/builder.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | LLVMBuildUnreachable(self.builder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildFence` in this scope [INFO] [stdout] --> src/builder.rs:1565:13 [INFO] [stdout] | [INFO] [stdout] 1565 | LLVMBuildFence(self.builder, atomic_ordering.into(), num, c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildIsNull` in this scope [INFO] [stdout] --> src/builder.rs:1578:13 [INFO] [stdout] | [INFO] [stdout] 1578 | LLVMBuildIsNull(self.builder, ptr.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildIsNotNull` in this scope [INFO] [stdout] --> src/builder.rs:1589:13 [INFO] [stdout] | [INFO] [stdout] 1589 | LLVMBuildIsNotNull(self.builder, ptr.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildIntToPtr` in this scope [INFO] [stdout] --> src/builder.rs:1600:13 [INFO] [stdout] | [INFO] [stdout] 1600 | LLVMBuildIntToPtr(self.builder, int.as_value_ref(), ptr_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildPtrToInt` in this scope [INFO] [stdout] --> src/builder.rs:1616:13 [INFO] [stdout] | [INFO] [stdout] 1616 | LLVMBuildPtrToInt(self.builder, ptr.as_value_ref(), int_type.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMClearInsertionPosition` in this scope [INFO] [stdout] --> src/builder.rs:1624:13 [INFO] [stdout] | [INFO] [stdout] 1624 | LLVMClearInsertionPosition(self.builder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSwitch` in this scope [INFO] [stdout] --> src/builder.rs:1633:13 [INFO] [stdout] | [INFO] [stdout] 1633 | LLVMBuildSwitch(self.builder, value.as_value_ref(), else_block.basic_block, cases.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddCase` in this scope [INFO] [stdout] --> src/builder.rs:1638:17 [INFO] [stdout] | [INFO] [stdout] 1638 | LLVMAddCase(switch_value, value.as_value_ref(), basic_block.basic_block) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildSelect` in this scope [INFO] [stdout] --> src/builder.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1651 | LLVMBuildSelect(self.builder, condition.as_value_ref(), then.as_value_ref(), else_.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildGlobalString` in this scope [INFO] [stdout] --> src/builder.rs:1663:21 [INFO] [stdout] | [INFO] [stdout] 1663 | let value = LLVMBuildGlobalString(self.builder, c_string_value.as_ptr(), c_string_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildGlobalStringPtr` in this scope [INFO] [stdout] --> src/builder.rs:1674:13 [INFO] [stdout] | [INFO] [stdout] 1674 | LLVMBuildGlobalStringPtr(self.builder, c_string_value.as_ptr(), c_string_name.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildShuffleVector` in this scope [INFO] [stdout] --> src/builder.rs:1686:13 [INFO] [stdout] | [INFO] [stdout] 1686 | LLVMBuildShuffleVector(self.builder, left.as_value_ref(), right.as_value_ref(), mask.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildVAArg` in this scope [INFO] [stdout] --> src/builder.rs:1701:13 [INFO] [stdout] | [INFO] [stdout] 1701 | LLVMBuildVAArg(self.builder, list.as_value_ref(), type_.as_type_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMBuildAtomicRMW` in this scope [INFO] [stdout] --> src/builder.rs:1751:13 [INFO] [stdout] | [INFO] [stdout] 1751 | LLVMBuildAtomicRMW(self.builder, op.into(), ptr.as_value_ref(), value.as_value_ref(), ordering.into(), false as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetCurrentDebugLocation` in this scope [INFO] [stdout] --> src/builder.rs:1871:13 [INFO] [stdout] | [INFO] [stdout] 1871 | LLVMSetCurrentDebugLocation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeBuilder` in this scope [INFO] [stdout] --> src/builder.rs:1892:13 [INFO] [stdout] | [INFO] [stdout] 1892 | LLVMDisposeBuilder(self.builder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetGlobalContext` in this scope [INFO] [stdout] --> src/context.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | Mutex::new(Context::new(LLVMGetGlobalContext())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMContextRef` in this scope [INFO] [stdout] --> src/context.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ContextRef` [INFO] [stdout] ... [INFO] [stdout] 968 | pub struct ContextRef<'ctx> { [INFO] [stdout] | --------------------------- similarly named struct `ContextRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMContextRef` in this scope [INFO] [stdout] --> src/context.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 968 | pub struct ContextRef<'ctx> { [INFO] [stdout] | --------------------------- similarly named struct `ContextRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) context: ContextRef, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Context { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMContextRef` in this scope [INFO] [stdout] --> src/context.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) unsafe fn new(context: LLVMContextRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ContextRef` [INFO] [stdout] ... [INFO] [stdout] 968 | pub struct ContextRef<'ctx> { [INFO] [stdout] | --------------------------- similarly named struct `ContextRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMContextCreate` in this scope [INFO] [stdout] --> src/context.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | Context::new(LLVMContextCreate()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateBuilderInContext` in this scope [INFO] [stdout] --> src/context.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | Builder::new(LLVMCreateBuilderInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMModuleCreateWithNameInContext` in this scope [INFO] [stdout] --> src/context.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | Module::new(LLVMModuleCreateWithNameInContext(c_string.as_ptr(), self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMParseIRInContext` in this scope [INFO] [stdout] --> src/context.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | LLVMParseIRInContext(self.context, memory_buffer.memory_buffer, &mut module, &mut err_str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMVoidTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | VoidType::new(LLVMVoidTypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInt1TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | IntType::new(LLVMInt1TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInt8TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | IntType::new(LLVMInt8TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInt16TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | IntType::new(LLVMInt16TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInt32TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | IntType::new(LLVMInt32TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInt64TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | IntType::new(LLVMInt64TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIntTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | IntType::new(LLVMIntTypeInContext(self.context, bits)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIntPtrTypeForASInContext` in this scope [INFO] [stdout] --> src/context.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | LLVMIntPtrTypeForASInContext( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIntPtrTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:476:30 [INFO] [stdout] | [INFO] [stdout] 476 | None => unsafe { LLVMIntPtrTypeInContext(self.context, target_data.target_data) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMHalfTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | FloatType::new(LLVMHalfTypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFloatTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:518:28 [INFO] [stdout] | [INFO] [stdout] 518 | FloatType::new(LLVMFloatTypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDoubleTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | FloatType::new(LLVMDoubleTypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMX86FP80TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:556:28 [INFO] [stdout] | [INFO] [stdout] 556 | FloatType::new(LLVMX86FP80TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFP128TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | FloatType::new(LLVMFP128TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPPCFP128TypeInContext` in this scope [INFO] [stdout] --> src/context.rs:598:28 [INFO] [stdout] | [INFO] [stdout] 598 | FloatType::new(LLVMPPCFP128TypeInContext(self.context)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/context.rs:618:34 [INFO] [stdout] | [INFO] [stdout] 69 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 618 | let mut field_types: Vec = field_types.iter() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMStructTypeInContext` in this scope [INFO] [stdout] --> src/context.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | StructType::new(LLVMStructTypeInContext(self.context, field_types.as_mut_ptr(), field_types.len() as u32, packed as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMStructCreateNamed` in this scope [INFO] [stdout] --> src/context.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | StructType::new(LLVMStructCreateNamed(self.context, c_string.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/context.rs:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | let mut args: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 665 | let mut args: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | impl Context { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstStructInContext` in this scope [INFO] [stdout] --> src/context.rs:669:30 [INFO] [stdout] | [INFO] [stdout] 669 | StructValue::new(LLVMConstStructInContext(self.context, args.as_mut_ptr(), args.len() as u32, packed as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAppendBasicBlockInContext` in this scope [INFO] [stdout] --> src/context.rs:699:29 [INFO] [stdout] | [INFO] [stdout] 699 | BasicBlock::new(LLVMAppendBasicBlockInContext(self.context, function.as_value_ref(), c_string.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInsertBasicBlockInContext` in this scope [INFO] [stdout] --> src/context.rs:766:29 [INFO] [stdout] | [INFO] [stdout] 766 | BasicBlock::new(LLVMInsertBasicBlockInContext(self.context, basic_block.basic_block, c_string.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/context.rs:804:35 [INFO] [stdout] | [INFO] [stdout] 804 | let mut tuple_values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 804 | let mut tuple_values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | impl Context { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMDNodeInContext` in this scope [INFO] [stdout] --> src/context.rs:808:32 [INFO] [stdout] | [INFO] [stdout] 808 | MetadataValue::new(LLVMMDNodeInContext(self.context, tuple_values.as_mut_ptr(), tuple_values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMDStringInContext` in this scope [INFO] [stdout] --> src/context.rs:844:32 [INFO] [stdout] | [INFO] [stdout] 844 | MetadataValue::new(LLVMMDStringInContext(self.context, c_string.as_ptr(), string.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetMDKindIDInContext` in this scope [INFO] [stdout] --> src/context.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | LLVMGetMDKindIDInContext(self.context, key.as_ptr() as *const ::libc::c_char, key.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstStringInContext` in this scope [INFO] [stdout] --> src/context.rs:942:30 [INFO] [stdout] | [INFO] [stdout] 942 | VectorValue::new(LLVMConstStringInContext( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDiagnosticInfoRef` in this scope [INFO] [stdout] --> src/context.rs:951:73 [INFO] [stdout] | [INFO] [stdout] 951 | pub(crate) fn set_diagnostic_handler(&self, handler: extern "C" fn (LLVMDiagnosticInfoRef, *mut c_void), void_ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMContextSetDiagnosticHandler` in this scope [INFO] [stdout] --> src/context.rs:953:13 [INFO] [stdout] | [INFO] [stdout] 953 | LLVMContextSetDiagnosticHandler(self.context, Some(handler), void_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMContextDispose` in this scope [INFO] [stdout] --> src/context.rs:961:13 [INFO] [stdout] | [INFO] [stdout] 961 | LLVMContextDispose(self.context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMContextRef` in this scope [INFO] [stdout] --> src/context.rs:974:39 [INFO] [stdout] | [INFO] [stdout] 968 | pub struct ContextRef<'ctx> { [INFO] [stdout] | --------------------------- similarly named struct `ContextRef` defined here [INFO] [stdout] ... [INFO] [stdout] 974 | pub(crate) unsafe fn new(context: LLVMContextRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ContextRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDebugMetadataVersion` in this scope [INFO] [stdout] --> src/debug_info.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { LLVMDebugMetadataVersion() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDIBuilderRef` in this scope [INFO] [stdout] --> src/debug_info.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) builder: LLVMDIBuilderRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDIBuilderRef` in this scope [INFO] [stdout] --> src/debug_info.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct DebugInfoBuilder<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMDIBuilderRef` [INFO] [stdout] 145 | pub(crate) builder: LLVMDIBuilderRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct DIScope<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 154 | metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateDIBuilder` in this scope [INFO] [stdout] --> src/debug_info.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | LLVMCreateDIBuilder(module.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateDIBuilderDisallowUnresolved` in this scope [INFO] [stdout] --> src/debug_info.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | LLVMCreateDIBuilderDisallowUnresolved(module.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateFunction` in this scope [INFO] [stdout] --> src/debug_info.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | LLVMDIBuilderCreateFunction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateLexicalBlock` in this scope [INFO] [stdout] --> src/debug_info.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | LLVMDIBuilderCreateLexicalBlock( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateFile` in this scope [INFO] [stdout] --> src/debug_info.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | LLVMDIBuilderCreateFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateDebugLocation` in this scope [INFO] [stdout] --> src/debug_info.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | LLVMDIBuilderCreateDebugLocation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:504:31 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'ctx> DebugInfoBuilder<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] ... [INFO] [stdout] 504 | let mut elements: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateUnionType` in this scope [INFO] [stdout] --> src/debug_info.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | LLVMDIBuilderCreateUnionType( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateMemberType` in this scope [INFO] [stdout] --> src/debug_info.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | LLVMDIBuilderCreateMemberType( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:580:31 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'ctx> DebugInfoBuilder<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] ... [INFO] [stdout] 580 | let mut elements: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateStructType` in this scope [INFO] [stdout] --> src/debug_info.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | LLVMDIBuilderCreateStructType( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:623:32 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'ctx> DebugInfoBuilder<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] ... [INFO] [stdout] 623 | .collect::>(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateSubroutineType` in this scope [INFO] [stdout] --> src/debug_info.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | LLVMDIBuilderCreateSubroutineType( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateParameterVariable` in this scope [INFO] [stdout] --> src/debug_info.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | LLVMDIBuilderCreateParameterVariable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateAutoVariable` in this scope [INFO] [stdout] --> src/debug_info.rs:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | LLVMDIBuilderCreateAutoVariable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateNameSpace` in this scope [INFO] [stdout] --> src/debug_info.rs:768:13 [INFO] [stdout] | [INFO] [stdout] 768 | LLVMDIBuilderCreateNameSpace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderInsertDeclareBefore` in this scope [INFO] [stdout] --> src/debug_info.rs:792:13 [INFO] [stdout] | [INFO] [stdout] 792 | LLVMDIBuilderInsertDeclareBefore( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderInsertDeclareAtEnd` in this scope [INFO] [stdout] --> src/debug_info.rs:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | LLVMDIBuilderInsertDeclareAtEnd( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderCreateExpression` in this scope [INFO] [stdout] --> src/debug_info.rs:839:13 [INFO] [stdout] | [INFO] [stdout] 839 | LLVMDIBuilderCreateExpression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderInsertDbgValueBefore` in this scope [INFO] [stdout] --> src/debug_info.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | LLVMDIBuilderInsertDbgValueBefore( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTemporaryMDNode` in this scope [INFO] [stdout] --> src/debug_info.rs:880:28 [INFO] [stdout] | [INFO] [stdout] 880 | let metadata_ref = LLVMTemporaryMDNode(context.context, std::ptr::null_mut(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMetadataReplaceAllUsesWith` in this scope [INFO] [stdout] --> src/debug_info.rs:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | LLVMMetadataReplaceAllUsesWith(placeholder.metadata_ref, other.metadata_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDIBuilderFinalize` in this scope [INFO] [stdout] --> src/debug_info.rs:905:18 [INFO] [stdout] | [INFO] [stdout] 905 | unsafe { LLVMDIBuilderFinalize(self.builder) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeDIBuilder` in this scope [INFO] [stdout] --> src/debug_info.rs:912:18 [INFO] [stdout] | [INFO] [stdout] 912 | unsafe { LLVMDisposeDIBuilder(self.builder) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:919:30 [INFO] [stdout] | [INFO] [stdout] 919 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:919:30 [INFO] [stdout] | [INFO] [stdout] 918 | pub struct DIFile<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 919 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:936:30 [INFO] [stdout] | [INFO] [stdout] 936 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:936:30 [INFO] [stdout] | [INFO] [stdout] 934 | pub struct DICompileUnit<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 935 | file: DIFile<'ctx>, [INFO] [stdout] 936 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:958:30 [INFO] [stdout] | [INFO] [stdout] 958 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:958:30 [INFO] [stdout] | [INFO] [stdout] 957 | pub struct DINamespace<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 958 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:974:30 [INFO] [stdout] | [INFO] [stdout] 974 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:974:30 [INFO] [stdout] | [INFO] [stdout] 973 | pub struct DISubprogram<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 974 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:990:30 [INFO] [stdout] | [INFO] [stdout] 990 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:990:30 [INFO] [stdout] | [INFO] [stdout] 989 | pub struct DIType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 990 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDITypeGetSizeInBits` in this scope [INFO] [stdout] --> src/debug_info.rs:996:18 [INFO] [stdout] | [INFO] [stdout] 996 | unsafe { LLVMDITypeGetSizeInBits(self.metadata_ref) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDITypeGetAlignInBits` in this scope [INFO] [stdout] --> src/debug_info.rs:1000:18 [INFO] [stdout] | [INFO] [stdout] 1000 | unsafe { LLVMDITypeGetAlignInBits(self.metadata_ref) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDITypeGetOffsetInBits` in this scope [INFO] [stdout] --> src/debug_info.rs:1004:18 [INFO] [stdout] | [INFO] [stdout] 1004 | unsafe { LLVMDITypeGetOffsetInBits(self.metadata_ref) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1020:30 [INFO] [stdout] | [INFO] [stdout] 1020 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1020:30 [INFO] [stdout] | [INFO] [stdout] 1019 | pub struct DIDerivedType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1020 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1045:30 [INFO] [stdout] | [INFO] [stdout] 1045 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1045:30 [INFO] [stdout] | [INFO] [stdout] 1044 | pub struct DIBasicType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1045 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1069:30 [INFO] [stdout] | [INFO] [stdout] 1069 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1069:30 [INFO] [stdout] | [INFO] [stdout] 1068 | pub struct DICompositeType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1069 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1094:30 [INFO] [stdout] | [INFO] [stdout] 1094 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1094:30 [INFO] [stdout] | [INFO] [stdout] 1093 | pub struct DISubroutineType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1094 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1101:30 [INFO] [stdout] | [INFO] [stdout] 1101 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1101:30 [INFO] [stdout] | [INFO] [stdout] 1100 | pub struct DILexicalBlock<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1101 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1124:30 [INFO] [stdout] | [INFO] [stdout] 1124 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1124:30 [INFO] [stdout] | [INFO] [stdout] 1123 | pub struct DILocation<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1124 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDILocationGetLine` in this scope [INFO] [stdout] --> src/debug_info.rs:1130:18 [INFO] [stdout] | [INFO] [stdout] 1130 | unsafe { LLVMDILocationGetLine(self.metadata_ref) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDILocationGetColumn` in this scope [INFO] [stdout] --> src/debug_info.rs:1134:18 [INFO] [stdout] | [INFO] [stdout] 1134 | unsafe { LLVMDILocationGetColumn(self.metadata_ref) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDILocationGetScope` in this scope [INFO] [stdout] --> src/debug_info.rs:1139:36 [INFO] [stdout] | [INFO] [stdout] 1139 | metadata_ref: unsafe { LLVMDILocationGetScope(self.metadata_ref) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1148:30 [INFO] [stdout] | [INFO] [stdout] 1148 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1148:30 [INFO] [stdout] | [INFO] [stdout] 1147 | pub struct DILocalVariable<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1148 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1154:30 [INFO] [stdout] | [INFO] [stdout] 1154 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1154:30 [INFO] [stdout] | [INFO] [stdout] 1153 | pub struct DIGlobalVariableExpression<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1154 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMetadataAsValue` in this scope [INFO] [stdout] --> src/debug_info.rs:1161:32 [INFO] [stdout] | [INFO] [stdout] 1161 | MetadataValue::new(LLVMMetadataAsValue(context.context, self.metadata_ref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1169:30 [INFO] [stdout] | [INFO] [stdout] 1169 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMetadataRef` in this scope [INFO] [stdout] --> src/debug_info.rs:1169:30 [INFO] [stdout] | [INFO] [stdout] 1168 | pub struct DIExpression<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMMetadataRef` [INFO] [stdout] 1169 | pub(crate) metadata_ref: LLVMMetadataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1225:31 [INFO] [stdout] | [INFO] [stdout] 1225 | impl DIFlagsConstants for DIFlags { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1226:21 [INFO] [stdout] | [INFO] [stdout] 1226 | const ZERO: DIFlags = llvm_sys::debuginfo::LLVMDIFlagZero; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1227:24 [INFO] [stdout] | [INFO] [stdout] 1227 | const PRIVATE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPrivate; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1228:26 [INFO] [stdout] | [INFO] [stdout] 1228 | const PROTECTED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagProtected; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1229:23 [INFO] [stdout] | [INFO] [stdout] 1229 | const PUBLIC: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPublic; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1230:25 [INFO] [stdout] | [INFO] [stdout] 1230 | const FWD_DECL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagFwdDecl; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1231:28 [INFO] [stdout] | [INFO] [stdout] 1231 | const APPLE_BLOCK: DIFlags = llvm_sys::debuginfo::LLVMDIFlagAppleBlock; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1234:24 [INFO] [stdout] | [INFO] [stdout] 1234 | const VIRTUAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVirtual; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1235:27 [INFO] [stdout] | [INFO] [stdout] 1235 | const ARTIFICIAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagArtificial; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | const EXPLICIT: DIFlags = llvm_sys::debuginfo::LLVMDIFlagExplicit; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1237:27 [INFO] [stdout] | [INFO] [stdout] 1237 | const PROTOTYPED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagPrototyped; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1238:36 [INFO] [stdout] | [INFO] [stdout] 1238 | const OBJC_CLASS_COMPLETE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagObjcClassComplete; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1239:31 [INFO] [stdout] | [INFO] [stdout] 1239 | const OBJECT_POINTER: DIFlags = llvm_sys::debuginfo::LLVMDIFlagObjectPointer; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1240:23 [INFO] [stdout] | [INFO] [stdout] 1240 | const VECTOR: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVector; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1241:30 [INFO] [stdout] | [INFO] [stdout] 1241 | const STATIC_MEMBER: DIFlags = llvm_sys::debuginfo::LLVMDIFlagStaticMember; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1242:33 [INFO] [stdout] | [INFO] [stdout] 1242 | const LVALUE_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagLValueReference; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1243:33 [INFO] [stdout] | [INFO] [stdout] 1243 | const RVALUE_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagRValueReference; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1244:25 [INFO] [stdout] | [INFO] [stdout] 1244 | const RESERVED: DIFlags = llvm_sys::debuginfo::LLVMDIFlagReserved; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1245:35 [INFO] [stdout] | [INFO] [stdout] 1245 | const SINGLE_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagSingleInheritance; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1246:37 [INFO] [stdout] | [INFO] [stdout] 1246 | const MULTIPLE_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagMultipleInheritance; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1247:36 [INFO] [stdout] | [INFO] [stdout] 1247 | const VIRTUAL_INHERITANCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagVirtualInheritance; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1248:35 [INFO] [stdout] | [INFO] [stdout] 1248 | const INTRODUCED_VIRTUAL: DIFlags = llvm_sys::debuginfo::LLVMDIFlagIntroducedVirtual; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1249:26 [INFO] [stdout] | [INFO] [stdout] 1249 | const BIT_FIELD: DIFlags = llvm_sys::debuginfo::LLVMDIFlagBitField; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1250:26 [INFO] [stdout] | [INFO] [stdout] 1250 | const NO_RETURN: DIFlags = llvm_sys::debuginfo::LLVMDIFlagNoReturn; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1253:35 [INFO] [stdout] | [INFO] [stdout] 1253 | const TYPE_PASS_BY_VALUE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagTypePassByValue; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1254:39 [INFO] [stdout] | [INFO] [stdout] 1254 | const TYPE_PASS_BY_REFERENCE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagTypePassByReference; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 1259 | const THUNK: DIFlags = llvm_sys::debuginfo::LLVMDIFlagThunk; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIFlags` in this scope [INFO] [stdout] --> src/debug_info.rs:1270:38 [INFO] [stdout] | [INFO] [stdout] 1270 | const INDIRECT_VIRTUAL_BASE: DIFlags = llvm_sys::debuginfo::LLVMDIFlagIndirectVirtualBase; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDWARFEmissionKind` in this scope [INFO] [stdout] --> src/debug_info.rs:1274:17 [INFO] [stdout] | [INFO] [stdout] 1274 | #[llvm_enum(LLVMDWARFEmissionKind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `DWARFEmissionKind` [INFO] [stdout] 1275 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 1276 | pub enum DWARFEmissionKind { [INFO] [stdout] | -------------------------- similarly named enum `DWARFEmissionKind` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMDWARFSourceLanguage` in this scope [INFO] [stdout] --> src/debug_info.rs:1286:17 [INFO] [stdout] | [INFO] [stdout] 1286 | #[llvm_enum(LLVMDWARFSourceLanguage)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `DWARFSourceLanguage` [INFO] [stdout] 1287 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 1288 | pub enum DWARFSourceLanguage { [INFO] [stdout] | ---------------------------- similarly named enum `DWARFSourceLanguage` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMExecutionEngineRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | -------------------------------- similarly named struct `ExecutionEngine` defined here [INFO] [stdout] ... [INFO] [stdout] 94 | execution_engine: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 | execution_engine: Rc, [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 92 | impl<'ctx, LLVMExecutionEngineRef> ExecutionEngine<'ctx> { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetExecutionEngineTargetData` in this scope [INFO] [stdout] --> src/execution_engine.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | let target_data = LLVMGetExecutionEngineTargetData(*execution_engine); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMExecutionEngineRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:109:53 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | -------------------------------- similarly named struct `ExecutionEngine` defined here [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn execution_engine_rc(&self) -> &Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn execution_engine_rc(&self) -> &Rc { [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 92 | impl<'ctx, LLVMExecutionEngineRef> ExecutionEngine<'ctx> { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMExecutionEngineRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | -------------------------------- similarly named struct `ExecutionEngine` defined here [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn execution_engine_inner(&self) -> LLVMExecutionEngineRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ExecutionEngine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMLinkInMCJIT` in this scope [INFO] [stdout] --> src/execution_engine.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | LLVMLinkInMCJIT() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMLinkInInterpreter` in this scope [INFO] [stdout] --> src/execution_engine.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | LLVMLinkInInterpreter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGlobalMapping` in this scope [INFO] [stdout] --> src/execution_engine.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | LLVMAddGlobalMapping(self.execution_engine_inner(), value.as_value_ref(), addr as *mut _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddModule` in this scope [INFO] [stdout] --> src/execution_engine.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | LLVMAddModule(self.execution_engine_inner(), module.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRemoveModule` in this scope [INFO] [stdout] --> src/execution_engine.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | LLVMRemoveModule(self.execution_engine_inner(), module.module.get(), new_module.as_mut_ptr(), err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFunctionAddress` in this scope [INFO] [stdout] --> src/execution_engine.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | LLVMGetFunctionAddress(self.execution_engine_inner(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFindFunction` in this scope [INFO] [stdout] --> src/execution_engine.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | LLVMFindFunction(self.execution_engine_inner(), c_string.as_ptr(), function.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMGenericValueRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'ctx> ExecutionEngine<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMGenericValueRef` [INFO] [stdout] ... [INFO] [stdout] 380 | let mut args: Vec = args.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunFunction` in this scope [INFO] [stdout] --> src/execution_engine.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | ... let value = LLVMRunFunction(self.execution_engine_inner(), function.as_value_ref(), args.len() as u32, args.as_mut_ptr()); // REVIE... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunFunctionAsMain` in this scope [INFO] [stdout] --> src/execution_engine.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | ... LLVMRunFunctionAsMain(self.execution_engine_inner(), function.as_value_ref(), raw_args.len() as u32, raw_args.as_ptr(), environment... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFreeMachineCodeForFunction` in this scope [INFO] [stdout] --> src/execution_engine.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | LLVMFreeMachineCodeForFunction(self.execution_engine_inner(), function.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunStaticConstructors` in this scope [INFO] [stdout] --> src/execution_engine.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | LLVMRunStaticConstructors(self.execution_engine_inner()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunStaticDestructors` in this scope [INFO] [stdout] --> src/execution_engine.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | LLVMRunStaticDestructors(self.execution_engine_inner()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMExecutionEngineRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:451:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | -------------------------------- similarly named struct `ExecutionEngine` defined here [INFO] [stdout] ... [INFO] [stdout] 451 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 451 | struct ExecEngineInner<'ctx>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 451 | struct ExecEngineInner<'ctx, LLVMExecutionEngineRef>(Rc, PhantomData<&'ctx Context>); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeExecutionEngine` in this scope [INFO] [stdout] --> src/execution_engine.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | LLVMDisposeExecutionEngine(*self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMExecutionEngineRef` in this scope [INFO] [stdout] --> src/execution_engine.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExecutionEngine<'ctx> { [INFO] [stdout] | -------------------------------- similarly named struct `ExecutionEngine` defined here [INFO] [stdout] ... [INFO] [stdout] 464 | type Target = LLVMExecutionEngineRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ExecutionEngine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMemoryBufferRef` in this scope [INFO] [stdout] --> src/memory_buffer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) memory_buffer: LLVMMemoryBufferRef [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMMemoryBufferRef` in this scope [INFO] [stdout] --> src/memory_buffer.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn new(memory_buffer: LLVMMemoryBufferRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMemoryBufferWithContentsOfFile` in this scope [INFO] [stdout] --> src/memory_buffer.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | LLVMCreateMemoryBufferWithContentsOfFile(path.as_ptr() as *const ::libc::c_char, &mut memory_buffer, err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMemoryBufferWithSTDIN` in this scope [INFO] [stdout] --> src/memory_buffer.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LLVMCreateMemoryBufferWithSTDIN(&mut memory_buffer, err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMemoryBufferWithMemoryRange` in this scope [INFO] [stdout] --> src/memory_buffer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | ... LLVMCreateMemoryBufferWithMemoryRange(input.as_ptr() as *const ::libc::c_char, input.len(), name_c_string.as_ptr(), false as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateMemoryBufferWithMemoryRangeCopy` in this scope [INFO] [stdout] --> src/memory_buffer.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | LLVMCreateMemoryBufferWithMemoryRangeCopy(input.as_ptr() as *const ::libc::c_char, input.len(), name_c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetBufferStart` in this scope [INFO] [stdout] --> src/memory_buffer.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let start = LLVMGetBufferStart(self.memory_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetBufferSize` in this scope [INFO] [stdout] --> src/memory_buffer.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | LLVMGetBufferSize(self.memory_buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateObjectFile` in this scope [INFO] [stdout] --> src/memory_buffer.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMCreateObjectFile(self.memory_buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeMemoryBuffer` in this scope [INFO] [stdout] --> src/memory_buffer.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | LLVMDisposeMemoryBuffer(self.memory_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMModuleRef` in this scope [INFO] [stdout] --> src/module.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Module<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMModuleRef` [INFO] [stdout] 152 | data_layout: RefCell>, [INFO] [stdout] 153 | pub(crate) module: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMModuleRef` in this scope [INFO] [stdout] --> src/module.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) unsafe fn new(module: LLVMModuleRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddFunction` in this scope [INFO] [stdout] --> src/module.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | FunctionValue::new(LLVMAddFunction(self.module.get(), c_string.as_ptr(), ty.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetModuleContext` in this scope [INFO] [stdout] --> src/module.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ContextRef::new(LLVMGetModuleContext(self.module.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstFunction` in this scope [INFO] [stdout] --> src/module.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | FunctionValue::new(LLVMGetFirstFunction(self.module.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLastFunction` in this scope [INFO] [stdout] --> src/module.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | FunctionValue::new(LLVMGetLastFunction(self.module.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNamedFunction` in this scope [INFO] [stdout] --> src/module.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | FunctionValue::new(LLVMGetNamedFunction(self.module.get(), c_string.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeByName` in this scope [INFO] [stdout] --> src/module.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | LLVMGetTypeByName(self.module.get(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetTarget` in this scope [INFO] [stdout] --> src/module.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | LLVMSetTarget(self.module.get(), triple.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTarget` in this scope [INFO] [stdout] --> src/module.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | LLVMGetTarget(self.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateExecutionEngineForModule` in this scope [INFO] [stdout] --> src/module.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | LLVMCreateExecutionEngineForModule(execution_engine.as_mut_ptr(), self.module.get(), err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateInterpreterForModule` in this scope [INFO] [stdout] --> src/module.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | LLVMCreateInterpreterForModule(execution_engine.as_mut_ptr(), self.module.get(), err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateJITCompilerForModule` in this scope [INFO] [stdout] --> src/module.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | LLVMCreateJITCompilerForModule(execution_engine.as_mut_ptr(), self.module.get(), opt_level as u32, err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGlobalInAddressSpace` in this scope [INFO] [stdout] --> src/module.rs:561:40 [INFO] [stdout] | [INFO] [stdout] 561 | ... Some(address_space) => LLVMAddGlobalInAddressSpace(self.module.get(), type_.as_type_ref(), c_string.as_ptr(), address_space as u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGlobal` in this scope [INFO] [stdout] --> src/module.rs:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | None => LLVMAddGlobal(self.module.get(), type_.as_type_ref(), c_string.as_ptr()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMWriteBitcodeToFile` in this scope [INFO] [stdout] --> src/module.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | LLVMWriteBitcodeToFile(self.module.get(), c_string.as_ptr()) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMWriteBitcodeToFD` in this scope [INFO] [stdout] --> src/module.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | LLVMWriteBitcodeToFD(self.module.get(), file.as_raw_fd(), should_close as i32, unbuffered as i32) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMWriteBitcodeToMemoryBuffer` in this scope [INFO] [stdout] --> src/module.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | LLVMWriteBitcodeToMemoryBuffer(self.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMVerifyModule` in this scope [INFO] [stdout] --> src/module.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | LLVMVerifyModule(self.module.get(), action, err_str.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMModuleRef` in this scope [INFO] [stdout] --> src/module.rs:667:41 [INFO] [stdout] | [INFO] [stdout] 667 | fn get_borrowed_data_layout(module: LLVMModuleRef) -> DataLayout { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetDataLayoutStr` in this scope [INFO] [stdout] --> src/module.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | LLVMGetDataLayoutStr(module) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetDataLayout` in this scope [INFO] [stdout] --> src/module.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | LLVMSetDataLayout(self.module.get(), data_layout.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDumpModule` in this scope [INFO] [stdout] --> src/module.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | LLVMDumpModule(self.module.get()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintModuleToString` in this scope [INFO] [stdout] --> src/module.rs:752:29 [INFO] [stdout] | [INFO] [stdout] 752 | LLVMString::new(LLVMPrintModuleToString(self.module.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintModuleToFile` in this scope [INFO] [stdout] --> src/module.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | LLVMPrintModuleToFile(self.module.get(), path.as_ptr() as *const ::libc::c_char, err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetModuleInlineAsm2` in this scope [INFO] [stdout] --> src/module.rs:793:17 [INFO] [stdout] | [INFO] [stdout] 793 | LLVMSetModuleInlineAsm2(self.module.get(), asm.as_ptr() as *const ::libc::c_char, asm.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddNamedMetadataOperand` in this scope [INFO] [stdout] --> src/module.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | LLVMAddNamedMetadataOperand(self.module.get(), c_string.as_ptr(), metadata.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNamedMetadataNumOperands` in this scope [INFO] [stdout] --> src/module.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | LLVMGetNamedMetadataNumOperands(self.module.get(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/module.rs:934:26 [INFO] [stdout] | [INFO] [stdout] 934 | let mut vec: Vec = Vec::with_capacity(count); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 934 | let mut vec: Vec = Vec::with_capacity(count); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 158 | impl<'ctx, LLVMValueRef> Module<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNamedMetadataOperands` in this scope [INFO] [stdout] --> src/module.rs:938:13 [INFO] [stdout] | [INFO] [stdout] 938 | LLVMGetNamedMetadataOperands(self.module.get(), c_string.as_ptr(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstGlobal` in this scope [INFO] [stdout] --> src/module.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | LLVMGetFirstGlobal(self.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLastGlobal` in this scope [INFO] [stdout] --> src/module.rs:998:13 [INFO] [stdout] | [INFO] [stdout] 998 | LLVMGetLastGlobal(self.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNamedGlobal` in this scope [INFO] [stdout] --> src/module.rs:1031:13 [INFO] [stdout] | [INFO] [stdout] 1031 | LLVMGetNamedGlobal(self.module.get(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMParseBitcodeInContext` in this scope [INFO] [stdout] --> src/module.rs:1070:13 [INFO] [stdout] | [INFO] [stdout] 1070 | LLVMParseBitcodeInContext(context.context, buffer.memory_buffer, module.as_mut_ptr(), err_string.as_mut_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMLinkModules2` in this scope [INFO] [stdout] --> src/module.rs:1266:17 [INFO] [stdout] | [INFO] [stdout] 1266 | LLVMLinkModules2(self.module.get(), other.module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCloneModule` in this scope [INFO] [stdout] --> src/module.rs:1410:25 [INFO] [stdout] | [INFO] [stdout] 1410 | Module::new(LLVMCloneModule(self.module.get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeModule` in this scope [INFO] [stdout] --> src/module.rs:1421:17 [INFO] [stdout] | [INFO] [stdout] 1421 | LLVMDisposeModule(self.module.get()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | object_file: LLVMObjectFileRef [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn new(object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSections` in this scope [INFO] [stdout] --> src/object_file.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | LLVMGetSections(self.object_file) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSymbols` in this scope [INFO] [stdout] --> src/object_file.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | LLVMGetSymbols(self.object_file) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeObjectFile` in this scope [INFO] [stdout] --> src/object_file.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | LLVMDisposeObjectFile(self.object_file) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | section_iterator: LLVMSectionIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | object_file: LLVMObjectFileRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SectionIterator { [INFO] [stdout] | -------------------------- similarly named struct `SectionIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 55 | fn new(section_iterator: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SectionIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:55:67 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(section_iterator: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMoveToNextSection` in this scope [INFO] [stdout] --> src/object_file.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | LLVMMoveToNextSection(self.section_iterator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsSectionIteratorAtEnd` in this scope [INFO] [stdout] --> src/object_file.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | LLVMIsSectionIteratorAtEnd(self.object_file, self.section_iterator) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeSectionIterator` in this scope [INFO] [stdout] --> src/object_file.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | LLVMDisposeSectionIterator(self.section_iterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SectionIterator { [INFO] [stdout] | -------------------------- similarly named struct `SectionIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 102 | section: LLVMSectionIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SectionIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | object_file: LLVMObjectFileRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SectionIterator { [INFO] [stdout] | -------------------------- similarly named struct `SectionIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | fn new(section: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SectionIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:107:58 [INFO] [stdout] | [INFO] [stdout] 107 | fn new(section: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSectionName` in this scope [INFO] [stdout] --> src/object_file.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | LLVMGetSectionName(self.section) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSectionSize` in this scope [INFO] [stdout] --> src/object_file.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | LLVMGetSectionSize(self.section) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSectionContents` in this scope [INFO] [stdout] --> src/object_file.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | LLVMGetSectionContents(self.section) as *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSectionAddress` in this scope [INFO] [stdout] --> src/object_file.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMGetSectionAddress(self.section) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocations` in this scope [INFO] [stdout] --> src/object_file.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | LLVMGetRelocations(self.section) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMRelocationIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | relocation_iterator: LLVMRelocationIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SectionIterator { [INFO] [stdout] | -------------------------- similarly named struct `SectionIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 159 | section_iterator: LLVMSectionIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SectionIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | object_file: LLVMObjectFileRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMRelocationIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RelocationIterator { [INFO] [stdout] | ----------------------------- similarly named struct `RelocationIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 165 | fn new(relocation_iterator: LLVMRelocationIteratorRef, section_iterator: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RelocationIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSectionIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:165:78 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SectionIterator { [INFO] [stdout] | -------------------------- similarly named struct `SectionIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 165 | fn new(relocation_iterator: LLVMRelocationIteratorRef, section_iterator: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SectionIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:165:115 [INFO] [stdout] | [INFO] [stdout] 165 | ...terator: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMoveToNextRelocation` in this scope [INFO] [stdout] --> src/object_file.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | LLVMMoveToNextRelocation(self.relocation_iterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsRelocationIteratorAtEnd` in this scope [INFO] [stdout] --> src/object_file.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | LLVMIsRelocationIteratorAtEnd(self.section_iterator, self.relocation_iterator) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeRelocationIterator` in this scope [INFO] [stdout] --> src/object_file.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | LLVMDisposeRelocationIterator(self.relocation_iterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMRelocationIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RelocationIterator { [INFO] [stdout] | ----------------------------- similarly named struct `RelocationIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 213 | relocation: LLVMRelocationIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RelocationIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | object_file: LLVMObjectFileRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMRelocationIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RelocationIterator { [INFO] [stdout] | ----------------------------- similarly named struct `RelocationIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 218 | fn new(relocation: LLVMRelocationIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RelocationIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:218:64 [INFO] [stdout] | [INFO] [stdout] 218 | fn new(relocation: LLVMRelocationIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocationOffset` in this scope [INFO] [stdout] --> src/object_file.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | LLVMGetRelocationOffset(self.relocation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocationSymbol` in this scope [INFO] [stdout] --> src/object_file.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | LLVMGetRelocationSymbol(self.relocation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocationType` in this scope [INFO] [stdout] --> src/object_file.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | LLVMGetRelocationType(self.relocation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocationTypeName` in this scope [INFO] [stdout] --> src/object_file.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | CStr::from_ptr(LLVMGetRelocationTypeName(self.relocation)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetRelocationValueString` in this scope [INFO] [stdout] --> src/object_file.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | CStr::from_ptr(LLVMGetRelocationValueString(self.relocation)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSymbolIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | symbol_iterator: LLVMSymbolIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | object_file: LLVMObjectFileRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSymbolIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct SymbolIterator { [INFO] [stdout] | ------------------------- similarly named struct `SymbolIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 268 | fn new(symbol_iterator: LLVMSymbolIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SymbolIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMObjectFileRef` in this scope [INFO] [stdout] --> src/object_file.rs:268:65 [INFO] [stdout] | [INFO] [stdout] 268 | fn new(symbol_iterator: LLVMSymbolIteratorRef, object_file: LLVMObjectFileRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMMoveToNextSymbol` in this scope [INFO] [stdout] --> src/object_file.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | LLVMMoveToNextSymbol(self.symbol_iterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsSymbolIteratorAtEnd` in this scope [INFO] [stdout] --> src/object_file.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | LLVMIsSymbolIteratorAtEnd(self.object_file, self.symbol_iterator) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeSymbolIterator` in this scope [INFO] [stdout] --> src/object_file.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | LLVMDisposeSymbolIterator(self.symbol_iterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSymbolIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct SymbolIterator { [INFO] [stdout] | ------------------------- similarly named struct `SymbolIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 315 | symbol: LLVMSymbolIteratorRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SymbolIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMSymbolIteratorRef` in this scope [INFO] [stdout] --> src/object_file.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct SymbolIterator { [INFO] [stdout] | ------------------------- similarly named struct `SymbolIterator` defined here [INFO] [stdout] ... [INFO] [stdout] 319 | fn new(symbol: LLVMSymbolIteratorRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `SymbolIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSymbolName` in this scope [INFO] [stdout] --> src/object_file.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | LLVMGetSymbolName(self.symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSymbolSize` in this scope [INFO] [stdout] --> src/object_file.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | LLVMGetSymbolSize(self.symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSymbolAddress` in this scope [INFO] [stdout] --> src/object_file.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | LLVMGetSymbolAddress(self.symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerBuilderRef` in this scope [INFO] [stdout] --> src/passes.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pass_manager_builder: LLVMPassManagerBuilderRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerBuilderRef` in this scope [INFO] [stdout] --> src/passes.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PassManagerBuilder { [INFO] [stdout] | ----------------------------- similarly named struct `PassManagerBuilder` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | fn new(pass_manager_builder: LLVMPassManagerBuilderRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PassManagerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderCreate` in this scope [INFO] [stdout] --> src/passes.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | LLVMPassManagerBuilderCreate() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderSetOptLevel` in this scope [INFO] [stdout] --> src/passes.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LLVMPassManagerBuilderSetOptLevel(self.pass_manager_builder, opt_level as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderSetSizeLevel` in this scope [INFO] [stdout] --> src/passes.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | LLVMPassManagerBuilderSetSizeLevel(self.pass_manager_builder, size_level) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderSetDisableUnitAtATime` in this scope [INFO] [stdout] --> src/passes.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | LLVMPassManagerBuilderSetDisableUnitAtATime(self.pass_manager_builder, disable as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderSetDisableUnrollLoops` in this scope [INFO] [stdout] --> src/passes.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | LLVMPassManagerBuilderSetDisableUnrollLoops(self.pass_manager_builder, disable as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderSetDisableSimplifyLibCalls` in this scope [INFO] [stdout] --> src/passes.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | LLVMPassManagerBuilderSetDisableSimplifyLibCalls(self.pass_manager_builder, disable as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderUseInlinerWithThreshold` in this scope [INFO] [stdout] --> src/passes.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | LLVMPassManagerBuilderUseInlinerWithThreshold(self.pass_manager_builder, threshold) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderPopulateFunctionPassManager` in this scope [INFO] [stdout] --> src/passes.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | LLVMPassManagerBuilderPopulateFunctionPassManager(self.pass_manager_builder, pass_manager.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderPopulateModulePassManager` in this scope [INFO] [stdout] --> src/passes.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | LLVMPassManagerBuilderPopulateModulePassManager(self.pass_manager_builder, pass_manager.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderPopulateLTOPassManager` in this scope [INFO] [stdout] --> src/passes.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | ... LLVMPassManagerBuilderPopulateLTOPassManager(self.pass_manager_builder, pass_manager.pass_manager, internalize as i32, run_inliner ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPassManagerBuilderDispose` in this scope [INFO] [stdout] --> src/passes.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | LLVMPassManagerBuilderDispose(self.pass_manager_builder) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerRef` in this scope [INFO] [stdout] --> src/passes.rs:173:59 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe fn create>(input: I) -> LLVMPassManagerRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerRef` in this scope [INFO] [stdout] --> src/passes.rs:180:55 [INFO] [stdout] | [INFO] [stdout] 180 | unsafe fn create>(_: I) -> LLVMPassManagerRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreatePassManager` in this scope [INFO] [stdout] --> src/passes.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | LLVMCreatePassManager() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunPassManager` in this scope [INFO] [stdout] --> src/passes.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | LLVMRunPassManager(pass_manager.pass_manager, self.module.get()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerRef` in this scope [INFO] [stdout] --> src/passes.rs:194:59 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe fn create>(input: I) -> LLVMPassManagerRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateFunctionPassManagerForModule` in this scope [INFO] [stdout] --> src/passes.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | LLVMCreateFunctionPassManagerForModule(input.borrow().module.get()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMRunFunctionPassManager` in this scope [INFO] [stdout] --> src/passes.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | LLVMRunFunctionPassManager(pass_manager.pass_manager, self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerRef` in this scope [INFO] [stdout] --> src/passes.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) pass_manager: LLVMPassManagerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeFunctionPassManager` in this scope [INFO] [stdout] --> src/passes.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | LLVMInitializeFunctionPassManager(self.pass_manager) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFinalizeFunctionPassManager` in this scope [INFO] [stdout] --> src/passes.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | LLVMFinalizeFunctionPassManager(self.pass_manager) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassManagerRef` in this scope [INFO] [stdout] --> src/passes.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) fn new(pass_manager: LLVMPassManagerRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddArgumentPromotionPass` in this scope [INFO] [stdout] --> src/passes.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | LLVMAddArgumentPromotionPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddConstantMergePass` in this scope [INFO] [stdout] --> src/passes.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | LLVMAddConstantMergePass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddDeadArgEliminationPass` in this scope [INFO] [stdout] --> src/passes.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | LLVMAddDeadArgEliminationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddFunctionAttrsPass` in this scope [INFO] [stdout] --> src/passes.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | LLVMAddFunctionAttrsPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddFunctionInliningPass` in this scope [INFO] [stdout] --> src/passes.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | LLVMAddFunctionInliningPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddAlwaysInlinerPass` in this scope [INFO] [stdout] --> src/passes.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | LLVMAddAlwaysInlinerPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGlobalDCEPass` in this scope [INFO] [stdout] --> src/passes.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | LLVMAddGlobalDCEPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGlobalOptimizerPass` in this scope [INFO] [stdout] --> src/passes.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | LLVMAddGlobalOptimizerPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddIPConstantPropagationPass` in this scope [INFO] [stdout] --> src/passes.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | LLVMAddIPConstantPropagationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddPruneEHPass` in this scope [INFO] [stdout] --> src/passes.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | LLVMAddPruneEHPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddIPSCCPPass` in this scope [INFO] [stdout] --> src/passes.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | LLVMAddIPSCCPPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddInternalizePass` in this scope [INFO] [stdout] --> src/passes.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | LLVMAddInternalizePass(self.pass_manager, all_but_main as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddStripDeadPrototypesPass` in this scope [INFO] [stdout] --> src/passes.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | LLVMAddStripDeadPrototypesPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddStripSymbolsPass` in this scope [INFO] [stdout] --> src/passes.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | LLVMAddStripSymbolsPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopVectorizePass` in this scope [INFO] [stdout] --> src/passes.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | LLVMAddLoopVectorizePass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddSLPVectorizePass` in this scope [INFO] [stdout] --> src/passes.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | LLVMAddSLPVectorizePass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddAggressiveDCEPass` in this scope [INFO] [stdout] --> src/passes.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | LLVMAddAggressiveDCEPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddAlignmentFromAssumptionsPass` in this scope [INFO] [stdout] --> src/passes.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | LLVMAddAlignmentFromAssumptionsPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddCFGSimplificationPass` in this scope [INFO] [stdout] --> src/passes.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | LLVMAddCFGSimplificationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddDeadStoreEliminationPass` in this scope [INFO] [stdout] --> src/passes.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | LLVMAddDeadStoreEliminationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddScalarizerPass` in this scope [INFO] [stdout] --> src/passes.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | LLVMAddScalarizerPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddMergedLoadStoreMotionPass` in this scope [INFO] [stdout] --> src/passes.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | LLVMAddMergedLoadStoreMotionPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddGVNPass` in this scope [INFO] [stdout] --> src/passes.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | LLVMAddGVNPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddIndVarSimplifyPass` in this scope [INFO] [stdout] --> src/passes.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | LLVMAddIndVarSimplifyPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddInstructionCombiningPass` in this scope [INFO] [stdout] --> src/passes.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | LLVMAddInstructionCombiningPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddJumpThreadingPass` in this scope [INFO] [stdout] --> src/passes.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | LLVMAddJumpThreadingPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLICMPass` in this scope [INFO] [stdout] --> src/passes.rs:694:13 [INFO] [stdout] | [INFO] [stdout] 694 | LLVMAddLICMPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopDeletionPass` in this scope [INFO] [stdout] --> src/passes.rs:705:13 [INFO] [stdout] | [INFO] [stdout] 705 | LLVMAddLoopDeletionPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopIdiomPass` in this scope [INFO] [stdout] --> src/passes.rs:712:13 [INFO] [stdout] | [INFO] [stdout] 712 | LLVMAddLoopIdiomPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopRotatePass` in this scope [INFO] [stdout] --> src/passes.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | LLVMAddLoopRotatePass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopRerollPass` in this scope [INFO] [stdout] --> src/passes.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | LLVMAddLoopRerollPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopUnrollPass` in this scope [INFO] [stdout] --> src/passes.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | LLVMAddLoopUnrollPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLoopUnswitchPass` in this scope [INFO] [stdout] --> src/passes.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | LLVMAddLoopUnswitchPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddMemCpyOptPass` in this scope [INFO] [stdout] --> src/passes.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 774 | LLVMAddMemCpyOptPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddPartiallyInlineLibCallsPass` in this scope [INFO] [stdout] --> src/passes.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | LLVMAddPartiallyInlineLibCallsPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLowerSwitchPass` in this scope [INFO] [stdout] --> src/passes.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | LLVMAddLowerSwitchPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddPromoteMemoryToRegisterPass` in this scope [INFO] [stdout] --> src/passes.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | LLVMAddPromoteMemoryToRegisterPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddReassociatePass` in this scope [INFO] [stdout] --> src/passes.rs:829:13 [INFO] [stdout] | [INFO] [stdout] 829 | LLVMAddReassociatePass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddSCCPPass` in this scope [INFO] [stdout] --> src/passes.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | LLVMAddSCCPPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddScalarReplAggregatesPass` in this scope [INFO] [stdout] --> src/passes.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 852 | LLVMAddScalarReplAggregatesPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddScalarReplAggregatesPassSSA` in this scope [INFO] [stdout] --> src/passes.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | LLVMAddScalarReplAggregatesPassSSA(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddScalarReplAggregatesPassWithThreshold` in this scope [INFO] [stdout] --> src/passes.rs:870:13 [INFO] [stdout] | [INFO] [stdout] 870 | LLVMAddScalarReplAggregatesPassWithThreshold(self.pass_manager, threshold) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddSimplifyLibCallsPass` in this scope [INFO] [stdout] --> src/passes.rs:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | LLVMAddSimplifyLibCallsPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddTailCallEliminationPass` in this scope [INFO] [stdout] --> src/passes.rs:903:13 [INFO] [stdout] | [INFO] [stdout] 903 | LLVMAddTailCallEliminationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddConstantPropagationPass` in this scope [INFO] [stdout] --> src/passes.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | LLVMAddConstantPropagationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddDemoteMemoryToRegisterPass` in this scope [INFO] [stdout] --> src/passes.rs:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | LLVMAddDemoteMemoryToRegisterPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddVerifierPass` in this scope [INFO] [stdout] --> src/passes.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | LLVMAddVerifierPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddCorrelatedValuePropagationPass` in this scope [INFO] [stdout] --> src/passes.rs:1001:13 [INFO] [stdout] | [INFO] [stdout] 1001 | LLVMAddCorrelatedValuePropagationPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddEarlyCSEPass` in this scope [INFO] [stdout] --> src/passes.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | LLVMAddEarlyCSEPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddLowerExpectIntrinsicPass` in this scope [INFO] [stdout] --> src/passes.rs:1025:13 [INFO] [stdout] | [INFO] [stdout] 1025 | LLVMAddLowerExpectIntrinsicPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddTypeBasedAliasAnalysisPass` in this scope [INFO] [stdout] --> src/passes.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | LLVMAddTypeBasedAliasAnalysisPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddScopedNoAliasAAPass` in this scope [INFO] [stdout] --> src/passes.rs:1039:13 [INFO] [stdout] | [INFO] [stdout] 1039 | LLVMAddScopedNoAliasAAPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddBasicAliasAnalysisPass` in this scope [INFO] [stdout] --> src/passes.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | LLVMAddBasicAliasAnalysisPass(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposePassManager` in this scope [INFO] [stdout] --> src/passes.rs:1113:13 [INFO] [stdout] | [INFO] [stdout] 1113 | LLVMDisposePassManager(self.pass_manager) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassRegistryRef` in this scope [INFO] [stdout] --> src/passes.rs:1120:20 [INFO] [stdout] | [INFO] [stdout] 1120 | pass_registry: LLVMPassRegistryRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMPassRegistryRef` in this scope [INFO] [stdout] --> src/passes.rs:1124:31 [INFO] [stdout] | [INFO] [stdout] 1124 | pub fn new(pass_registry: LLVMPassRegistryRef) -> PassRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetGlobalPassRegistry` in this scope [INFO] [stdout] --> src/passes.rs:1134:13 [INFO] [stdout] | [INFO] [stdout] 1134 | LLVMGetGlobalPassRegistry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeCore` in this scope [INFO] [stdout] --> src/passes.rs:1142:13 [INFO] [stdout] | [INFO] [stdout] 1142 | LLVMInitializeCore(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeTransformUtils` in this scope [INFO] [stdout] --> src/passes.rs:1148:13 [INFO] [stdout] | [INFO] [stdout] 1148 | LLVMInitializeTransformUtils(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeScalarOpts` in this scope [INFO] [stdout] --> src/passes.rs:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | LLVMInitializeScalarOpts(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeObjCARCOpts` in this scope [INFO] [stdout] --> src/passes.rs:1160:13 [INFO] [stdout] | [INFO] [stdout] 1160 | LLVMInitializeObjCARCOpts(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeVectorization` in this scope [INFO] [stdout] --> src/passes.rs:1166:13 [INFO] [stdout] | [INFO] [stdout] 1166 | LLVMInitializeVectorization(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeInstCombine` in this scope [INFO] [stdout] --> src/passes.rs:1172:13 [INFO] [stdout] | [INFO] [stdout] 1172 | LLVMInitializeInstCombine(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeIPO` in this scope [INFO] [stdout] --> src/passes.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | LLVMInitializeIPO(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeInstrumentation` in this scope [INFO] [stdout] --> src/passes.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1185 | LLVMInitializeInstrumentation(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAnalysis` in this scope [INFO] [stdout] --> src/passes.rs:1191:13 [INFO] [stdout] | [INFO] [stdout] 1191 | LLVMInitializeAnalysis(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeIPA` in this scope [INFO] [stdout] --> src/passes.rs:1197:13 [INFO] [stdout] | [INFO] [stdout] 1197 | LLVMInitializeIPA(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeCodeGen` in this scope [INFO] [stdout] --> src/passes.rs:1203:13 [INFO] [stdout] | [INFO] [stdout] 1203 | LLVMInitializeCodeGen(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeTarget` in this scope [INFO] [stdout] --> src/passes.rs:1209:13 [INFO] [stdout] | [INFO] [stdout] 1209 | LLVMInitializeTarget(self.pass_registry) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMCodeGenFileType` in this scope [INFO] [stdout] --> src/targets.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | fn as_llvm_file_type(&self) -> LLVMCodeGenFileType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetRef` in this scope [INFO] [stdout] --> src/targets.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | target: LLVMTargetRef, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetRef` in this scope [INFO] [stdout] --> src/targets.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Target { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 150 | target: LLVMTargetRef, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetRef` in this scope [INFO] [stdout] --> src/targets.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe fn new(target: LLVMTargetRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86Target` in this scope [INFO] [stdout] --> src/targets.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { LLVMInitializeX86Target() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86TargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { LLVMInitializeX86TargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86AsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | unsafe { LLVMInitializeX86AsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86AsmParser` in this scope [INFO] [stdout] --> src/targets.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | unsafe { LLVMInitializeX86AsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86Disassembler` in this scope [INFO] [stdout] --> src/targets.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | unsafe { LLVMInitializeX86Disassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeX86TargetMC` in this scope [INFO] [stdout] --> src/targets.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe { LLVMInitializeX86TargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMTarget` in this scope [INFO] [stdout] --> src/targets.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { LLVMInitializeARMTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { LLVMInitializeARMTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { LLVMInitializeARMAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { LLVMInitializeARMAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe { LLVMInitializeARMDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeARMTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { LLVMInitializeARMTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsTarget` in this scope [INFO] [stdout] --> src/targets.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { LLVMInitializeMipsTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { LLVMInitializeMipsTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { LLVMInitializeMipsAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | unsafe { LLVMInitializeMipsAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe { LLVMInitializeMipsDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMipsTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | unsafe { LLVMInitializeMipsTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64Target` in this scope [INFO] [stdout] --> src/targets.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | unsafe { LLVMInitializeAArch64Target() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64TargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe { LLVMInitializeAArch64TargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64AsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | unsafe { LLVMInitializeAArch64AsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64AsmParser` in this scope [INFO] [stdout] --> src/targets.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | unsafe { LLVMInitializeAArch64AsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64Disassembler` in this scope [INFO] [stdout] --> src/targets.rs:306:22 [INFO] [stdout] | [INFO] [stdout] 306 | unsafe { LLVMInitializeAArch64Disassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeAArch64TargetMC` in this scope [INFO] [stdout] --> src/targets.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | unsafe { LLVMInitializeAArch64TargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZTarget` in this scope [INFO] [stdout] --> src/targets.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { LLVMInitializeSystemZTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe { LLVMInitializeSystemZTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:409:22 [INFO] [stdout] | [INFO] [stdout] 409 | unsafe { LLVMInitializeSystemZAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { LLVMInitializeSystemZAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 419 | unsafe { LLVMInitializeSystemZDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSystemZTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | unsafe { LLVMInitializeSystemZTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeHexagonTarget` in this scope [INFO] [stdout] --> src/targets.rs:438:22 [INFO] [stdout] | [INFO] [stdout] 438 | unsafe { LLVMInitializeHexagonTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeHexagonTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe { LLVMInitializeHexagonTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeHexagonAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 448 | unsafe { LLVMInitializeHexagonAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeHexagonDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | unsafe { LLVMInitializeHexagonDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeHexagonTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe { LLVMInitializeHexagonTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeNVPTXTarget` in this scope [INFO] [stdout] --> src/targets.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | unsafe { LLVMInitializeNVPTXTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeNVPTXTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | unsafe { LLVMInitializeNVPTXTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeNVPTXAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | unsafe { LLVMInitializeNVPTXAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeNVPTXTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:490:22 [INFO] [stdout] | [INFO] [stdout] 490 | unsafe { LLVMInitializeNVPTXTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMSP430Target` in this scope [INFO] [stdout] --> src/targets.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 528 | unsafe { LLVMInitializeMSP430Target() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMSP430TargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:533:22 [INFO] [stdout] | [INFO] [stdout] 533 | unsafe { LLVMInitializeMSP430TargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMSP430AsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | unsafe { LLVMInitializeMSP430AsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeMSP430TargetMC` in this scope [INFO] [stdout] --> src/targets.rs:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | unsafe { LLVMInitializeMSP430TargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeXCoreTarget` in this scope [INFO] [stdout] --> src/targets.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 560 | unsafe { LLVMInitializeXCoreTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeXCoreTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:565:22 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { LLVMInitializeXCoreTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeXCoreAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | unsafe { LLVMInitializeXCoreAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeXCoreDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:577:22 [INFO] [stdout] | [INFO] [stdout] 577 | unsafe { LLVMInitializeXCoreDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeXCoreTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | unsafe { LLVMInitializeXCoreTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCTarget` in this scope [INFO] [stdout] --> src/targets.rs:596:22 [INFO] [stdout] | [INFO] [stdout] 596 | unsafe { LLVMInitializePowerPCTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:601:22 [INFO] [stdout] | [INFO] [stdout] 601 | unsafe { LLVMInitializePowerPCTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:606:22 [INFO] [stdout] | [INFO] [stdout] 606 | unsafe { LLVMInitializePowerPCAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:611:22 [INFO] [stdout] | [INFO] [stdout] 611 | unsafe { LLVMInitializePowerPCAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:616:22 [INFO] [stdout] | [INFO] [stdout] 616 | unsafe { LLVMInitializePowerPCDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializePowerPCTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 621 | unsafe { LLVMInitializePowerPCTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcTarget` in this scope [INFO] [stdout] --> src/targets.rs:635:22 [INFO] [stdout] | [INFO] [stdout] 635 | unsafe { LLVMInitializeSparcTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcTargetInfo` in this scope [INFO] [stdout] --> src/targets.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | unsafe { LLVMInitializeSparcTargetInfo() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:645:22 [INFO] [stdout] | [INFO] [stdout] 645 | unsafe { LLVMInitializeSparcAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:650:22 [INFO] [stdout] | [INFO] [stdout] 650 | unsafe { LLVMInitializeSparcAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:655:22 [INFO] [stdout] | [INFO] [stdout] 655 | unsafe { LLVMInitializeSparcDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInitializeSparcTargetMC` in this scope [INFO] [stdout] --> src/targets.rs:660:22 [INFO] [stdout] | [INFO] [stdout] 660 | unsafe { LLVMInitializeSparcTargetMC() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeNativeTarget` in this scope [INFO] [stdout] --> src/targets.rs:828:33 [INFO] [stdout] | [INFO] [stdout] 828 | let code = unsafe { LLVM_InitializeNativeTarget() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeNativeAsmPrinter` in this scope [INFO] [stdout] --> src/targets.rs:837:33 [INFO] [stdout] | [INFO] [stdout] 837 | let code = unsafe { LLVM_InitializeNativeAsmPrinter() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeNativeAsmParser` in this scope [INFO] [stdout] --> src/targets.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | let code = unsafe { LLVM_InitializeNativeAsmParser() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeNativeDisassembler` in this scope [INFO] [stdout] --> src/targets.rs:856:33 [INFO] [stdout] | [INFO] [stdout] 856 | let code = unsafe { LLVM_InitializeNativeDisassembler() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllTargets` in this scope [INFO] [stdout] --> src/targets.rs:875:22 [INFO] [stdout] | [INFO] [stdout] 875 | unsafe { LLVM_InitializeAllTargets() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllTargetInfos` in this scope [INFO] [stdout] --> src/targets.rs:880:22 [INFO] [stdout] | [INFO] [stdout] 880 | unsafe { LLVM_InitializeAllTargetInfos() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllAsmParsers` in this scope [INFO] [stdout] --> src/targets.rs:885:22 [INFO] [stdout] | [INFO] [stdout] 885 | unsafe { LLVM_InitializeAllAsmParsers() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllAsmPrinters` in this scope [INFO] [stdout] --> src/targets.rs:890:22 [INFO] [stdout] | [INFO] [stdout] 890 | unsafe { LLVM_InitializeAllAsmPrinters() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllDisassemblers` in this scope [INFO] [stdout] --> src/targets.rs:895:22 [INFO] [stdout] | [INFO] [stdout] 895 | unsafe { LLVM_InitializeAllDisassemblers() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVM_InitializeAllTargetMCs` in this scope [INFO] [stdout] --> src/targets.rs:900:22 [INFO] [stdout] | [INFO] [stdout] 900 | unsafe { LLVM_InitializeAllTargetMCs() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateTargetMachine` in this scope [INFO] [stdout] --> src/targets.rs:936:13 [INFO] [stdout] | [INFO] [stdout] 936 | LLVMCreateTargetMachine( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstTarget` in this scope [INFO] [stdout] --> src/targets.rs:959:22 [INFO] [stdout] | [INFO] [stdout] 959 | unsafe { LLVMGetFirstTarget() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextTarget` in this scope [INFO] [stdout] --> src/targets.rs:972:31 [INFO] [stdout] | [INFO] [stdout] 972 | let target = unsafe { LLVMGetNextTarget(self.target) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetName` in this scope [INFO] [stdout] --> src/targets.rs:984:33 [INFO] [stdout] | [INFO] [stdout] 984 | unsafe { CStr::from_ptr(LLVMGetTargetName(self.target)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetDescription` in this scope [INFO] [stdout] --> src/targets.rs:988:33 [INFO] [stdout] | [INFO] [stdout] 988 | unsafe { CStr::from_ptr(LLVMGetTargetDescription(self.target)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetFromName` in this scope [INFO] [stdout] --> src/targets.rs:1000:22 [INFO] [stdout] | [INFO] [stdout] 1000 | unsafe { LLVMGetTargetFromName(c_string) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetFromTriple` in this scope [INFO] [stdout] --> src/targets.rs:1018:22 [INFO] [stdout] | [INFO] [stdout] 1018 | unsafe { LLVMGetTargetFromTriple(triple.as_ptr(), &mut target, err_string.as_mut_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTargetHasJIT` in this scope [INFO] [stdout] --> src/targets.rs:1033:18 [INFO] [stdout] | [INFO] [stdout] 1033 | unsafe { LLVMTargetHasJIT(self.target) == 1 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTargetHasTargetMachine` in this scope [INFO] [stdout] --> src/targets.rs:1037:18 [INFO] [stdout] | [INFO] [stdout] 1037 | unsafe { LLVMTargetHasTargetMachine(self.target) == 1 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTargetHasAsmBackend` in this scope [INFO] [stdout] --> src/targets.rs:1041:18 [INFO] [stdout] | [INFO] [stdout] 1041 | unsafe { LLVMTargetHasAsmBackend(self.target) == 1 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetMachineRef` in this scope [INFO] [stdout] --> src/targets.rs:1047:32 [INFO] [stdout] | [INFO] [stdout] 1047 | pub(crate) target_machine: LLVMTargetMachineRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetMachineRef` in this scope [INFO] [stdout] --> src/targets.rs:1051:35 [INFO] [stdout] | [INFO] [stdout] 1051 | unsafe fn new(target_machine: LLVMTargetMachineRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetMachineTarget` in this scope [INFO] [stdout] --> src/targets.rs:1059:25 [INFO] [stdout] | [INFO] [stdout] 1059 | Target::new(LLVMGetTargetMachineTarget(self.target_machine)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetMachineTriple` in this scope [INFO] [stdout] --> src/targets.rs:1064:44 [INFO] [stdout] | [INFO] [stdout] 1064 | let str = unsafe { LLVMString::new(LLVMGetTargetMachineTriple(self.target_machine)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetDefaultTargetTriple` in this scope [INFO] [stdout] --> src/targets.rs:1081:52 [INFO] [stdout] | [INFO] [stdout] 1081 | let llvm_string = unsafe { LLVMString::new(LLVMGetDefaultTargetTriple()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetMachineCPU` in this scope [INFO] [stdout] --> src/targets.rs:1125:29 [INFO] [stdout] | [INFO] [stdout] 1125 | LLVMString::new(LLVMGetTargetMachineCPU(self.target_machine)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTargetMachineFeatureString` in this scope [INFO] [stdout] --> src/targets.rs:1130:33 [INFO] [stdout] | [INFO] [stdout] 1130 | unsafe { CStr::from_ptr(LLVMGetTargetMachineFeatureString(self.target_machine)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetTargetMachineAsmVerbosity` in this scope [INFO] [stdout] --> src/targets.rs:1142:18 [INFO] [stdout] | [INFO] [stdout] 1142 | unsafe { LLVMSetTargetMachineAsmVerbosity(self.target_machine, verbosity as i32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddAnalysisPasses` in this scope [INFO] [stdout] --> src/targets.rs:1147:18 [INFO] [stdout] | [INFO] [stdout] 1147 | unsafe { LLVMAddAnalysisPasses(self.target_machine, pass_manager.pass_manager) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTargetMachineEmitToMemoryBuffer` in this scope [INFO] [stdout] --> src/targets.rs:1195:13 [INFO] [stdout] | [INFO] [stdout] 1195 | LLVMTargetMachineEmitToMemoryBuffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTargetMachineEmitToFile` in this scope [INFO] [stdout] --> src/targets.rs:1267:13 [INFO] [stdout] | [INFO] [stdout] 1267 | LLVMTargetMachineEmitToFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeTargetMachine` in this scope [INFO] [stdout] --> src/targets.rs:1288:18 [INFO] [stdout] | [INFO] [stdout] 1288 | unsafe { LLVMDisposeTargetMachine(self.target_machine) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetDataRef` in this scope [INFO] [stdout] --> src/targets.rs:1300:29 [INFO] [stdout] | [INFO] [stdout] 1300 | pub(crate) target_data: LLVMTargetDataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetDataRef` in this scope [INFO] [stdout] --> src/targets.rs:1300:29 [INFO] [stdout] | [INFO] [stdout] 1299 | pub struct TargetData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1300 | pub(crate) target_data: LLVMTargetDataRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTargetDataRef` in this scope [INFO] [stdout] --> src/targets.rs:1304:43 [INFO] [stdout] | [INFO] [stdout] 1304 | pub(crate) unsafe fn new(target_data: LLVMTargetDataRef) -> TargetData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIntPtrTypeForASInContext` in this scope [INFO] [stdout] --> src/targets.rs:1337:17 [INFO] [stdout] | [INFO] [stdout] 1337 | LLVMIntPtrTypeForASInContext( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIntPtrTypeInContext` in this scope [INFO] [stdout] --> src/targets.rs:1343:30 [INFO] [stdout] | [INFO] [stdout] 1343 | None => unsafe { LLVMIntPtrTypeInContext(context.context, self.target_data) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCopyStringRepOfTargetData` in this scope [INFO] [stdout] --> src/targets.rs:1353:35 [INFO] [stdout] | [INFO] [stdout] 1353 | DataLayout::new_owned(LLVMCopyStringRepOfTargetData(self.target_data)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSizeOfTypeInBits` in this scope [INFO] [stdout] --> src/targets.rs:1359:18 [INFO] [stdout] | [INFO] [stdout] 1359 | unsafe { LLVMSizeOfTypeInBits(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateTargetData` in this scope [INFO] [stdout] --> src/targets.rs:1367:29 [INFO] [stdout] | [INFO] [stdout] 1367 | TargetData::new(LLVMCreateTargetData(c_string.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMByteOrder` in this scope [INFO] [stdout] --> src/targets.rs:1372:38 [INFO] [stdout] | [INFO] [stdout] 1372 | let byte_ordering = unsafe { LLVMByteOrder(self.target_data) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPointerSizeForAS` in this scope [INFO] [stdout] --> src/targets.rs:1383:17 [INFO] [stdout] | [INFO] [stdout] 1383 | LLVMPointerSizeForAS(self.target_data, address_space as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPointerSize` in this scope [INFO] [stdout] --> src/targets.rs:1385:30 [INFO] [stdout] | [INFO] [stdout] 1385 | None => unsafe { LLVMPointerSize(self.target_data) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMStoreSizeOfType` in this scope [INFO] [stdout] --> src/targets.rs:1390:18 [INFO] [stdout] | [INFO] [stdout] 1390 | unsafe { LLVMStoreSizeOfType(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMABISizeOfType` in this scope [INFO] [stdout] --> src/targets.rs:1394:18 [INFO] [stdout] | [INFO] [stdout] 1394 | unsafe { LLVMABISizeOfType(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMABIAlignmentOfType` in this scope [INFO] [stdout] --> src/targets.rs:1398:18 [INFO] [stdout] | [INFO] [stdout] 1398 | unsafe { LLVMABIAlignmentOfType(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCallFrameAlignmentOfType` in this scope [INFO] [stdout] --> src/targets.rs:1402:18 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { LLVMCallFrameAlignmentOfType(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPreferredAlignmentOfType` in this scope [INFO] [stdout] --> src/targets.rs:1406:18 [INFO] [stdout] | [INFO] [stdout] 1406 | unsafe { LLVMPreferredAlignmentOfType(self.target_data, type_.as_type_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPreferredAlignmentOfGlobal` in this scope [INFO] [stdout] --> src/targets.rs:1410:18 [INFO] [stdout] | [INFO] [stdout] 1410 | unsafe { LLVMPreferredAlignmentOfGlobal(self.target_data, value.as_value_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMElementAtOffset` in this scope [INFO] [stdout] --> src/targets.rs:1414:18 [INFO] [stdout] | [INFO] [stdout] 1414 | unsafe { LLVMElementAtOffset(self.target_data, struct_type.as_type_ref(), offset) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMOffsetOfElement` in this scope [INFO] [stdout] --> src/targets.rs:1423:18 [INFO] [stdout] | [INFO] [stdout] 1423 | Some(LLVMOffsetOfElement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeTargetData` in this scope [INFO] [stdout] --> src/targets.rs:1434:18 [INFO] [stdout] | [INFO] [stdout] 1434 | unsafe { LLVMDisposeTargetData(self.target_data) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/array_type.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) unsafe fn new(array_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/array_type.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 145 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'ctx, LLVMValueRef> ArrayType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/array_type.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetArrayLength` in this scope [INFO] [stdout] --> src/types/array_type.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | LLVMGetArrayLength(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/array_type.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/enums.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | / enum_type_set! { [INFO] [stdout] 57 | | /// A wrapper for any `BasicType`, `VoidType`, or `FunctionType`. [INFO] [stdout] 58 | | AnyTypeEnum: { [INFO] [stdout] 59 | | /// A contiguous homogeneous container type. [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_type_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/enums.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 77 | / enum_type_set! { [INFO] [stdout] 78 | | /// A wrapper for any `BasicType`. [INFO] [stdout] 79 | | BasicTypeEnum: { [INFO] [stdout] 80 | | /// A contiguous homogeneous container type. [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_type_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetadataType` in this scope [INFO] [stdout] --> src/types/enums.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | MetadataType, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::metadata_type::MetadataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/enums.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 94 | / enum_type_set! { [INFO] [stdout] 95 | | BasicMetadataTypeEnum: { [INFO] [stdout] 96 | | ArrayType, [INFO] [stdout] 97 | | FloatType, [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_type_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetadataType` in this scope [INFO] [stdout] --> src/types/enums.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn into_metadata_type(self) -> MetadataType<'ctx> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::metadata_type::MetadataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/enums.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | pub(crate) unsafe fn new(type_: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/types/enums.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | match LLVMGetTypeKind(type_) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/enums.rs:338:37 [INFO] [stdout] | [INFO] [stdout] 338 | pub(crate) unsafe fn new(type_: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/types/enums.rs:339:15 [INFO] [stdout] | [INFO] [stdout] 339 | match LLVMGetTypeKind(type_) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/float_type.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(float_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstReal` in this scope [INFO] [stdout] --> src/types/float_type.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | FloatValue::new(LLVMConstReal(self.float_type.ty, value)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstRealOfStringAndSize` in this scope [INFO] [stdout] --> src/types/float_type.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | FloatValue::new(LLVMConstRealOfStringAndSize(self.as_type_ref(), slice.as_ptr() as *const ::libc::c_char, slice.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateGenericValueOfFloat` in this scope [INFO] [stdout] --> src/types/float_type.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | GenericValue::new(LLVMCreateGenericValueOfFloat(self.as_type_ref(), value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/float_type.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 264 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, LLVMValueRef> FloatType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/float_type.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/float_type.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/fn_type.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn new(fn_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsFunctionVarArg` in this scope [INFO] [stdout] --> src/types/fn_type.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | LLVMIsFunctionVarArg(self.as_type_ref()) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/fn_type.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx> FunctionType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMTypeRef` [INFO] [stdout] ... [INFO] [stdout] 83 | let mut raw_vec: Vec = Vec::with_capacity(count as usize); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetParamTypes` in this scope [INFO] [stdout] --> src/types/fn_type.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | LLVMGetParamTypes(self.as_type_ref(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCountParamTypes` in this scope [INFO] [stdout] --> src/types/fn_type.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMCountParamTypes(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetReturnType` in this scope [INFO] [stdout] --> src/types/fn_type.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | LLVMGetReturnType(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/types/fn_type.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | LLVMGetTypeKind(ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/fn_type.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/int_type.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) unsafe fn new(int_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstInt` in this scope [INFO] [stdout] --> src/types/int_type.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | IntValue::new(LLVMConstInt(self.as_type_ref(), value, sign_extend as i32)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntOfStringAndSize` in this scope [INFO] [stdout] --> src/types/int_type.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | Some(IntValue::new(LLVMConstIntOfStringAndSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntOfArbitraryPrecision` in this scope [INFO] [stdout] --> src/types/int_type.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | IntValue::new(LLVMConstIntOfArbitraryPrecision(self.as_type_ref(), words.len() as u32, words.as_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstAllOnes` in this scope [INFO] [stdout] --> src/types/int_type.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | IntValue::new(LLVMConstAllOnes(self.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetIntTypeWidth` in this scope [INFO] [stdout] --> src/types/int_type.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | LLVMGetIntTypeWidth(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateGenericValueOfInt` in this scope [INFO] [stdout] --> src/types/int_type.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | GenericValue::new(LLVMCreateGenericValueOfInt(self.as_type_ref(), value, is_signed as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/int_type.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 368 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 64 | impl<'ctx, LLVMValueRef> IntType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/int_type.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/int_type.rs:378:30 [INFO] [stdout] | [INFO] [stdout] 378 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/metadata_type.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) unsafe fn new(metadata_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/metadata_type.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/ptr_type.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn new(ptr_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPointerAddressSpace` in this scope [INFO] [stdout] --> src/types/ptr_type.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | LLVMGetPointerAddressSpace(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/ptr_type.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 285 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl<'ctx, LLVMValueRef> PointerType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/ptr_type.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/ptr_type.rs:295:30 [INFO] [stdout] | [INFO] [stdout] 295 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) unsafe fn new(struct_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let mut args: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | let mut args: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx, LLVMValueRef> StructType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNamedStruct` in this scope [INFO] [stdout] --> src/types/struct_type.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | StructValue::new(LLVMConstNamedStruct(self.as_type_ref(), args.as_mut_ptr(), args.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetStructName` in this scope [INFO] [stdout] --> src/types/struct_type.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | LLVMGetStructName(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsPackedStruct` in this scope [INFO] [stdout] --> src/types/struct_type.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | LLVMIsPackedStruct(self.as_type_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsOpaqueStruct` in this scope [INFO] [stdout] --> src/types/struct_type.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | LLVMIsOpaqueStruct(self.as_type_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCountStructElementTypes` in this scope [INFO] [stdout] --> src/types/struct_type.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | LLVMCountStructElementTypes(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:311:30 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx> StructType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMTypeRef` [INFO] [stdout] ... [INFO] [stdout] 311 | let mut raw_vec: Vec = Vec::with_capacity(count as usize); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetStructElementTypes` in this scope [INFO] [stdout] --> src/types/struct_type.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | LLVMGetStructElementTypes(self.as_type_ref(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:374:34 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx> StructType<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMTypeRef` [INFO] [stdout] ... [INFO] [stdout] 374 | let mut field_types: Vec = field_types.iter() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMStructSetBody` in this scope [INFO] [stdout] --> src/types/struct_type.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | LLVMStructSetBody(self.as_type_ref(), field_types.as_mut_ptr(), field_types.len() as u32, packed as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:402:29 [INFO] [stdout] | [INFO] [stdout] 402 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 402 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | impl<'ctx, LLVMValueRef> StructType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/struct_type.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/struct_type.rs:412:30 [INFO] [stdout] | [INFO] [stdout] 412 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/traits.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_type_ref(&self) -> LLVMTypeRef; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/vec_type.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) unsafe fn new(vector_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetVectorSize` in this scope [INFO] [stdout] --> src/types/vec_type.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | LLVMGetVectorSize(self.as_type_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/vec_type.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | impl<'ctx, LLVMValueRef> VectorType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstVector` in this scope [INFO] [stdout] --> src/types/vec_type.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | VectorValue::new(LLVMConstVector(values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/vec_type.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | let mut values: Vec = values.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 249 | let mut values: Vec = values.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | impl<'ctx, LLVMValueRef> VectorType<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstArray` in this scope [INFO] [stdout] --> src/types/vec_type.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | ArrayValue::new(LLVMConstArray(self.as_type_ref(), values.as_mut_ptr(), values.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/vec_type.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/void_type.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) unsafe fn new(void_type: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/void_type.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | fn as_type_ref(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | ty: LLVMTypeRef, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | struct Type<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMTypeRef` [INFO] [stdout] 59 | ty: LLVMTypeRef, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/mod.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe fn new(ty: LLVMTypeRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn const_zero(self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/types/mod.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | match LLVMGetTypeKind(self.ty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstPointerNull` in this scope [INFO] [stdout] --> src/types/mod.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | LLVMTypeKind::LLVMMetadataTypeKind => LLVMConstPointerNull(self.ty), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNull` in this scope [INFO] [stdout] --> src/types/mod.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | _ => LLVMConstNull(self.ty) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPointerType` in this scope [INFO] [stdout] --> src/types/mod.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | PointerType::new(LLVMPointerType(self.ty, address_space as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMVectorType` in this scope [INFO] [stdout] --> src/types/mod.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | VectorType::new(LLVMVectorType(self.ty, size)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/types/mod.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'ctx> Type<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMTypeRef` [INFO] [stdout] ... [INFO] [stdout] 110 | let mut param_types: Vec = param_types.iter() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMFunctionType` in this scope [INFO] [stdout] --> src/types/mod.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | FunctionType::new(LLVMFunctionType(self.ty, param_types.as_mut_ptr(), param_types.len() as u32, is_var_args as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMArrayType` in this scope [INFO] [stdout] --> src/types/mod.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | ArrayType::new(LLVMArrayType(self.ty, size)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/types/mod.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_undef(self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetUndef` in this scope [INFO] [stdout] --> src/types/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | LLVMGetUndef(self.ty) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAlignOf` in this scope [INFO] [stdout] --> src/types/mod.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | IntValue::new(LLVMAlignOf(self.ty)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeContext` in this scope [INFO] [stdout] --> src/types/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | ContextRef::new(LLVMGetTypeContext(self.ty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeIsSized` in this scope [INFO] [stdout] --> src/types/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | LLVMTypeIsSized(self.ty) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSizeOf` in this scope [INFO] [stdout] --> src/types/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | Some(IntValue::new(LLVMSizeOf(self.ty))) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintTypeToString` in this scope [INFO] [stdout] --> src/types/mod.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | LLVMString::new(LLVMPrintTypeToString(self.ty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetElementType` in this scope [INFO] [stdout] --> src/types/mod.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | AnyTypeEnum::new(LLVMGetElementType(self.ty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/array_value.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/array_value.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAConstantArray` in this scope [INFO] [stdout] --> src/values/array_value.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | !LLVMIsAConstantArray(self.as_value_ref()).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAConstantDataArray` in this scope [INFO] [stdout] --> src/values/array_value.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | !LLVMIsAConstantDataArray(self.as_value_ref()).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMUseRef` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BasicValueUse<'ctx>(LLVMUseRef, PhantomData<&'ctx ()>); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMUseRef` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BasicValueUse<'ctx>(LLVMUseRef, PhantomData<&'ctx ()>); [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, LLVMUseRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMUseRef` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) unsafe fn new(use_: LLVMUseRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextUse` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | LLVMGetNextUse(self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetUser` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | AnyValueEnum::new(LLVMGetUser(self.0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetUsedValue` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | LLVMGetUsedValue(self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsABasicBlock` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | !LLVMIsABasicBlock(used_value).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMValueAsBasicBlock` in this scope [INFO] [stdout] --> src/values/basic_value_use.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | BasicBlock::new(LLVMValueAsBasicBlock(used_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetTailCall` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | LLVMSetTailCall(self.as_value_ref(), tail_call as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsTailCall` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | LLVMIsTailCall(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | match LLVMGetTypeKind(LLVMTypeOf(self.as_value_ref())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | match LLVMGetTypeKind(LLVMTypeOf(self.as_value_ref())) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetInstructionCallConv` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | LLVMGetInstructionCallConv(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetInstructionCallConv` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | LLVMSetInstructionCallConv(self.as_value_ref(), conv) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetInstrParamAlignment` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | LLVMSetInstrParamAlignment(self.as_value_ref(), loc.get_index(), alignment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/call_site_value.rs:507:31 [INFO] [stdout] | [INFO] [stdout] 507 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 63 | enum_value_set! {AggregateValueEnum: ArrayValue, StructValue} [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 64 | enum_value_set! {AnyValueEnum: ArrayValue, IntValue, FloatValue, PhiValue, FunctionValue, PointerValue, StructValue, VectorValue, InstructionValue} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 65 | enum_value_set! {BasicValueEnum: ArrayValue, IntValue, FloatValue, PointerValue, StructValue, VectorValue} [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 66 | enum_value_set! {BasicMetadataValueEnum: ArrayValue, IntValue, FloatValue, PointerValue, StructValue, VectorValue, MetadataValue} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/values/enums.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAInstruction` in this scope [INFO] [stdout] --> src/values/enums.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if LLVMIsAInstruction(value).is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | AnyTypeEnum::new(LLVMTypeOf(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/values/enums.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | BasicTypeEnum::new(LLVMTypeOf(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/values/enums.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/enums.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetTypeKind` in this scope [INFO] [stdout] --> src/values/enums.rs:342:15 [INFO] [stdout] | [INFO] [stdout] 342 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/enums.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/float_value.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFNeg` in this scope [INFO] [stdout] --> src/values/float_value.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | FloatValue::new(LLVMConstFNeg(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFAdd` in this scope [INFO] [stdout] --> src/values/float_value.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | FloatValue::new(LLVMConstFAdd(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFSub` in this scope [INFO] [stdout] --> src/values/float_value.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | FloatValue::new(LLVMConstFSub(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFMul` in this scope [INFO] [stdout] --> src/values/float_value.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | FloatValue::new(LLVMConstFMul(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFDiv` in this scope [INFO] [stdout] --> src/values/float_value.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | FloatValue::new(LLVMConstFDiv(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFRem` in this scope [INFO] [stdout] --> src/values/float_value.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | FloatValue::new(LLVMConstFRem(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFPCast` in this scope [INFO] [stdout] --> src/values/float_value.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | FloatValue::new(LLVMConstFPCast(self.as_value_ref(), float_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFPToUI` in this scope [INFO] [stdout] --> src/values/float_value.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | IntValue::new(LLVMConstFPToUI(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFPToSI` in this scope [INFO] [stdout] --> src/values/float_value.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | IntValue::new(LLVMConstFPToSI(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFPTrunc` in this scope [INFO] [stdout] --> src/values/float_value.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | FloatValue::new(LLVMConstFPTrunc(self.as_value_ref(), float_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFPExt` in this scope [INFO] [stdout] --> src/values/float_value.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | FloatValue::new(LLVMConstFPExt(self.as_value_ref(), float_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstFCmp` in this scope [INFO] [stdout] --> src/values/float_value.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | IntValue::new(LLVMConstFCmp(op.into(), self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstRealGetDouble` in this scope [INFO] [stdout] --> src/values/float_value.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | LLVMConstRealGetDouble(self.as_value_ref(), &mut lossy) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/float_value.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/fn_value.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAFunction` in this scope [INFO] [stdout] --> src/values/fn_value.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(!LLVMIsAFunction(value).is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLinkage` in this scope [INFO] [stdout] --> src/values/fn_value.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LLVMGetLinkage(self.as_value_ref()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetLinkage` in this scope [INFO] [stdout] --> src/values/fn_value.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LLVMSetLinkage(self.as_value_ref(), linkage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMVerifyFunction` in this scope [INFO] [stdout] --> src/values/fn_value.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | LLVMVerifyFunction(self.fn_value.value, action) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextFunction` in this scope [INFO] [stdout] --> src/values/fn_value.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | FunctionValue::new(LLVMGetNextFunction(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPreviousFunction` in this scope [INFO] [stdout] --> src/values/fn_value.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | FunctionValue::new(LLVMGetPreviousFunction(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstParam` in this scope [INFO] [stdout] --> src/values/fn_value.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | LLVMGetFirstParam(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLastParam` in this scope [INFO] [stdout] --> src/values/fn_value.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | LLVMGetLastParam(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstBasicBlock` in this scope [INFO] [stdout] --> src/values/fn_value.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | BasicBlock::new(LLVMGetFirstBasicBlock(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetParam` in this scope [INFO] [stdout] --> src/values/fn_value.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | Some(BasicValueEnum::new(LLVMGetParam(self.as_value_ref(), nth))) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCountParams` in this scope [INFO] [stdout] --> src/values/fn_value.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMCountParams(self.fn_value.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCountBasicBlocks` in this scope [INFO] [stdout] --> src/values/fn_value.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | LLVMCountBasicBlocks(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBasicBlockRef` in this scope [INFO] [stdout] --> src/values/fn_value.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'ctx> FunctionValue<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMBasicBlockRef` [INFO] [stdout] ... [INFO] [stdout] 155 | let mut raw_vec: Vec = Vec::with_capacity(count as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetBasicBlocks` in this scope [INFO] [stdout] --> src/values/fn_value.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | LLVMGetBasicBlocks(self.as_value_ref(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/fn_value.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let mut raw_vec: Vec = Vec::with_capacity(count as usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 179 | let mut raw_vec: Vec = Vec::with_capacity(count as usize); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl<'ctx, LLVMValueRef> FunctionValue<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetParams` in this scope [INFO] [stdout] --> src/values/fn_value.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | LLVMGetParams(self.as_value_ref(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLastBasicBlock` in this scope [INFO] [stdout] --> src/values/fn_value.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | BasicBlock::new(LLVMGetLastBasicBlock(self.fn_value.value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMViewFunctionCFG` in this scope [INFO] [stdout] --> src/values/fn_value.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | LLVMViewFunctionCFG(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMViewFunctionCFGOnly` in this scope [INFO] [stdout] --> src/values/fn_value.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | LLVMViewFunctionCFGOnly(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDeleteFunction` in this scope [INFO] [stdout] --> src/values/fn_value.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | LLVMDeleteFunction(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPersonalityFn` in this scope [INFO] [stdout] --> src/values/fn_value.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | FunctionValue::new(LLVMGetPersonalityFn(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetIntrinsicID` in this scope [INFO] [stdout] --> src/values/fn_value.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | LLVMGetIntrinsicID(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFunctionCallConv` in this scope [INFO] [stdout] --> src/values/fn_value.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | LLVMGetFunctionCallConv(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetFunctionCallConv` in this scope [INFO] [stdout] --> src/values/fn_value.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | LLVMSetFunctionCallConv(self.as_value_ref(), call_conventions) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetGC` in this scope [INFO] [stdout] --> src/values/fn_value.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | CStr::from_ptr(LLVMGetGC(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetGC` in this scope [INFO] [stdout] --> src/values/fn_value.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | LLVMSetGC(self.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetParamAlignment` in this scope [INFO] [stdout] --> src/values/fn_value.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | LLVMSetParamAlignment(param.as_value_ref(), alignment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/fn_value.rs:524:31 [INFO] [stdout] | [INFO] [stdout] 524 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsConstant` in this scope [INFO] [stdout] --> src/values/fn_value.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | LLVMIsConstant(self.fn_value.value) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/fn_value.rs:552:23 [INFO] [stdout] | [INFO] [stdout] 552 | param_iter_value: LLVMValueRef, [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstParam` in this scope [INFO] [stdout] --> src/values/fn_value.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | LLVMGetFirstParam(self.param_iter_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextParam` in this scope [INFO] [stdout] --> src/values/fn_value.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | LLVMGetNextParam(self.param_iter_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMGenericValueRef` in this scope [INFO] [stdout] --> src/values/generic_value.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) generic_value: LLVMGenericValueRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMGenericValueRef` in this scope [INFO] [stdout] --> src/values/generic_value.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) unsafe fn new(generic_value: LLVMGenericValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGenericValueIntWidth` in this scope [INFO] [stdout] --> src/values/generic_value.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | LLVMGenericValueIntWidth(self.generic_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCreateGenericValueOfPointer` in this scope [INFO] [stdout] --> src/values/generic_value.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let value = LLVMCreateGenericValueOfPointer(value as *mut _ as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGenericValueToInt` in this scope [INFO] [stdout] --> src/values/generic_value.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | LLVMGenericValueToInt(self.generic_value, is_signed as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGenericValueToFloat` in this scope [INFO] [stdout] --> src/values/generic_value.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | LLVMGenericValueToFloat(float_type.as_type_ref(), self.generic_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGenericValueToPointer` in this scope [INFO] [stdout] --> src/values/generic_value.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | LLVMGenericValueToPointer(self.generic_value) as *mut T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDisposeGenericValue` in this scope [INFO] [stdout] --> src/values/generic_value.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | LLVMDisposeGenericValue(self.generic_value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/global_value.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPreviousGlobal` in this scope [INFO] [stdout] --> src/values/global_value.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LLVMGetPreviousGlobal(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextGlobal` in this scope [INFO] [stdout] --> src/values/global_value.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | LLVMGetNextGlobal(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetDLLStorageClass` in this scope [INFO] [stdout] --> src/values/global_value.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | LLVMGetDLLStorageClass(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetDLLStorageClass` in this scope [INFO] [stdout] --> src/values/global_value.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | LLVMSetDLLStorageClass(self.as_value_ref(), dll_storage_class.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetInitializer` in this scope [INFO] [stdout] --> src/values/global_value.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | LLVMGetInitializer(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetInitializer` in this scope [INFO] [stdout] --> src/values/global_value.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | LLVMSetInitializer(self.as_value_ref(), value.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsThreadLocal` in this scope [INFO] [stdout] --> src/values/global_value.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | LLVMIsThreadLocal(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetThreadLocal` in this scope [INFO] [stdout] --> src/values/global_value.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | LLVMSetThreadLocal(self.as_value_ref(), is_thread_local as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetThreadLocalMode` in this scope [INFO] [stdout] --> src/values/global_value.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | LLVMGetThreadLocalMode(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetThreadLocalMode` in this scope [INFO] [stdout] --> src/values/global_value.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | LLVMSetThreadLocalMode(self.as_value_ref(), thread_local_mode) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsDeclaration` in this scope [INFO] [stdout] --> src/values/global_value.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | LLVMIsDeclaration(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsGlobalConstant` in this scope [INFO] [stdout] --> src/values/global_value.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | LLVMIsGlobalConstant(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetGlobalConstant` in this scope [INFO] [stdout] --> src/values/global_value.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | LLVMSetGlobalConstant(self.as_value_ref(), is_constant as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsExternallyInitialized` in this scope [INFO] [stdout] --> src/values/global_value.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | LLVMIsExternallyInitialized(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetExternallyInitialized` in this scope [INFO] [stdout] --> src/values/global_value.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | LLVMSetExternallyInitialized(self.as_value_ref(), externally_initialized as i32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `externally_initialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetVisibility` in this scope [INFO] [stdout] --> src/values/global_value.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | LLVMSetVisibility(self.as_value_ref(), visibility.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetVisibility` in this scope [INFO] [stdout] --> src/values/global_value.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | LLVMGetVisibility(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetSection` in this scope [INFO] [stdout] --> src/values/global_value.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | CStr::from_ptr(LLVMGetSection(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetSection` in this scope [INFO] [stdout] --> src/values/global_value.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | LLVMSetSection(self.as_value_ref(), c_string.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDeleteGlobal` in this scope [INFO] [stdout] --> src/values/global_value.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | LLVMDeleteGlobal(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetAlignment` in this scope [INFO] [stdout] --> src/values/global_value.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | LLVMGetAlignment(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetAlignment` in this scope [INFO] [stdout] --> src/values/global_value.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | LLVMSetAlignment(self.as_value_ref(), alignment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetLinkage` in this scope [INFO] [stdout] --> src/values/global_value.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | LLVMGetLinkage(self.as_value_ref()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetLinkage` in this scope [INFO] [stdout] --> src/values/global_value.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | LLVMSetLinkage(self.as_value_ref(), linkage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/global_value.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsALoadInst` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | !unsafe { LLVMIsALoadInst(self.as_value_ref()) }.is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAStoreInst` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | !unsafe { LLVMIsAStoreInst(self.as_value_ref()) }.is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAAllocaInst` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | !unsafe { LLVMIsAAllocaInst(self.as_value_ref()) }.is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:127:49 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) unsafe fn new(instruction_value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetInstructionOpcode` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | LLVMGetInstructionOpcode(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetPreviousInstruction` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | LLVMGetPreviousInstruction(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNextInstruction` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | LLVMGetNextInstruction(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInstructionEraseFromParent` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | LLVMInstructionEraseFromParent(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetInstructionParent` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | BasicBlock::new(LLVMGetInstructionParent(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsTailCall` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | LLVMIsTailCall(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetAlignment` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(unsafe { LLVMGetAlignment(self.as_value_ref()) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetAlignment` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | Ok(unsafe { LLVMSetAlignment(self.as_value_ref(), alignment) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetNumOperands` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | LLVMGetNumOperands(self.as_value_ref()) as u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetOperand` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | LLVMGetOperand(self.as_value_ref(), index) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsABasicBlock` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | !LLVMIsABasicBlock(operand).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMValueAsBasicBlock` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | BasicBlock::new(LLVMValueAsBasicBlock(operand)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetOperand` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | LLVMSetOperand(self.as_value_ref(), index, val.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetOperandUse` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | LLVMGetOperandUse(self.as_value_ref(), index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetICmpPredicate` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:614:17 [INFO] [stdout] | [INFO] [stdout] 614 | LLVMGetICmpPredicate(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFCmpPredicate` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | LLVMGetFCmpPredicate(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMHasMetadata` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | LLVMHasMetadata(self.instruction_value.value) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetMetadata` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | LLVMGetMetadata(self.instruction_value.value, kind_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetMetadata` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | LLVMSetMetadata(self.instruction_value.value, kind_id, metadata.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMInstructionClone` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:681:35 [INFO] [stdout] | [INFO] [stdout] 681 | InstructionValue::new(LLVMInstructionClone(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/instruction_value.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/int_value.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNot` in this scope [INFO] [stdout] --> src/values/int_value.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | IntValue::new(LLVMConstNot(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNeg` in this scope [INFO] [stdout] --> src/values/int_value.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | IntValue::new(LLVMConstNeg(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNSWNeg` in this scope [INFO] [stdout] --> src/values/int_value.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | IntValue::new(LLVMConstNSWNeg(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNUWNeg` in this scope [INFO] [stdout] --> src/values/int_value.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | IntValue::new(LLVMConstNUWNeg(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstAdd` in this scope [INFO] [stdout] --> src/values/int_value.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | IntValue::new(LLVMConstAdd(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNSWAdd` in this scope [INFO] [stdout] --> src/values/int_value.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | IntValue::new(LLVMConstNSWAdd(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNUWAdd` in this scope [INFO] [stdout] --> src/values/int_value.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | IntValue::new(LLVMConstNUWAdd(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSub` in this scope [INFO] [stdout] --> src/values/int_value.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | IntValue::new(LLVMConstSub(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNSWSub` in this scope [INFO] [stdout] --> src/values/int_value.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | IntValue::new(LLVMConstNSWSub(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNUWSub` in this scope [INFO] [stdout] --> src/values/int_value.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | IntValue::new(LLVMConstNUWSub(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstMul` in this scope [INFO] [stdout] --> src/values/int_value.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | IntValue::new(LLVMConstMul(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNSWMul` in this scope [INFO] [stdout] --> src/values/int_value.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | IntValue::new(LLVMConstNSWMul(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstNUWMul` in this scope [INFO] [stdout] --> src/values/int_value.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | IntValue::new(LLVMConstNUWMul(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstUDiv` in this scope [INFO] [stdout] --> src/values/int_value.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | IntValue::new(LLVMConstUDiv(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSDiv` in this scope [INFO] [stdout] --> src/values/int_value.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | IntValue::new(LLVMConstSDiv(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstExactSDiv` in this scope [INFO] [stdout] --> src/values/int_value.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | IntValue::new(LLVMConstExactSDiv(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstURem` in this scope [INFO] [stdout] --> src/values/int_value.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | IntValue::new(LLVMConstURem(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSRem` in this scope [INFO] [stdout] --> src/values/int_value.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | IntValue::new(LLVMConstSRem(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstAnd` in this scope [INFO] [stdout] --> src/values/int_value.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | IntValue::new(LLVMConstAnd(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstOr` in this scope [INFO] [stdout] --> src/values/int_value.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | IntValue::new(LLVMConstOr(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstXor` in this scope [INFO] [stdout] --> src/values/int_value.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | IntValue::new(LLVMConstXor(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntCast` in this scope [INFO] [stdout] --> src/values/int_value.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | IntValue::new(LLVMConstIntCast(self.as_value_ref(), int_type.as_type_ref(), is_signed as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstShl` in this scope [INFO] [stdout] --> src/values/int_value.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | IntValue::new(LLVMConstShl(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstLShr` in this scope [INFO] [stdout] --> src/values/int_value.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | IntValue::new(LLVMConstLShr(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstAShr` in this scope [INFO] [stdout] --> src/values/int_value.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | IntValue::new(LLVMConstAShr(self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstUIToFP` in this scope [INFO] [stdout] --> src/values/int_value.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | FloatValue::new(LLVMConstUIToFP(self.as_value_ref(), float_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSIToFP` in this scope [INFO] [stdout] --> src/values/int_value.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | FloatValue::new(LLVMConstSIToFP(self.as_value_ref(), float_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntToPtr` in this scope [INFO] [stdout] --> src/values/int_value.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | PointerValue::new(LLVMConstIntToPtr(self.as_value_ref(), ptr_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstTrunc` in this scope [INFO] [stdout] --> src/values/int_value.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | IntValue::new(LLVMConstTrunc(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSExt` in this scope [INFO] [stdout] --> src/values/int_value.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | IntValue::new(LLVMConstSExt(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstZExt` in this scope [INFO] [stdout] --> src/values/int_value.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | IntValue::new(LLVMConstZExt(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstTruncOrBitCast` in this scope [INFO] [stdout] --> src/values/int_value.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | IntValue::new(LLVMConstTruncOrBitCast(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSExtOrBitCast` in this scope [INFO] [stdout] --> src/values/int_value.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | IntValue::new(LLVMConstSExtOrBitCast(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstZExtOrBitCast` in this scope [INFO] [stdout] --> src/values/int_value.rs:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | IntValue::new(LLVMConstZExtOrBitCast(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstBitCast` in this scope [INFO] [stdout] --> src/values/int_value.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | IntValue::new(LLVMConstBitCast(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstICmp` in this scope [INFO] [stdout] --> src/values/int_value.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | IntValue::new(LLVMConstICmp(op.into(), self.as_value_ref(), rhs.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSelect` in this scope [INFO] [stdout] --> src/values/int_value.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | BasicValueEnum::new(LLVMConstSelect(self.as_value_ref(), then.as_value_ref(), else_.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAConstantInt` in this scope [INFO] [stdout] --> src/values/int_value.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 331 | !unsafe { LLVMIsAConstantInt(self.as_value_ref()) }.is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntGetZExtValue` in this scope [INFO] [stdout] --> src/values/int_value.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 357 | Some(LLVMConstIntGetZExtValue(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstIntGetSExtValue` in this scope [INFO] [stdout] --> src/values/int_value.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | Some(LLVMConstIntGetSExtValue(self.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/int_value.rs:394:31 [INFO] [stdout] | [INFO] [stdout] 394 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAMDNode` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(!LLVMIsAMDNode(value).is_null() || !LLVMIsAMDString(value).is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAMDString` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(!LLVMIsAMDNode(value).is_null() || !LLVMIsAMDString(value).is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAMDNode` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | LLVMIsAMDNode(self.as_value_ref()) == self.as_value_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAMDString` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | LLVMIsAMDString(self.as_value_ref()) == self.as_value_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetMDString` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | CStr::from_ptr(LLVMGetMDString(self.as_value_ref(), &mut len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetMDNodeNumOperands` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | LLVMGetMDNodeNumOperands(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let mut vec: Vec = Vec::with_capacity(count); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 108 | let mut vec: Vec = Vec::with_capacity(count); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | impl<'ctx, LLVMValueRef> MetadataValue<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetMDNodeOperands` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMGetMDNodeOperands(self.as_value_ref(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/metadata_value.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/phi_value.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/phi_value.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | let (mut values, mut basic_blocks): (Vec, Vec) = { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 | let (mut values, mut basic_blocks): (Vec, Vec) = { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx, LLVMValueRef> PhiValue<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMBasicBlockRef` in this scope [INFO] [stdout] --> src/values/phi_value.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'ctx> PhiValue<'ctx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LLVMBasicBlockRef` [INFO] [stdout] ... [INFO] [stdout] 28 | let (mut values, mut basic_blocks): (Vec, Vec) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMAddIncoming` in this scope [INFO] [stdout] --> src/values/phi_value.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LLVMAddIncoming(self.as_value_ref(), values.as_mut_ptr(), basic_blocks.as_mut_ptr(), incoming.len() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMCountIncoming` in this scope [INFO] [stdout] --> src/values/phi_value.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | LLVMCountIncoming(self.as_value_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetIncomingBlock` in this scope [INFO] [stdout] --> src/values/phi_value.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | BasicBlock::new(LLVMGetIncomingBlock(self.as_value_ref(), index)).expect("Invalid BasicBlock") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetIncomingValue` in this scope [INFO] [stdout] --> src/values/phi_value.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | BasicValueEnum::new(LLVMGetIncomingValue(self.as_value_ref(), index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/phi_value.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 69 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl<'ctx, LLVMValueRef> PointerValue<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstGEP` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | LLVMConstGEP(self.as_value_ref(), index_values.as_mut_ptr(), index_values.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 81 | let mut index_values: Vec = ordered_indexes.iter() [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl<'ctx, LLVMValueRef> PointerValue<'ctx> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstInBoundsGEP` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | LLVMConstInBoundsGEP(self.as_value_ref(), index_values.as_mut_ptr(), index_values.len() as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstPtrToInt` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | IntValue::new(LLVMConstPtrToInt(self.as_value_ref(), int_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstPointerCast` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | PointerValue::new(LLVMConstPointerCast(self.as_value_ref(), ptr_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstAddrSpaceCast` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | PointerValue::new(LLVMConstAddrSpaceCast(self.as_value_ref(), ptr_type.as_type_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/ptr_value.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/struct_value.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/struct_value.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_value_ref(&self) -> LLVMValueRef; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstExtractValue` in this scope [INFO] [stdout] --> src/values/traits.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | BasicValueEnum::new(LLVMConstExtractValue(self.as_value_ref(), indexes.as_mut_ptr(), indexes.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstInsertValue` in this scope [INFO] [stdout] --> src/values/traits.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | BasicValueEnum::new(LLVMConstInsertValue(self.as_value_ref(), value.as_value_ref(), indexes.as_mut_ptr(), indexes.len() as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 112 | fn new(value: LLVMValueRef) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 118 | fn new(value: LLVMValueRef) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 123 | fn new(value: LLVMValueRef) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 147 | math_trait_value_set! {IntMathValue: (IntValue => IntType), (VectorValue => VectorType)} [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `math_trait_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 148 | math_trait_value_set! {FloatMathValue: (FloatValue => FloatType), (VectorValue => VectorType)} [INFO] [stdout] | ---------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `math_trait_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/traits.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] ... [INFO] [stdout] 149 | math_trait_value_set! {PointerMathValue: (PointerValue => PointerType), (VectorValue => VectorType)} [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `math_trait_value_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/vec_value.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) unsafe fn new(vector_value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAConstantVector` in this scope [INFO] [stdout] --> src/values/vec_value.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | !LLVMIsAConstantVector(self.as_value_ref()).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAConstantDataVector` in this scope [INFO] [stdout] --> src/values/vec_value.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | !LLVMIsAConstantDataVector(self.as_value_ref()).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstExtractElement` in this scope [INFO] [stdout] --> src/values/vec_value.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | BasicValueEnum::new(LLVMConstExtractElement(self.as_value_ref(), index.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstInsertElement` in this scope [INFO] [stdout] --> src/values/vec_value.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | BasicValueEnum::new(LLVMConstInsertElement(self.as_value_ref(), value.as_value_ref(), index.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsConstantString` in this scope [INFO] [stdout] --> src/values/vec_value.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | LLVMIsConstantString(self.as_value_ref()) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetAsString` in this scope [INFO] [stdout] --> src/values/vec_value.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | LLVMGetAsString(self.as_value_ref(), &mut len) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetElementAsConstant` in this scope [INFO] [stdout] --> src/values/vec_value.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | BasicValueEnum::new(LLVMGetElementAsConstant(self.as_value_ref(), index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstSelect` in this scope [INFO] [stdout] --> src/values/vec_value.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | BasicValueEnum::new(LLVMConstSelect(self.as_value_ref(), then.as_value_ref(), else_.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMConstShuffleVector` in this scope [INFO] [stdout] --> src/values/vec_value.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | VectorValue::new(LLVMConstShuffleVector(self.as_value_ref(), right.as_value_ref(), mask.as_value_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/vec_value.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | fn as_value_ref(&self) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | value: LLVMValueRef, [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | value: LLVMValueRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 | value: AsValueRef, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 52 | struct Value<'ctx, LLVMValueRef> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/mod.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) unsafe fn new(value: LLVMValueRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsAInstruction` in this scope [INFO] [stdout] --> src/values/mod.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | !LLVMIsAInstruction(self.value).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsNull` in this scope [INFO] [stdout] --> src/values/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | LLVMIsNull(self.value) == 1 [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsConstant` in this scope [INFO] [stdout] --> src/values/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | LLVMIsConstant(self.value) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMSetValueName2` in this scope [INFO] [stdout] --> src/values/mod.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | LLVMSetValueName2(self.value, name.as_ptr() as *const ::libc::c_char, name.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetValueName2` in this scope [INFO] [stdout] --> src/values/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | LLVMGetValueName2(self.value, &mut len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMIsUndef` in this scope [INFO] [stdout] --> src/values/mod.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | LLVMIsUndef(self.value) == 1 [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMTypeRef` in this scope [INFO] [stdout] --> src/values/mod.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | fn get_type(self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | LLVMTypeOf(self.value) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintValueToString` in this scope [INFO] [stdout] --> src/values/mod.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | LLVMString::new(LLVMPrintValueToString(self.value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMDumpValue` in this scope [INFO] [stdout] --> src/values/mod.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | LLVMDumpValue(self.value) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LLVMValueRef` in this scope [INFO] [stdout] --> src/values/mod.rs:175:43 [INFO] [stdout] | [INFO] [stdout] 175 | fn replace_all_uses_with(self, other: LLVMValueRef) { [INFO] [stdout] | ^^^^^^^^^^^^ help: a trait with a similar name exists: `AsValueRef` [INFO] [stdout] | [INFO] [stdout] ::: src/values/traits.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait AsValueRef { [INFO] [stdout] | -------------------- similarly named trait `AsValueRef` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMReplaceAllUsesWith` in this scope [INFO] [stdout] --> src/values/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | LLVMReplaceAllUsesWith(self.value, other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMGetFirstUse` in this scope [INFO] [stdout] --> src/values/mod.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | LLVMGetFirstUse(self.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMPrintTypeToString` in this scope [INFO] [stdout] --> src/values/mod.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | CStr::from_ptr(LLVMPrintTypeToString(LLVMTypeOf(self.value))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LLVMTypeOf` in this scope [INFO] [stdout] --> src/values/mod.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | CStr::from_ptr(LLVMPrintTypeToString(LLVMTypeOf(self.value))) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionType` [INFO] [stdout] --> src/context.rs:30:88 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::types::{BasicTypeEnum, FloatType, IntType, StructType, VoidType, AsTypeRef, FunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PointerValue` [INFO] [stdout] --> src/context.rs:33:129 [INFO] [stdout] | [INFO] [stdout] 33 | ...num, FunctionValue, StructValue, MetadataValue, VectorValue, PointerValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/types/enums.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasicTypeEnum` [INFO] [stdout] --> src/types/float_type.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{Type, PointerType, FunctionType, BasicTypeEnum, ArrayType, VectorType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasicTypeEnum` [INFO] [stdout] --> src/types/int_type.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::types::{Type, ArrayType, BasicTypeEnum, VectorType, PointerType, FunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayType`, `BasicTypeEnum`, `VectorType` [INFO] [stdout] --> src/types/metadata_type.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::{Type, FunctionType, BasicTypeEnum, ArrayType, VectorType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntValue`, `MetadataValue` [INFO] [stdout] --> src/types/metadata_type.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::values::{IntValue, MetadataValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasicTypeEnum` [INFO] [stdout] --> src/types/ptr_type.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{AnyTypeEnum, BasicTypeEnum, ArrayType, FunctionType, Type, VectorType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasicTypeEnum` [INFO] [stdout] --> src/types/void_type.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::{Type, BasicTypeEnum, FunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicOrdering` [INFO] [stdout] --> src/values/instruction_value.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{AtomicOrdering, IntPredicate, FloatPredicate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/types/enums.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(value: $args) -> $enum_name { [INFO] [stdout] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] ... [INFO] [stdout] 94 | / enum_type_set! { [INFO] [stdout] 95 | | BasicMetadataTypeEnum: { [INFO] [stdout] 96 | | ArrayType, [INFO] [stdout] 97 | | FloatType, [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] = note: this error originates in the macro `enum_type_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using the `'ctx` lifetime [INFO] [stdout] | [INFO] [stdout] 37 | fn from(value: $args) -> $enum_name<'ctx> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1154 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer_inkwell` due to 1155 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d1ae0346dc6311d186acd78c99afb6d53b2267ae874521e4998b2df23a80f647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ae0346dc6311d186acd78c99afb6d53b2267ae874521e4998b2df23a80f647", kill_on_drop: false }` [INFO] [stdout] d1ae0346dc6311d186acd78c99afb6d53b2267ae874521e4998b2df23a80f647