[INFO] cloning repository https://github.com/felixfaisal/rust-code-gen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felixfaisal/rust-code-gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Frust-code-gen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Frust-code-gen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 56a1f2dca355550e3e24a3e2501184c01db44e10
[INFO] testing felixfaisal/rust-code-gen against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Frust-code-gen" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/felixfaisal/rust-code-gen on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/felixfaisal/rust-code-gen
[INFO] finished tweaking git repo https://github.com/felixfaisal/rust-code-gen
[INFO] tweaked toml for git repo https://github.com/felixfaisal/rust-code-gen written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/felixfaisal/rust-code-gen already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc654cd592f64681c6570ecebb991fa4798b5320f3f0c883906fa5d4cde76899
[INFO] running `Command { std: "docker" "start" "-a" "fc654cd592f64681c6570ecebb991fa4798b5320f3f0c883906fa5d4cde76899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc654cd592f64681c6570ecebb991fa4798b5320f3f0c883906fa5d4cde76899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc654cd592f64681c6570ecebb991fa4798b5320f3f0c883906fa5d4cde76899", kill_on_drop: false }`
[INFO] [stdout] fc654cd592f64681c6570ecebb991fa4798b5320f3f0c883906fa5d4cde76899
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53c879861e63d73eab6df018cfc10b1ae8bb4c4fc5c8fa87da9043d18378e1ed
[INFO] running `Command { std: "docker" "start" "-a" "53c879861e63d73eab6df018cfc10b1ae8bb4c4fc5c8fa87da9043d18378e1ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-code-gen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `:`, found `{`
[INFO] [stdout]  --> src/union_test.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |         union {
[INFO] [stdout]   |               ^ expected `:`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: functions are not allowed in union definitions
[INFO] [stdout]   --> src/union_test.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | /     pub fn new() -> union {
[INFO] [stdout] 7  | |         union {
[INFO] [stdout] 8  | |             XXX_unionData: [0; 16],
[INFO] [stdout] 9  | |         }
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: unlike in C++, Java, and C#, functions are declared in `impl` blocks
[INFO] [stdout]    = help: see https://doc.rust-lang.org/book/ch05-03-method-syntax.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `for`, `where`, or `{`, found `<eof>`
[INFO] [stdout]   --> src/union_test.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | }
[INFO] [stdout]    | ^ expected one of `for`, `where`, or `{`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::union_test::union`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::union_test::union;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `union` in `union_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: unnamed fields are not yet fully implemented
[INFO] [stdout]   --> src/union_test.rs:6:21
[INFO] [stdout]    |
[INFO] [stdout] 6  |       pub fn new() -> union {
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 7  | |         union {
[INFO] [stdout] 8  | |             XXX_unionData: [0; 16],
[INFO] [stdout] 9  | |         }
[INFO] [stdout] 10 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #49804 <https://github.com/rust-lang/rust/issues/49804> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: unnamed fields are not yet fully implemented
[INFO] [stdout]   --> src/union_test.rs:5:6
[INFO] [stdout]    |
[INFO] [stdout] 5  |   impl union {
[INFO] [stdout]    |  ______^
[INFO] [stdout] 6  | |     pub fn new() -> union {
[INFO] [stdout] 7  | |         union {
[INFO] [stdout] 8  | |             XXX_unionData: [0; 16],
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |     }
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #49804 <https://github.com/rust-lang/rust/issues/49804> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::enum_test::Felix`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::enum_test::Felix;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-code-gen` due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "53c879861e63d73eab6df018cfc10b1ae8bb4c4fc5c8fa87da9043d18378e1ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c879861e63d73eab6df018cfc10b1ae8bb4c4fc5c8fa87da9043d18378e1ed", kill_on_drop: false }`
[INFO] [stdout] 53c879861e63d73eab6df018cfc10b1ae8bb4c4fc5c8fa87da9043d18378e1ed
