[INFO] fetching crate ffigen 0.0.1...
[INFO] testing ffigen-0.0.1 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate ffigen 0.0.1
[INFO] finished tweaking crates.io crate ffigen 0.0.1
[INFO] tweaked toml for crates.io crate ffigen 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 56 packages to highest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ffigen` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb
[INFO] running `Command { std: "docker" "start" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ffigen` (manifest) generated 1 warning
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.3
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling term v0.4.6
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling extprim v1.7.1
[INFO] [stderr]    Compiling toml_writer v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.3.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling toml_parser v1.1.5+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling toml_datetime v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.1.2
[INFO] [stderr]    Compiling toml v1.1.8+spec-1.1.0
[INFO] [stderr]    Compiling syntex_pos v0.59.1
[INFO] [stderr]    Compiling syntex_errors v0.59.1
[INFO] [stderr]    Compiling syntex_syntax v0.59.1
[INFO] [stderr]    Compiling ffigen v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Parser` in `toml`
[INFO] [stdout]   --> src/parser/cargo.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let config = match toml::Parser::new(&config_content).parse() {
[INFO] [stdout]    |                              ^^^^^^ could not find `Parser` in `toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `MetaItem_` in `ast`
[INFO] [stdout]   --> src/parser/source.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   ast::MetaItem_::MetaWord(ref w) => interned_to_string(w) == "no_mangle",
[INFO] [stdout]    |                            ^^^^^^^^^ could not find `MetaItem_` in `ast`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 33 -                                 ast::MetaItem_::MetaWord(ref w) => interned_to_string(w) == "no_mangle",
[INFO] [stdout] 33 +                                 ast::MetaItem::MetaWord(ref w) => interned_to_string(w) == "no_mangle",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                  ^^^^^^ not found in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in module `abi`
[INFO] [stdout]   --> src/parser/source.rs:29:67
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                                                                   ^ not found in `abi`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use Lang::C;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `C`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 29 -             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout] 29 +             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == C => {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemMod` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |             ast::ItemMod(_) => {
[INFO] [stdout]    |                  ^^^^^^^ not found in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InternedString` in module `parse::token`
[INFO] [stdout]    --> src/parser/source.rs:115:48
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn interned_to_string(interned: &parse::token::InternedString) -> String {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^ not found in `parse::token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/marshal/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub extern fn release_cstr(data: *mut u8) {
[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] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:44:37
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let package_name = match config.lookup("package.name") {
[INFO] [stdout]    |                                     ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let lib_name = match config.lookup("lib.name") {
[INFO] [stdout]    |                                 ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:69:35
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let crate_type = match config.lookup("lib.crate_type") {
[INFO] [stdout]    |                                   ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node` on type `&Attribute`
[INFO] [stdout]   --> src/parser/source.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   match v.node.value.node {
[INFO] [stdout]    |                               ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `id`, `style`, `path`, `tokens`, `is_sugared_doc`, `span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/parser/source.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let sess = parse::ParseSess::new();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `FilePathMapping` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_syntax-0.59.1/src/parse/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(file_path_mapping: FilePathMapping) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let sess = parse::ParseSess::new(/* FilePathMapping */);
[INFO] [stdout]    |                                      +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/parser/source.rs:74:17
[INFO] [stdout]     |
[INFO] [stdout]  74 |     let krate = parse::parse_crate_from_file(path, cfg, &sess);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^       --- unexpected argument #2 of type `Vec<P<syntex_syntax::ast::MetaItem>>`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_syntax-0.59.1/src/parse/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn parse_crate_from_file<'a>(input: &Path, sess: &'a ParseSess) -> PResult<'a, ast::Crate> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout]  74 -     let krate = parse::parse_crate_from_file(path, cfg, &sess);
[INFO] [stdout]  74 +     let krate = parse::parse_crate_from_file(path, &sess);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser/source.rs:81:41
[INFO] [stdout]     |
[INFO] [stdout]  81 |         visit::walk_crate(&mut visitor, &krate);
[INFO] [stdout]     |         -----------------               ^^^^^^ expected `&Crate`, found `&Result<Crate, DiagnosticBuilder<'_>>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Crate`
[INFO] [stdout]                found reference `&Result<Crate, DiagnosticBuilder<'_>>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_syntax-0.59.1/src/visit.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn walk_crate<'a, V: Visitor<'a>>(visitor: &mut V, krate: &'a Crate) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `DefaultReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ variant, associated function, or constant not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `NoReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:68
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                                                                    ^^^^^^^^ variant, associated function, or constant not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Return` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |         ast::FunctionRetTy::Return(ref r) => ReturnType::Type(translate_type(r))
[INFO] [stdout]     |                             ^^^^^^ variant, associated function, or constant not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/marshal/mod.rs:16:38
[INFO] [stdout]     |
[INFO] [stdout]  16 |         let allocated = libc::malloc(translated.len() as u64 + 1) as *mut u8;
[INFO] [stdout]     |                         ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.191/src/unix/mod.rs:779:12
[INFO] [stdout]     |
[INFO] [stdout] 779 |     pub fn malloc(size: size_t) -> *mut c_void;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout]  16 |         let allocated = libc::malloc((translated.len() as u64 + 1).try_into().unwrap()) as *mut u8;
[INFO] [stdout]     |                                      +                           +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exports`
[INFO] [stdout]  --> src/gen/c.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn gen(exports: &Vec<parser::FuncDecl>, package_info: &cargo::Info, opts: &Vec<::Config>) -> std::io::Result<()> {
[INFO] [stdout]   |            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exports`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_info`
[INFO] [stdout]  --> src/gen/c.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn gen(exports: &Vec<parser::FuncDecl>, package_info: &cargo::Info, opts: &Vec<::Config>) -> std::io::Result<()> {
[INFO] [stdout]   |                                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]  --> src/gen/c.rs:6:73
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn gen(exports: &Vec<parser::FuncDecl>, package_info: &cargo::Info, opts: &Vec<::Config>) -> std::io::Result<()> {
[INFO] [stdout]   |                                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/gen/commonc.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut content = String::new();
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `export`
[INFO] [stdout]  --> src/gen/commonc.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for export in exports {
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_export`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0433, E0531, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffigen` (lib) due to 17 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb", kill_on_drop: false }`
[INFO] [stdout] 180c9f3c41e560a13fc6d8bba2bdb366e9a8d09119da91159e5c7359ac014bfb
