[INFO] crate c2rust 0.10.1 is already in cache [INFO] extracting crate c2rust 0.10.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/c2rust/0.10.1 [INFO] extracting crate c2rust 0.10.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/c2rust/0.10.1 [INFO] validating manifest of c2rust-0.10.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of c2rust-0.10.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing c2rust-0.10.1 [INFO] finished frobbing c2rust-0.10.1 [INFO] frobbed toml for c2rust-0.10.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/c2rust/0.10.1/Cargo.toml [INFO] started frobbing c2rust-0.10.1 [INFO] finished frobbing c2rust-0.10.1 [INFO] frobbed toml for c2rust-0.10.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/c2rust/0.10.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing c2rust-0.10.1 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/c2rust/0.10.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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] ffab0dc407b2959a80c8559f2d9014eb2ee67c5f0d24ecf6a628d651e28fdae6 [INFO] running `"docker" "start" "-a" "ffab0dc407b2959a80c8559f2d9014eb2ee67c5f0d24ecf6a628d651e28fdae6"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling c2rust-refactor v0.10.1 [INFO] [stderr] Compiling slotmap v0.3.0 [INFO] [stderr] Compiling c2rust-ast-builder v0.10.0 [INFO] [stderr] Compiling rlua v0.16.3 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_cbor v0.9.0 [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/slotmap-0.3.0/src/lib.rs:4:35 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(feature = "unstable", feature(untagged_unions))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `slotmap`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `syntax::symbol::keywords` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::symbol::keywords; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `keywords` in `symbol` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::symbol::keywords` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/into_symbol.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use syntax::symbol::keywords::Keyword; [INFO] [stderr] | ^^^^^^^^ could not find `keywords` in `symbol` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Guard` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:936:35 [INFO] [stderr] | [INFO] [stderr] 936 | let guard = guard.map(|g| Guard::If(g.make(&self))); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Guard` [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | TokenTree::Token(DUMMY_SP, self) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Eq` found for type `syntax::parse::token::Token` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:356:24 [INFO] [stderr] | [INFO] [stderr] 356 | Token::Eq, [INFO] [stderr] | ^^ associated item not found in `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Literal` found for type `syntax::parse::token::Token` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | Token::Literal(token::Lit::Str_(value.into_symbol()), None), [INFO] [stderr] | ^^^^^^^ associated item not found in `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Str_` found for type `syntax::parse::token::Lit` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:357:44 [INFO] [stderr] | [INFO] [stderr] 357 | Token::Literal(token::Lit::Str_(value.into_symbol()), None), [INFO] [stderr] | ^^^^ associated item not found in `syntax::parse::token::Lit` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `OpenDelim` found for type `syntax::parse::token::Token` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:400:33 [INFO] [stderr] | [INFO] [stderr] 400 | builder.push(Token::OpenDelim(DelimToken::Paren)); [INFO] [stderr] | ^^^^^^^^^ associated item not found in `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Comma` found for type `syntax::parse::token::Token` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:407:41 [INFO] [stderr] | [INFO] [stderr] 407 | builder.push(Token::Comma); [INFO] [stderr] | ^^^^^ associated item not found in `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0624]: method `from_ast_ident` is private [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:411:30 [INFO] [stderr] | [INFO] [stderr] 411 | builder.push(Token::from_ast_ident(argument)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `syntax::tokenstream::TokenStream: std::convert::From` is not satisfied [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:411:25 [INFO] [stderr] | [INFO] [stderr] 411 | builder.push(Token::from_ast_ident(argument)); [INFO] [stderr] | ^^^^ the trait `std::convert::From` is not implemented for `syntax::tokenstream::TokenStream` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `CloseDelim` found for type `syntax::parse::token::Token` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:414:33 [INFO] [stderr] | [INFO] [stderr] 414 | builder.push(Token::CloseDelim(DelimToken::Paren)); [INFO] [stderr] | ^^^^^^^^^^ associated item not found in `syntax::parse::token::Token` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `syntax::ast::AngleBracketedArgs` has no field named `bindings` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:469:13 [INFO] [stderr] | [INFO] [stderr] 469 | bindings: vec![], [INFO] [stderr] | ^^^^^^^^ `syntax::ast::AngleBracketedArgs` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `span`, `args`, `constraints` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `span` in initializer of `syntax::ast::Arm` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:938:9 [INFO] [stderr] | [INFO] [stderr] 938 | Arm { [INFO] [stderr] | ^^^ missing `span` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:949:9 [INFO] [stderr] | [INFO] [stderr] 949 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:960:9 [INFO] [stderr] | [INFO] [stderr] 960 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:967:9 [INFO] [stderr] | [INFO] [stderr] 967 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:974:9 [INFO] [stderr] | [INFO] [stderr] 974 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:985:9 [INFO] [stderr] | [INFO] [stderr] 985 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:998:9 [INFO] [stderr] | [INFO] [stderr] 998 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:1009:9 [INFO] [stderr] | [INFO] [stderr] 1009 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `token` in initializer of `syntax::ast::Lit` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:1016:9 [INFO] [stderr] | [INFO] [stderr] 1016 | Lit { [INFO] [stderr] | ^^^ missing `token` [INFO] [stderr] [INFO] [stderr] error: no variant `IfLet` in enum `syntax::ast::ExprKind` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:1036:49 [INFO] [stderr] | [INFO] [stderr] 1036 | ExprKind::If { .. } | ExprKind::IfLet { .. } | ExprKind::Block(_, None) => e, [INFO] [stderr] | ----------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant not found in `syntax::ast::ExprKind` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:1899:41 [INFO] [stderr] | [INFO] [stderr] 1899 | ForeignItemKind::Static(ty, is_mut), [INFO] [stderr] | ^^^^^^ expected enum `syntax::ast::Mutability`, found bool [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Mutability` [INFO] [stderr] found type `bool` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `attrs` in initializer of `syntax::ast::Arg` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:2015:9 [INFO] [stderr] | [INFO] [stderr] 2015 | Arg { [INFO] [stderr] | ^^^ missing `attrs` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.10.0/src/builder.rs:2028:9 [INFO] [stderr] | [INFO] [stderr] 2028 | Arg::from_self(eself, ident) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0432, E0433, E0554, E0560, E0599... [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `c2rust-ast-builder`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ffab0dc407b2959a80c8559f2d9014eb2ee67c5f0d24ecf6a628d651e28fdae6"` [INFO] running `"docker" "rm" "-f" "ffab0dc407b2959a80c8559f2d9014eb2ee67c5f0d24ecf6a628d651e28fdae6"` [INFO] [stdout] ffab0dc407b2959a80c8559f2d9014eb2ee67c5f0d24ecf6a628d651e28fdae6