[INFO] fetching crate rustkit-clang-sys 0.24.0...
[INFO] checking rustkit-clang-sys-0.24.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate rustkit-clang-sys 0.24.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate rustkit-clang-sys 0.24.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "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.1)
[INFO] [stderr]       Adding libloading v0.5.2 (available: v0.8.6)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0769ccb59b8583c6d937d3e9f6805270665eea50209f9ebc0e514ba3aa4c59b
[INFO] running `Command { std: "docker" "start" "-a" "a0769ccb59b8583c6d937d3e9f6805270665eea50209f9ebc0e514ba3aa4c59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0769ccb59b8583c6d937d3e9f6805270665eea50209f9ebc0e514ba3aa4c59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0769ccb59b8583c6d937d3e9f6805270665eea50209f9ebc0e514ba3aa4c59b", kill_on_drop: false }`
[INFO] [stdout] a0769ccb59b8583c6d937d3e9f6805270665eea50209f9ebc0e514ba3aa4c59b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dae647343079a903a51342ab2eff0d88e9a7b70c5e82394b46630a670a46f120
[INFO] running `Command { std: "docker" "start" "-a" "dae647343079a903a51342ab2eff0d88e9a7b70c5e82394b46630a670a46f120", 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::<impl 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_end());
[INFO] [stdout]     |                                                                                           ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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_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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[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<T>` 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<T>` 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] 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<T>` 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<T>` 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 undeclared crate or module `support`
[INFO] [stdout]   --> tests/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let clang = support::Clang::find(None, &[]).unwrap();
[INFO] [stdout]    |                 ^^^^^^^ use of undeclared crate or module `support`
[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] running `Command { std: "docker" "inspect" "dae647343079a903a51342ab2eff0d88e9a7b70c5e82394b46630a670a46f120", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dae647343079a903a51342ab2eff0d88e9a7b70c5e82394b46630a670a46f120", kill_on_drop: false }`
[INFO] [stdout] dae647343079a903a51342ab2eff0d88e9a7b70c5e82394b46630a670a46f120
