llvm-sys 40.4.0

Bindings to LLVM's C API
Documentation
Build #286770 2020-08-27T23:39:38.856022+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-40.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/llvm-sys-40.4.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 regex=https://docs.rs/regex/0.2.11 --extern-html-root-url libc=https://docs.rs/libc/0.2.66 --extern-html-root-url cc=https://docs.rs/cc/1.0.48 --extern-html-root-url semver=https://docs.rs/semver/0.6.0 --extern-html-root-url lazy_static=https://docs.rs/lazy_static/0.2.11 --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] e7fe4303d572aff2ad1584afde84643224113489aee33cd987385b99ba7d13d1
[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" "e7fe4303d572aff2ad1584afde84643224113489aee33cd987385b99ba7d13d1", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ucd-util v0.1.8
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling semver v0.6.0
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling llvm-sys v40.4.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 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: 3 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]  Documenting llvm-sys v40.4.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:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     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:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     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:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     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:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     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:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     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:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     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:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     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:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     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:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     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:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     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:147:5
[INFO] [stderr]     |
[INFO] [stderr] 147 |     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:149:5
[INFO] [stderr]     |
[INFO] [stderr] 149 |     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:158:5
[INFO] [stderr]     |
[INFO] [stderr] 158 |     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 14.85s
[INFO] running `Command { std: "docker" "inspect" "e7fe4303d572aff2ad1584afde84643224113489aee33cd987385b99ba7d13d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7fe4303d572aff2ad1584afde84643224113489aee33cd987385b99ba7d13d1", kill_on_drop: false }`
[INFO] [stdout] e7fe4303d572aff2ad1584afde84643224113489aee33cd987385b99ba7d13d1