c2rust-refactor 0.11.0

C2Rust refactoring tool implementation
Build #178735 2019-08-15T00:02:55.878555+00:00
# rustc version
rustc 1.38.0-nightly (95b1fe560 2019-07-20)
# docs.rs version
cratesfyi 0.6.0 (f01dedd 2019-07-30)

# build log
Updating crates.io index
Downloading crates ...
Downloaded cargo v0.34.0
Downloading crates ...
Downloaded crates-io v0.22.0
Fresh unicode-xid v0.1.0
Fresh cc v1.0.40
Fresh pkg-config v0.3.15
Fresh autocfg v0.1.5
Fresh matches v0.1.8
Fresh cfg-if v0.1.9
Fresh smallvec v0.6.10
Fresh lazy_static v1.3.0
Fresh ppv-lite86 v0.2.5
Fresh percent-encoding v1.0.1
Fresh rustc-demangle v0.1.16
Fresh regex-syntax v0.6.11
Fresh foreign-types-shared v0.1.1
Fresh unicode-width v0.1.5
Fresh quick-error v1.2.2
Fresh openssl-probe v0.1.2
Fresh fnv v1.0.6
Fresh same-file v1.0.5
Fresh itoa v0.4.4
Fresh hex v0.3.2
Fresh vec_map v0.8.1
Fresh remove_dir_all v0.5.2
Fresh ansi_term v0.11.0
Fresh strsim v0.8.0
Fresh termcolor v1.0.5
Fresh semver-parser v0.7.0
Fresh yaml-rust v0.3.5
Fresh rustc-workspace-hack v1.0.0
Fresh shell-escape v0.1.4
Fresh home v0.3.4
Fresh bytesize v1.0.0
Fresh lazycell v1.2.1
Compiling c2rust-refactor v0.11.0
Fresh glob v0.2.11
Checking json v0.11.15
Checking slotmap v0.3.0
Running `rustc --edition=2018 --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/c2rust-refactor-0.11.0/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=1457682b4dfa946f -C extra-filename=-1457682b4dfa946f --out-dir /home/cratesfyi/cratesfyi/debug/build/c2rust-refactor-1457682b4dfa946f -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name json /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/json-0.11.15/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=27767b9ad76c7341 -C extra-filename=-27767b9ad76c7341 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Checking c2rust-ast-builder v0.11.0
Running `rustc --crate-name slotmap /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/slotmap-0.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="unstable"' -C metadata=26e52986252bad7f -C extra-filename=-26e52986252bad7f --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name c2rust_ast_builder /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.11.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=d634d6ea2965a62d -C extra-filename=-d634d6ea2965a62d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
error[E0433]: failed to resolve: use of undeclared type or module `Guard`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.11.0/src/builder.rs:966:35
|
966 |         let guard = guard.map(|g| Guard::If(g.make(&self)));
|                                   ^^^^^ use of undeclared type or module `Guard`

error: no variant `IfLet` in enum `syntax::ast::ExprKind`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.11.0/src/builder.rs:1067:49
|
1067 |                 ExprKind::If { .. } | ExprKind::IfLet { .. } | ExprKind::Block(_, None) => e,
|                                       ----------^^^^^
|                                       |
|                                       variant not found in `syntax::ast::ExprKind`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: Could not compile `c2rust-ast-builder`.

Caused by:
process didn't exit successfully: `rustc --crate-name c2rust_ast_builder /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.11.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=d634d6ea2965a62d -C extra-filename=-d634d6ea2965a62d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
thread 'main' panicked at 'ErrorMessage {
msg: "build failed",
}', src/bin/cratesfyi.rs:161:13
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.