[INFO] fetching crate rustkit-clang-sys 0.24.0... [INFO] testing rustkit-clang-sys-0.24.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustkit-clang-sys 0.24.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rustkit-clang-sys 0.24.0 [INFO] finished tweaking crates.io crate rustkit-clang-sys 0.24.0 [INFO] tweaked toml for crates.io crate rustkit-clang-sys 0.24.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustkit-clang-sys 0.24.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.2) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 552c5fe09d987a708cce814142e435230fd09e5015642b8cfa873fec0c23c31e [INFO] running `Command { std: "docker" "start" "-a" "552c5fe09d987a708cce814142e435230fd09e5015642b8cfa873fec0c23c31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "552c5fe09d987a708cce814142e435230fd09e5015642b8cfa873fec0c23c31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552c5fe09d987a708cce814142e435230fd09e5015642b8cfa873fec0c23c31e", kill_on_drop: false }` [INFO] [stdout] 552c5fe09d987a708cce814142e435230fd09e5015642b8cfa873fec0c23c31e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 143b94f77ffd7cdba1091dd5bc33a9e30fded3e5ce855c470a938b1105fc3dee [INFO] running `Command { std: "docker" "start" "-a" "143b94f77ffd7cdba1091dd5bc33a9e30fded3e5ce855c470a938b1105fc3dee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rustkit-clang-sys v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | try!(file.read_exact(&mut elf).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let mut file = try!(File::open(file).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | try!(file.seek(SeekFrom::Start(0x3C)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(file.seek(SeekFrom::Start(offset as u64)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | try!(file.seek(SeekFrom::Current(20)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let mut file = try!(File::open(file).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | let class = try!(parse_elf_header(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | let magic = try!(parse_pe_header(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:381:91 [INFO] [stdout] | [INFO] [stdout] 381 | println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 381 - println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right()); [INFO] [stdout] 381 + println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:448:42 [INFO] [stdout] | [INFO] [stdout] 448 | let directory = Path::new(output.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 448 - let directory = Path::new(output.trim_right()); [INFO] [stdout] 448 + let directory = Path::new(output.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(feature="cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clang_3_5`, `clang_3_6`, `clang_3_7`, `clang_3_8`, `clang_3_9`, `clang_4_0`, `clang_5_0`, `clang_6_0`, `clang_7_0`, `clang_8_0`, `gte_clang_3_6`, `gte_clang_3_7`, `gte_clang_3_8`, `gte_clang_3_9`, `gte_clang_4_0`, `gte_clang_5_0`, `gte_clang_6_0`, `gte_clang_7_0`, `gte_clang_8_0`, `libloading`, `runtime`, and `static` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub type CXCursorVisitor = extern fn(CXCursor, CXCursor, CXClientData) -> CXChildVisitResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub type CXInclusionVisitor = extern fn(CXFile, *mut CXSourceLocation, c_uint, CXClientData); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1253:16 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1578:21 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1579:21 [INFO] [stdout] | [INFO] [stdout] 1579 | pub diagnostic: extern fn(CXClientData, CXDiagnosticSet, *mut c_void), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1580:26 [INFO] [stdout] | [INFO] [stdout] 1580 | pub enteredMainFile: extern fn(CXClientData, CXFile, *mut c_void) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1581:25 [INFO] [stdout] | [INFO] [stdout] 1581 | pub ppIncludedFile: extern fn(CXClientData, *const CXIdxIncludedFileInfo) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1582:26 [INFO] [stdout] | [INFO] [stdout] 1582 | pub importedASTFile: extern fn(CXClientData, *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1583:33 [INFO] [stdout] | [INFO] [stdout] 1583 | pub startedTranslationUnit: extern fn(CXClientData, *mut c_void) -> CXIdxClientContainer, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1584:27 [INFO] [stdout] | [INFO] [stdout] 1584 | pub indexDeclaration: extern fn(CXClientData, *const CXIdxDeclInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1585:31 [INFO] [stdout] | [INFO] [stdout] 1585 | pub indexEntityReference: extern fn(CXClientData, *const CXIdxEntityRefInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/link.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | extern { $($(#[cfg($cfg)])* pub fn $name($($pname: $pty), *) $(-> $ret)*;)+ } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1594:1 [INFO] [stdout] | [INFO] [stdout] 1594 | / link! { [INFO] [stdout] 1595 | | pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1596 | | pub fn clang_CXCursorSet_insert(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1597 | | pub fn clang_CXIndex_getGlobalOptions(index: CXIndex) -> CXGlobalOptFlags; [INFO] [stdout] ... | [INFO] [stdout] 2037 | | pub fn clang_VerbatimLineComment_getText(comment: CXComment) -> CXString; [INFO] [stdout] 2038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1808:44 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn clang_executeOnThread(function: extern fn(*mut c_void), data: *mut c_void, stack: c_uint); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | use libc::{c_char, c_int, c_longlong, c_uint, c_ulong, c_ulonglong, c_void, time_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:1900:47 [INFO] [stdout] | [INFO] [stdout] 1900 | pub fn clang_getFileTime(file: CXFile) -> time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CXCursorAndRangeVisitor` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1256 | default!(CXCursorAndRangeVisitor); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IndexerCallbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1588 | default!(IndexerCallbacks); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "143b94f77ffd7cdba1091dd5bc33a9e30fded3e5ce855c470a938b1105fc3dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143b94f77ffd7cdba1091dd5bc33a9e30fded3e5ce855c470a938b1105fc3dee", kill_on_drop: false }` [INFO] [stdout] 143b94f77ffd7cdba1091dd5bc33a9e30fded3e5ce855c470a938b1105fc3dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 644960d10f04c49091b57658e34f08917c0ff12d23ba1b77663ab5329f0e6100 [INFO] running `Command { std: "docker" "start" "-a" "644960d10f04c49091b57658e34f08917c0ff12d23ba1b77663ab5329f0e6100", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | try!(file.read_exact(&mut elf).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let mut file = try!(File::open(file).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | try!(file.seek(SeekFrom::Start(0x3C)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(file.seek(SeekFrom::Start(offset as u64)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | try!(file.seek(SeekFrom::Current(20)).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | try!(file.read_exact(&mut pe).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let mut file = try!(File::open(file).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | let class = try!(parse_elf_header(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> build.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | let magic = try!(parse_pe_header(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:381:91 [INFO] [stdout] | [INFO] [stdout] 381 | println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 381 - println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right()); [INFO] [stdout] 381 + println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:448:42 [INFO] [stdout] | [INFO] [stdout] 448 | let directory = Path::new(output.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 448 - let directory = Path::new(output.trim_right()); [INFO] [stdout] 448 + let directory = Path::new(output.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(feature="cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clang_3_5`, `clang_3_6`, `clang_3_7`, `clang_3_8`, `clang_3_9`, `clang_4_0`, `clang_5_0`, `clang_6_0`, `clang_7_0`, `clang_8_0`, `gte_clang_3_6`, `gte_clang_3_7`, `gte_clang_3_8`, `gte_clang_3_9`, `gte_clang_4_0`, `gte_clang_5_0`, `gte_clang_6_0`, `gte_clang_7_0`, `gte_clang_8_0`, `libloading`, `runtime`, and `static` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub type CXCursorVisitor = extern fn(CXCursor, CXCursor, CXClientData) -> CXChildVisitResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub type CXInclusionVisitor = extern fn(CXFile, *mut CXSourceLocation, c_uint, CXClientData); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1253:16 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1578:21 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1579:21 [INFO] [stdout] | [INFO] [stdout] 1579 | pub diagnostic: extern fn(CXClientData, CXDiagnosticSet, *mut c_void), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1580:26 [INFO] [stdout] | [INFO] [stdout] 1580 | pub enteredMainFile: extern fn(CXClientData, CXFile, *mut c_void) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1581:25 [INFO] [stdout] | [INFO] [stdout] 1581 | pub ppIncludedFile: extern fn(CXClientData, *const CXIdxIncludedFileInfo) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1582:26 [INFO] [stdout] | [INFO] [stdout] 1582 | pub importedASTFile: extern fn(CXClientData, *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1583:33 [INFO] [stdout] | [INFO] [stdout] 1583 | pub startedTranslationUnit: extern fn(CXClientData, *mut c_void) -> CXIdxClientContainer, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1584:27 [INFO] [stdout] | [INFO] [stdout] 1584 | pub indexDeclaration: extern fn(CXClientData, *const CXIdxDeclInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1585:31 [INFO] [stdout] | [INFO] [stdout] 1585 | pub indexEntityReference: extern fn(CXClientData, *const CXIdxEntityRefInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/link.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | extern { $($(#[cfg($cfg)])* pub fn $name($($pname: $pty), *) $(-> $ret)*;)+ } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1594:1 [INFO] [stdout] | [INFO] [stdout] 1594 | / link! { [INFO] [stdout] 1595 | | pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1596 | | pub fn clang_CXCursorSet_insert(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1597 | | pub fn clang_CXIndex_getGlobalOptions(index: CXIndex) -> CXGlobalOptFlags; [INFO] [stdout] ... | [INFO] [stdout] 2037 | | pub fn clang_VerbatimLineComment_getText(comment: CXComment) -> CXString; [INFO] [stdout] 2038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustkit-clang-sys v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1808:44 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn clang_executeOnThread(function: extern fn(*mut c_void), data: *mut c_void, stack: c_uint); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | use libc::{c_char, c_int, c_longlong, c_uint, c_ulong, c_ulonglong, c_void, time_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:1900:47 [INFO] [stdout] | [INFO] [stdout] 1900 | pub fn clang_getFileTime(file: CXFile) -> time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CXCursorAndRangeVisitor` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1256 | default!(CXCursorAndRangeVisitor); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IndexerCallbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1588 | default!(IndexerCallbacks); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `clang_sys` [INFO] [stdout] --> tests/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate clang_sys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `support` [INFO] [stdout] --> tests/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let clang = support::Clang::find(None, &[]).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `support`, use `cargo add support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clang_createIndex` in this scope [INFO] [stdout] --> tests/lib.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let index = clang_createIndex(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clang_parseTranslationUnit` in this scope [INFO] [stdout] --> tests/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let tu = clang_parseTranslationUnit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustkit-clang-sys` (test "lib") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(feature="cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clang_3_5`, `clang_3_6`, `clang_3_7`, `clang_3_8`, `clang_3_9`, `clang_4_0`, `clang_5_0`, `clang_6_0`, `clang_7_0`, `clang_8_0`, `gte_clang_3_6`, `gte_clang_3_7`, `gte_clang_3_8`, `gte_clang_3_9`, `gte_clang_4_0`, `gte_clang_5_0`, `gte_clang_6_0`, `gte_clang_7_0`, `gte_clang_8_0`, `libloading`, `runtime`, and `static` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub type CXCursorVisitor = extern fn(CXCursor, CXCursor, CXClientData) -> CXChildVisitResult; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub type CXInclusionVisitor = extern fn(CXFile, *mut CXSourceLocation, c_uint, CXClientData); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1253:16 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1578:21 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1579:21 [INFO] [stdout] | [INFO] [stdout] 1579 | pub diagnostic: extern fn(CXClientData, CXDiagnosticSet, *mut c_void), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1580:26 [INFO] [stdout] | [INFO] [stdout] 1580 | pub enteredMainFile: extern fn(CXClientData, CXFile, *mut c_void) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1581:25 [INFO] [stdout] | [INFO] [stdout] 1581 | pub ppIncludedFile: extern fn(CXClientData, *const CXIdxIncludedFileInfo) -> CXIdxClientFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1582:26 [INFO] [stdout] | [INFO] [stdout] 1582 | pub importedASTFile: extern fn(CXClientData, *const CXIdxImportedASTFileInfo) -> CXIdxClientASTFile, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1583:33 [INFO] [stdout] | [INFO] [stdout] 1583 | pub startedTranslationUnit: extern fn(CXClientData, *mut c_void) -> CXIdxClientContainer, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1584:27 [INFO] [stdout] | [INFO] [stdout] 1584 | pub indexDeclaration: extern fn(CXClientData, *const CXIdxDeclInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1585:31 [INFO] [stdout] | [INFO] [stdout] 1585 | pub indexEntityReference: extern fn(CXClientData, *const CXIdxEntityRefInfo), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/link.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | extern { $($(#[cfg($cfg)])* pub fn $name($($pname: $pty), *) $(-> $ret)*;)+ } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1594:1 [INFO] [stdout] | [INFO] [stdout] 1594 | / link! { [INFO] [stdout] 1595 | | pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1596 | | pub fn clang_CXCursorSet_insert(set: CXCursorSet, cursor: CXCursor) -> c_uint; [INFO] [stdout] 1597 | | pub fn clang_CXIndex_getGlobalOptions(index: CXIndex) -> CXGlobalOptFlags; [INFO] [stdout] ... | [INFO] [stdout] 2037 | | pub fn clang_VerbatimLineComment_getText(comment: CXComment) -> CXString; [INFO] [stdout] 2038 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `link` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1808:44 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn clang_executeOnThread(function: extern fn(*mut c_void), data: *mut c_void, stack: c_uint); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | use libc::{c_char, c_int, c_longlong, c_uint, c_ulong, c_ulonglong, c_void, time_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/lib.rs:1900:47 [INFO] [stdout] | [INFO] [stdout] 1900 | pub fn clang_getFileTime(file: CXFile) -> time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CXCursorAndRangeVisitor` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1256 | default!(CXCursorAndRangeVisitor); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IndexerCallbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 1588 | default!(IndexerCallbacks); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> src/lib.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "644960d10f04c49091b57658e34f08917c0ff12d23ba1b77663ab5329f0e6100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644960d10f04c49091b57658e34f08917c0ff12d23ba1b77663ab5329f0e6100", kill_on_drop: false }` [INFO] [stdout] 644960d10f04c49091b57658e34f08917c0ff12d23ba1b77663ab5329f0e6100