[INFO] fetching crate ffigen 0.0.1... [INFO] testing ffigen-0.0.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1edc97993001b325cddc77d303ca8d4988408ab88acdef5b9f06630a962d81d [INFO] running `Command { std: "docker" "start" "-a" "d1edc97993001b325cddc77d303ca8d4988408ab88acdef5b9f06630a962d81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1edc97993001b325cddc77d303ca8d4988408ab88acdef5b9f06630a962d81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1edc97993001b325cddc77d303ca8d4988408ab88acdef5b9f06630a962d81d", kill_on_drop: false }` [INFO] [stdout] d1edc97993001b325cddc77d303ca8d4988408ab88acdef5b9f06630a962d81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da17b54d7f71787e4e9a11a511951eb68ecd6afc736c750d7323d5e16f2e20ec [INFO] running `Command { std: "docker" "start" "-a" "da17b54d7f71787e4e9a11a511951eb68ecd6afc736c750d7323d5e16f2e20ec", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling toml_writer v1.0.3 [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 syn v2.0.106 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling toml v0.9.7 [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]: failed to resolve: could not 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] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `MetaItem_` in `ast` [INFO] [stdout] | help: a struct with a similar name exists: `MetaItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use syntex_syntax::parse::parser::Parser; [INFO] [stdout] | [INFO] [stdout] help: if you import `Parser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let config = match toml::Parser::new(&config_content).parse() { [INFO] [stdout] 39 + let config = match Parser::new(&config_content).parse() { [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] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use parser::source::visit::FnKind::ItemFn; [INFO] [stdout] | [INFO] [stdout] help: if you import `ItemFn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => { [INFO] [stdout] 29 + ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => { [INFO] [stdout] | [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 one of these unit variants [INFO] [stdout] | [INFO] [stdout] 1 + use Lang::C; [INFO] [stdout] | [INFO] [stdout] 1 + use parser::source::abi::Abi::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[E0412]: 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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use syntex_syntax::symbol::InternedString; [INFO] [stdout] | [INFO] [stdout] help: if you import `InternedString`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - fn interned_to_string(interned: &parse::token::InternedString) -> String { [INFO] [stdout] 115 + fn interned_to_string(interned: &InternedString) -> String { [INFO] [stdout] | [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
>`
[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