[INFO] crate ffigen 0.0.1 is already in cache
[INFO] extracting crate ffigen 0.0.1 into work/ex/beta-1.37-6/sources/1.36.0/reg/ffigen/0.0.1
[INFO] extracting crate ffigen 0.0.1 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/ffigen/0.0.1
[INFO] validating manifest of ffigen-0.0.1 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of ffigen-0.0.1 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing ffigen-0.0.1
[INFO] finished frobbing ffigen-0.0.1
[INFO] frobbed toml for ffigen-0.0.1 written to work/ex/beta-1.37-6/sources/1.36.0/reg/ffigen/0.0.1/Cargo.toml
[INFO] started frobbing ffigen-0.0.1
[INFO] finished frobbing ffigen-0.0.1
[INFO] frobbed toml for ffigen-0.0.1 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/ffigen/0.0.1/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing ffigen-0.0.1 against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/ffigen/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 6dba83d8576d139a8a9a356988f96c0c3a6ea170cca5c34c135bc1b2406a0b3b
[INFO] running `"docker" "start" "-a" "6dba83d8576d139a8a9a356988f96c0c3a6ea170cca5c34c135bc1b2406a0b3b"`
[INFO] [stderr]    Compiling extprim v1.7.0
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]    Compiling syntex_pos v0.59.1
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling toml v0.5.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/crater/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/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] help: possible candidate is found in another module, you can import it into scope
[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] help: possible candidates are found in other modules, you can import them into scope
[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/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] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use syntex_syntax::symbol::InternedString;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lookup` found for type `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]    |                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lookup` found for type `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]    |                                 ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lookup` found for type `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]    |                                   ^^^^^^
[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]    |                                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied
[INFO] [stderr]   --> src/parser/source.rs:73:16
[INFO] [stderr]    |
[INFO] [stderr] 73 |     let sess = parse::ParseSess::new();
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 2 parameters but 3 parameters 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]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
[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 type `&syntex_syntax::ast::Crate`
[INFO] [stderr]               found type `&std::result::Result<syntex_syntax::ast::Crate, syntex_syntax::syntex_errors::DiagnosticBuilder<'_>>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `DefaultReturn` found for type `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 type `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 type `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] 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, 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] running `"docker" "inspect" "6dba83d8576d139a8a9a356988f96c0c3a6ea170cca5c34c135bc1b2406a0b3b"`
[INFO] running `"docker" "rm" "-f" "6dba83d8576d139a8a9a356988f96c0c3a6ea170cca5c34c135bc1b2406a0b3b"`
[INFO] [stdout] 6dba83d8576d139a8a9a356988f96c0c3a6ea170cca5c34c135bc1b2406a0b3b
