[INFO] cloning repository https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kenvyra/android_external_rust_crates_bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af994518966c918d36c46f8cc893028c395ac204 [INFO] checking Kenvyra/android_external_rust_crates_bindgen against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenvyra%2Fandroid_external_rust_crates_bindgen" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] finished tweaking git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen [INFO] tweaked toml for git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kenvyra/android_external_rust_crates_bindgen 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package [INFO] [stderr] Adding syn v2.0.20 (latest: v2.0.57) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettyplease v0.2.7 [INFO] [stderr] Downloaded annotate-snippets v0.9.1 [INFO] [stderr] Downloaded rustix v0.37.3 [INFO] [stderr] Downloaded rustix v0.36.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3632c6483275cff5f63f205b87331f771acd0aa360c6696382515572d524052c [INFO] running `Command { std: "docker" "start" "-a" "3632c6483275cff5f63f205b87331f771acd0aa360c6696382515572d524052c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3632c6483275cff5f63f205b87331f771acd0aa360c6696382515572d524052c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3632c6483275cff5f63f205b87331f771acd0aa360c6696382515572d524052c", kill_on_drop: false }` [INFO] [stdout] 3632c6483275cff5f63f205b87331f771acd0aa360c6696382515572d524052c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 122c2a91ecb1616e4c72694aed7af3d0714ea5258a7ea52dc9f5561a4d5e3ea5 [INFO] running `Command { std: "docker" "start" "-a" "122c2a91ecb1616e4c72694aed7af3d0714ea5258a7ea52dc9f5561a4d5e3ea5", kill_on_drop: false }` [INFO] [stderr] Compiling tests_expectations v0.0.0 (/opt/rustwide/workdir/bindgen-tests/tests/expectations) [INFO] [stderr] Checking block v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.7 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking log v0.4.17 [INFO] [stderr] Compiling rustix v0.37.3 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bindgen v0.69.1 (/opt/rustwide/workdir/bindgen) [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Checking unicode-ident v1.0.6 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Compiling rustix v0.36.16 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking syn v2.0.20 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling bindgen-tests v0.1.0 (/opt/rustwide/workdir/bindgen-tests) [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/helpers.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/struct_layout.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> bindgen/ir/context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> bindgen/ir/function.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ParseQuote`: [INFO] [stdout] Vec [INFO] [stdout] syn::Attribute [INFO] [stdout] syn::punctuated::Punctuated [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/helpers.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/struct_layout.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> bindgen/ir/analysis/mod.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 218 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 219 | use crate::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> bindgen/ir/context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> bindgen/ir/function.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/helpers.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/struct_layout.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> bindgen/codegen/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> bindgen/ir/context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> bindgen/ir/function.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ParseQuote`: [INFO] [stdout] Vec [INFO] [stdout] syn::Attribute [INFO] [stdout] syn::punctuated::Punctuated [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::file::File: ParseQuote` is not satisfied [INFO] [stdout] --> bindgen/lib.rs:996:50 [INFO] [stdout] | [INFO] [stdout] 996 | return Ok(prettyplease::unparse(&syn::parse_quote!(#tokens))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::file::File`, which is required by `syn::file::File: ParseQuote` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ParseQuote`: [INFO] [stdout] Vec [INFO] [stdout] syn::Attribute [INFO] [stdout] syn::punctuated::Punctuated [INFO] [stdout] = note: required for `syn::file::File` to implement `ParseQuote` [INFO] [stdout] note: required by a bound in `syn::parse_quote::parse` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.107/src/parse_quote.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse(token_stream: TokenStream) -> T { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `parse` [INFO] [stdout] = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "122c2a91ecb1616e4c72694aed7af3d0714ea5258a7ea52dc9f5561a4d5e3ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "122c2a91ecb1616e4c72694aed7af3d0714ea5258a7ea52dc9f5561a4d5e3ea5", kill_on_drop: false }` [INFO] [stdout] 122c2a91ecb1616e4c72694aed7af3d0714ea5258a7ea52dc9f5561a4d5e3ea5