[INFO] fetching crate ffigen 0.0.1... [INFO] testing ffigen-0.0.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e2b96a3cb221277515d36a94d01f6795abf5c2cf7cdfc11bc66ded784a900aa [INFO] running `"docker" "start" "-a" "6e2b96a3cb221277515d36a94d01f6795abf5c2cf7cdfc11bc66ded784a900aa"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling toml v0.5.6 [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] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stderr] --> src/parser/cargo.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | let config = match toml::Parser::new(&config_content).parse() { [INFO] [stderr] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MetaItem_` in `ast` [INFO] [stderr] --> src/parser/source.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | ... ast::MetaItem_::MetaWord(ref w) => interned_to_string(w) == "no_mangle", [INFO] [stderr] | ^^^^^^^^^ could not find `MetaItem_` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in module `ast` [INFO] [stderr] --> src/parser/source.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => { [INFO] [stderr] | ^^^^^^ not found in `ast` [INFO] [stderr] | [INFO] [stderr] help: consider importing this tuple variant [INFO] [stderr] | [INFO] [stderr] 1 | use syntex_syntax::visit::FnKind::ItemFn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C` in module `abi` [INFO] [stderr] --> src/parser/source.rs:29:67 [INFO] [stderr] | [INFO] [stderr] 29 | ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => { [INFO] [stderr] | ^ not found in `abi` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 | use Lang::C; [INFO] [stderr] | [INFO] [stderr] 1 | use syntex_syntax::abi::Abi::C; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ItemMod` in module `ast` [INFO] [stderr] --> src/parser/source.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | ast::ItemMod(_) => { [INFO] [stderr] | ^^^^^^^ not found in `ast` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InternedString` in module `parse::token` [INFO] [stderr] --> src/parser/source.rs:115:48 [INFO] [stderr] | [INFO] [stderr] 115 | fn interned_to_string(interned: &parse::token::InternedString) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `parse::token` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use syntex_syntax::symbol::InternedString; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope [INFO] [stderr] --> src/parser/cargo.rs:44:37 [INFO] [stderr] | [INFO] [stderr] 44 | let package_name = match config.lookup("package.name") { [INFO] [stderr] | ^^^^^^ method not found in `toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope [INFO] [stderr] --> src/parser/cargo.rs:57:33 [INFO] [stderr] | [INFO] [stderr] 57 | let lib_name = match config.lookup("lib.name") { [INFO] [stderr] | ^^^^^^ method not found in `toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope [INFO] [stderr] --> src/parser/cargo.rs:69:35 [INFO] [stderr] | [INFO] [stderr] 69 | let crate_type = match config.lookup("lib.crate_type") { [INFO] [stderr] | ^^^^^^ method not found in `toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&syntex_syntax::ast::Attribute` [INFO] [stderr] --> src/parser/source.rs:32:37 [INFO] [stderr] | [INFO] [stderr] 32 | ... match v.node.value.node { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `id`, `style`, `path`, `tokens`, `is_sugared_doc`, `span` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/parser/source.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | let sess = parse::ParseSess::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/parser/source.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | let krate = parse::parse_crate_from_file(path, cfg, &sess); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- ----- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/parser/source.rs:81:41 [INFO] [stderr] | [INFO] [stderr] 81 | visit::walk_crate(&mut visitor, &krate); [INFO] [stderr] | ^^^^^^ expected struct `syntex_syntax::ast::Crate`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&syntex_syntax::ast::Crate` [INFO] [stderr] found reference `&std::result::Result>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `DefaultReturn` found for enum `syntex_syntax::ast::FunctionRetTy` in the current scope [INFO] [stderr] --> src/parser/source.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void, [INFO] [stderr] | ^^^^^^^^^^^^^ variant or associated item not found in `syntex_syntax::ast::FunctionRetTy` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `NoReturn` found for enum `syntex_syntax::ast::FunctionRetTy` in the current scope [INFO] [stderr] --> src/parser/source.rs:100:68 [INFO] [stderr] | [INFO] [stderr] 100 | ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void, [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `syntex_syntax::ast::FunctionRetTy` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Return` found for enum `syntex_syntax::ast::FunctionRetTy` in the current scope [INFO] [stderr] --> src/parser/source.rs:101:29 [INFO] [stderr] | [INFO] [stderr] 101 | ast::FunctionRetTy::Return(ref r) => ReturnType::Type(translate_type(r)) [INFO] [stderr] | ^^^^^^ variant or associated item not found in `syntex_syntax::ast::FunctionRetTy` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/marshal/mod.rs:16:38 [INFO] [stderr] | [INFO] [stderr] 16 | let allocated = libc::malloc(translated.len() as u64 + 1) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 16 | let allocated = libc::malloc((translated.len() as u64 + 1).try_into().unwrap()) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433, E0531, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "6e2b96a3cb221277515d36a94d01f6795abf5c2cf7cdfc11bc66ded784a900aa"` [INFO] running `"docker" "rm" "-f" "6e2b96a3cb221277515d36a94d01f6795abf5c2cf7cdfc11bc66ded784a900aa"` [INFO] [stdout] 6e2b96a3cb221277515d36a94d01f6795abf5c2cf7cdfc11bc66ded784a900aa