[INFO] fetching crate ffigen 0.0.1... [INFO] checking ffigen-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd4937979214fdbae1dc4d15d95ebe7e305f764590d9c23bbbd553d46525dec7 [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" "bd4937979214fdbae1dc4d15d95ebe7e305f764590d9c23bbbd553d46525dec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd4937979214fdbae1dc4d15d95ebe7e305f764590d9c23bbbd553d46525dec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4937979214fdbae1dc4d15d95ebe7e305f764590d9c23bbbd553d46525dec7", kill_on_drop: false }` [INFO] [stdout] bd4937979214fdbae1dc4d15d95ebe7e305f764590d9c23bbbd553d46525dec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b7fe99180d195a962225a106c6e1c66e9002dd2ba92476115c37e1f82f7019 [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" "61b7fe99180d195a962225a106c6e1c66e9002dd2ba92476115c37e1f82f7019", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking syntex_pos v0.59.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [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: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: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[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[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] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syntex_syntax::ast::Crate` [INFO] [stdout] found reference `&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/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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syntex_syntax::ast::Crate` [INFO] [stdout] found reference `&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 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] 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: 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 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] 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" "61b7fe99180d195a962225a106c6e1c66e9002dd2ba92476115c37e1f82f7019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b7fe99180d195a962225a106c6e1c66e9002dd2ba92476115c37e1f82f7019", kill_on_drop: false }` [INFO] [stdout] 61b7fe99180d195a962225a106c6e1c66e9002dd2ba92476115c37e1f82f7019