[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] checking felixfaisal/rust-code-gen against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Frust-code-gen" "/workspace/builds/worker-63/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-63/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felixfaisal/rust-code-gen on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-63/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67271098c473c98120fe5bfed184d93418d96711219ed69ee78f50e1012ac524 [INFO] running `Command { std: "docker" "start" "-a" "67271098c473c98120fe5bfed184d93418d96711219ed69ee78f50e1012ac524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67271098c473c98120fe5bfed184d93418d96711219ed69ee78f50e1012ac524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67271098c473c98120fe5bfed184d93418d96711219ed69ee78f50e1012ac524", kill_on_drop: false }` [INFO] [stdout] 67271098c473c98120fe5bfed184d93418d96711219ed69ee78f50e1012ac524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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=forbid" "-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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2812b0844d094428b28f1a796b723dd15c57e17710334772e07511917c35ae6 [INFO] running `Command { std: "docker" "start" "-a" "c2812b0844d094428b28f1a796b723dd15c57e17710334772e07511917c35ae6", kill_on_drop: false }` [INFO] [stderr] Checking 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 `` [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: 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 `` [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 for more information [INFO] [stdout] = help: add `#![feature(unnamed_fields)]` to the crate attributes to enable [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 for more information [INFO] [stdout] = help: add `#![feature(unnamed_fields)]` to the crate attributes to enable [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] 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] 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[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 for more information [INFO] [stdout] = help: add `#![feature(unnamed_fields)]` to the crate attributes to enable [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 for more information [INFO] [stdout] = help: add `#![feature(unnamed_fields)]` to the crate attributes to enable [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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c2812b0844d094428b28f1a796b723dd15c57e17710334772e07511917c35ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2812b0844d094428b28f1a796b723dd15c57e17710334772e07511917c35ae6", kill_on_drop: false }` [INFO] [stdout] c2812b0844d094428b28f1a796b723dd15c57e17710334772e07511917c35ae6