[INFO] cloning repository https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqlite-mpi%2Frust-bindgen-fix-ios-target", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqlite-mpi%2Frust-bindgen-fix-ios-target'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f5e9910ce8f18f4cf9156b4d0dc96b8e2bccec3 [INFO] checking sqlite-mpi/rust-bindgen-fix-ios-target against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqlite-mpi%2Frust-bindgen-fix-ios-target" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target [INFO] finished tweaking git repo https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target [INFO] tweaked toml for git repo https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sqlite-mpi/rust-bindgen-fix-ios-target already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.0.0 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.4 [INFO] [stderr] Downloaded env_logger v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f443674c8f7eaad1ff5899494f076ae8a7d1c3e27606b48da90ffd97863abf6 [INFO] running `Command { std: "docker" "start" "-a" "1f443674c8f7eaad1ff5899494f076ae8a7d1c3e27606b48da90ffd97863abf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f443674c8f7eaad1ff5899494f076ae8a7d1c3e27606b48da90ffd97863abf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f443674c8f7eaad1ff5899494f076ae8a7d1c3e27606b48da90ffd97863abf6", kill_on_drop: false }` [INFO] [stdout] 1f443674c8f7eaad1ff5899494f076ae8a7d1c3e27606b48da90ffd97863abf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ecca83a9eebd2e34980953b3af23e2cc94f072ff056d61b76bbb4d91a4bed2 [INFO] running `Command { std: "docker" "start" "-a" "36ecca83a9eebd2e34980953b3af23e2cc94f072ff056d61b76bbb4d91a4bed2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling bindgen v0.51.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking diff v0.1.11 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking which v3.0.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking cexpr v0.3.5 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking env_logger v0.7.0 [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/codegen/mod.rs:3566:39 [INFO] [stdout] | [INFO] [stdout] 3566 | self.methods().iter().map({ |m| m.rust_name() }).collect(); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3566 - self.methods().iter().map({ |m| m.rust_name() }).collect(); [INFO] [stdout] 3566 + self.methods().iter().map(|m| m.rust_name()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/codegen/mod.rs:3566:39 [INFO] [stdout] | [INFO] [stdout] 3566 | self.methods().iter().map({ |m| m.rust_name() }).collect(); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3566 - self.methods().iter().map({ |m| m.rust_name() }).collect(); [INFO] [stdout] 3566 + self.methods().iter().map(|m| m.rust_name()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1394 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1526 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1529 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comp` is never read [INFO] [stdout] --> src/codegen/struct_layout.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StructLayoutTracker<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | comp: &'a CompInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLayoutTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | / mem::replace( [INFO] [stdout] 736 | | self, [INFO] [stdout] 737 | | CompFields::AfterComputingBitfieldUnits(fields_and_units), [INFO] [stdout] 738 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 735 | let _ = mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:741:17 [INFO] [stdout] | [INFO] [stdout] 741 | mem::replace(self, CompFields::ErrorComputingBitfieldUnits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 741 | let _ = mem::replace(self, CompFields::ErrorComputingBitfieldUnits); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `namespaced_constants` and `msvc_mangling` are never read [INFO] [stdout] --> src/lib.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1394 | struct BindgenOptions { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1526 | namespaced_constants: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1529 | msvc_mangling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comp` is never read [INFO] [stdout] --> src/codegen/struct_layout.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StructLayoutTracker<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | comp: &'a CompInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLayoutTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `cannot_derive_copy_in_array` are never read [INFO] [stdout] --> src/ir/context.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct BindgenContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | index: clang::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | cannot_derive_copy_in_array: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindgenContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/ir/function.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | / mem::replace( [INFO] [stdout] 736 | | self, [INFO] [stdout] 737 | | CompFields::AfterComputingBitfieldUnits(fields_and_units), [INFO] [stdout] 738 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 735 | let _ = mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/ir/comp.rs:741:17 [INFO] [stdout] | [INFO] [stdout] 741 | mem::replace(self, CompFields::ErrorComputingBitfieldUnits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 741 | let _ = mem::replace(self, CompFields::ErrorComputingBitfieldUnits); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 261 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 260 | flags = IntoIterator::into_iter(prepend_flags) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 302 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 301 | let args = IntoIterator::into_iter(prepend) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.5, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "36ecca83a9eebd2e34980953b3af23e2cc94f072ff056d61b76bbb4d91a4bed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ecca83a9eebd2e34980953b3af23e2cc94f072ff056d61b76bbb4d91a4bed2", kill_on_drop: false }` [INFO] [stdout] 36ecca83a9eebd2e34980953b3af23e2cc94f072ff056d61b76bbb4d91a4bed2