llvm-sys 39.3.0

Bindings to LLVM's C API
Documentation
Build #286771 2020-08-27T23:42:15.445248+00:00
# rustc version
rustc 1.47.0-nightly (2d8a3b918 2020-08-26)# docs.rs version
docsrs 0.6.0 (f0b48fe 2020-08-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/llvm-sys-39.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/llvm-sys-39.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --static-root-path / --cap-lints warn --extern-html-root-url lazy_static=https://docs.rs/lazy_static/0.2.11 --extern-html-root-url gcc=https://docs.rs/gcc/0.3.55 --extern-html-root-url regex=https://docs.rs/regex/0.1.80 --extern-html-root-url semver=https://docs.rs/semver/0.4.1 --extern-html-root-url bitflags=https://docs.rs/bitflags/0.7.0 --extern-html-root-url libc=https://docs.rs/libc/0.2.66 --resource-suffix -20200826-1.47.0-nightly-2d8a3b918" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "-j2", kill_on_drop: false }`
[INFO] [stdout] 38b717924bc7a8c658d4bc542b786267de3cc096b7f15d4fafef350c76442c21
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "38b717924bc7a8c658d4bc542b786267de3cc096b7f15d4fafef350c76442c21", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling semver-parser v0.6.2
[INFO] [stderr]    Compiling semver v0.4.1
[INFO] [stderr]    Compiling llvm-sys v39.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> build.rs:184:23
[INFO] [stderr]     |
[INFO] [stderr] 184 |     let version_str = try!(llvm_config_ex(binary.as_ref(), "--version"));
[INFO] [stderr]     |                       ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stderr]    --> build.rs:315:5
[INFO] [stderr]     |
[INFO] [stderr] 315 |     gcc::compile_library("libtargetwrappers.a", &["wrappers/target.c"]);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> build.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | / lazy_static!{
[INFO] [stderr] 15 | |     /// LLVM version used by this version of the crate.
[INFO] [stderr] 16 | |     static ref CRATE_VERSION: Version = {
[INFO] [stderr] 17 | |         let crate_version = Version::parse(env!("CARGO_PKG_VERSION"))
[INFO] [stderr] ...  |
[INFO] [stderr] 78 | |     };
[INFO] [stderr] 79 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> build.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | / lazy_static!{
[INFO] [stderr] 15 | |     /// LLVM version used by this version of the crate.
[INFO] [stderr] 16 | |     static ref CRATE_VERSION: Version = {
[INFO] [stderr] 17 | |         let crate_version = Version::parse(env!("CARGO_PKG_VERSION"))
[INFO] [stderr] ...  |
[INFO] [stderr] 78 | |     };
[INFO] [stderr] 79 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: 4 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]  Documenting llvm-sys v39.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: variant `LLVM_LTO_UNKNOWN` should have an upper camel case name
[INFO] [stderr]  --> src/link_time_optimizer.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     LLVM_LTO_UNKNOWN = 0,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoUnknown`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_OPT_SUCCESS` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     LLVM_LTO_OPT_SUCCESS = 1,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoOptSuccess`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_READ_SUCCESS` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     LLVM_LTO_READ_SUCCESS = 2,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoReadSuccess`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_READ_FAILURE` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     LLVM_LTO_READ_FAILURE = 3,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoReadFailure`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_WRITE_FAILURE` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     LLVM_LTO_WRITE_FAILURE = 4,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoWriteFailure`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_NO_TARGET` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     LLVM_LTO_NO_TARGET = 5,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoNoTarget`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_NO_WORK` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     LLVM_LTO_NO_WORK = 6,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoNoWork`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_MODULE_MERGE_FAILURE` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     LLVM_LTO_MODULE_MERGE_FAILURE = 7,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoModuleMergeFailure`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_ASM_FAILURE` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     LLVM_LTO_ASM_FAILURE = 8,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoAsmFailure`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVM_LTO_NULL_OBJECT` should have an upper camel case name
[INFO] [stderr]   --> src/link_time_optimizer.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     LLVM_LTO_NULL_OBJECT = 9,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmLtoNullObject`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVMLinkerPreserveSource_Removed` should have an upper camel case name
[INFO] [stderr]  --> src/linker.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     LLVMLinkerPreserveSource_Removed = 1,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmlinkerPreserveSourceRemoved`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVMX86_FP80TypeKind` should have an upper camel case name
[INFO] [stderr]    --> src/lib.rs:205:5
[INFO] [stderr]     |
[INFO] [stderr] 205 |     LLVMX86_FP80TypeKind = 4,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Llvmx86Fp80typeKind`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVMPPC_FP128TypeKind` should have an upper camel case name
[INFO] [stderr]    --> src/lib.rs:207:5
[INFO] [stderr]     |
[INFO] [stderr] 207 |     LLVMPPC_FP128TypeKind = 6,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LlvmppcFp128typeKind`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `LLVMX86_MMXTypeKind` should have an upper camel case name
[INFO] [stderr]    --> src/lib.rs:216:5
[INFO] [stderr]     |
[INFO] [stderr] 216 |     LLVMX86_MMXTypeKind = 15,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Llvmx86MmxtypeKind`
[INFO] [stderr] 
[INFO] [stderr] warning: 14 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.00s
[INFO] running `Command { std: "docker" "inspect" "38b717924bc7a8c658d4bc542b786267de3cc096b7f15d4fafef350c76442c21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38b717924bc7a8c658d4bc542b786267de3cc096b7f15d4fafef350c76442c21", kill_on_drop: false }`
[INFO] [stdout] 38b717924bc7a8c658d4bc542b786267de3cc096b7f15d4fafef350c76442c21