[INFO] fetching crate golang-type-decl 0.3.0... [INFO] checking golang-type-decl-0.3.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate golang-type-decl 0.3.0 into /workspace/builds/worker-111/source [INFO] validating manifest of crates.io crate golang-type-decl 0.3.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate golang-type-decl 0.3.0 [INFO] finished tweaking crates.io crate golang-type-decl 0.3.0 [INFO] tweaked toml for crates.io crate golang-type-decl 0.3.0 written to /workspace/builds/worker-111/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded golang-type-decl-macro v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a87d2130325072b4e8dafc1e194e71b85feccdaf5d3dbfb9a60b1703e79b9f76 [INFO] running `Command { std: "docker" "start" "-a" "a87d2130325072b4e8dafc1e194e71b85feccdaf5d3dbfb9a60b1703e79b9f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a87d2130325072b4e8dafc1e194e71b85feccdaf5d3dbfb9a60b1703e79b9f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87d2130325072b4e8dafc1e194e71b85feccdaf5d3dbfb9a60b1703e79b9f76", kill_on_drop: false }` [INFO] [stdout] a87d2130325072b4e8dafc1e194e71b85feccdaf5d3dbfb9a60b1703e79b9f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dd7c824c62d87fe41b89fd1ae05e578dfb330941adc42363392deac4e2e5c31 [INFO] running `Command { std: "docker" "start" "-a" "0dd7c824c62d87fe41b89fd1ae05e578dfb330941adc42363392deac4e2e5c31", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] proc-macro2 v1.0.28: default, proc-macro [INFO] [stderr] quote v1.0.9: default, proc-macro [INFO] [stderr] [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling tree-sitter v0.17.1 [INFO] [stderr] Compiling tree-sitter-go v0.16.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking golang-parser v0.1.0 [INFO] [stderr] Checking golang-type-name-core v0.1.0 [INFO] [stderr] Checking golang-struct-tag v0.1.0 [INFO] [stderr] Checking golang-type-core v0.1.0 [INFO] [stderr] Checking golang-type-decl-core v0.3.0 [INFO] [stderr] Compiling golang-type-decl-macro v0.3.0 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking golang-type-decl v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking serde-aux v2.2.0 [INFO] [stderr] Migrating tests/gen_type_alias.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/gen_json_struct_from_file.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/gen_type_alias_from_file.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/gen_json_struct.rs from 2018 edition to 2021 [INFO] [stdout] error: file not exists at "/tmp/golang-type-decl-core/tests/files/simple.go" [INFO] [stdout] --> tests/gen_json_struct_from_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | gen_json_struct_from_file!("../golang-type-decl-core/tests/files/simple.go#L21-L23"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_json_struct_from_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Foo` in this scope [INFO] [stdout] --> tests/gen_json_struct_from_file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Foo { bar: 0 }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `golang-type-decl` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: file not exists at "/tmp/golang-type-decl-core/tests/files/simple.go" [INFO] [stdout] --> tests/gen_type_alias_from_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | gen_type_alias_from_file!("../golang-type-decl-core/tests/files/simple.go#L3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_type_alias_from_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> tests/gen_type_alias_from_file.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | let _: Node = 0_isize; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0dd7c824c62d87fe41b89fd1ae05e578dfb330941adc42363392deac4e2e5c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd7c824c62d87fe41b89fd1ae05e578dfb330941adc42363392deac4e2e5c31", kill_on_drop: false }` [INFO] [stdout] 0dd7c824c62d87fe41b89fd1ae05e578dfb330941adc42363392deac4e2e5c31