[INFO] fetching crate ffigen 0.0.1... [INFO] checking ffigen-0.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c14717365b24f67807784fba60c0c324c58bb1820d8dab744d191427a8e0dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47c14717365b24f67807784fba60c0c324c58bb1820d8dab744d191427a8e0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c14717365b24f67807784fba60c0c324c58bb1820d8dab744d191427a8e0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c14717365b24f67807784fba60c0c324c58bb1820d8dab744d191427a8e0dd", kill_on_drop: false }` [INFO] [stdout] 47c14717365b24f67807784fba60c0c324c58bb1820d8dab744d191427a8e0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd86d923641a8b6b066476c9b17e68569f76cd43c5b313b8461c25f249e87e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccd86d923641a8b6b066476c9b17e68569f76cd43c5b313b8461c25f249e87e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking log v0.3.9 [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 num-traits v0.2.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking syntex_pos v0.59.1 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking syntex_errors v0.59.1 [INFO] [stderr] Checking syntex_syntax v0.59.1 [INFO] [stderr] Checking 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] | ^^^^^^^^^ could not find `MetaItem_` in `ast` [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] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use parser::source::parse::Parser; [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] [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] [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] [INFO] [stdout] [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] | ^^^^^^^^^ could not find `MetaItem_` in `ast` [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] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use parser::source::parse::Parser; [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] [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] [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] [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] | ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- ----- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] | ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- ----- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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 struct `syntex_syntax::ast::Crate`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syntex_syntax::ast::Crate` [INFO] [stdout] found reference `&std::result::Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item not found in `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item not found in `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item 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] help: you can convert an `u64` to `usize` and panic if the converted value wouldn'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] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433, E0531, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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 struct `syntex_syntax::ast::Crate`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syntex_syntax::ast::Crate` [INFO] [stdout] found reference `&std::result::Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item not found in `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item not found in `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item 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 or associated item not found in `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffigen` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] help: you can convert an `u64` to `usize` and panic if the converted value wouldn'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] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433, E0531, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ccd86d923641a8b6b066476c9b17e68569f76cd43c5b313b8461c25f249e87e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd86d923641a8b6b066476c9b17e68569f76cd43c5b313b8461c25f249e87e8", kill_on_drop: false }` [INFO] [stdout] ccd86d923641a8b6b066476c9b17e68569f76cd43c5b313b8461c25f249e87e8