[INFO] cloning repository https://github.com/passcod/defnew [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/passcod/defnew" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpasscod%2Fdefnew", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpasscod%2Fdefnew'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3367a55869c7dd0fb6423a6c14378690ac09268c [INFO] checking passcod/defnew against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpasscod%2Fdefnew" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/passcod/defnew 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 git repo https://github.com/passcod/defnew [INFO] finished tweaking git repo https://github.com/passcod/defnew [INFO] tweaked toml for git repo https://github.com/passcod/defnew written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/passcod/defnew already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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] e45c5376cf94f75dde12c7598f9a8f1629a36a9747a424ba026fb66097d25b53 [INFO] running `Command { std: "docker" "start" "-a" "e45c5376cf94f75dde12c7598f9a8f1629a36a9747a424ba026fb66097d25b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e45c5376cf94f75dde12c7598f9a8f1629a36a9747a424ba026fb66097d25b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45c5376cf94f75dde12c7598f9a8f1629a36a9747a424ba026fb66097d25b53", kill_on_drop: false }` [INFO] [stdout] e45c5376cf94f75dde12c7598f9a8f1629a36a9747a424ba026fb66097d25b53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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] 5160a8a738189d51bc4a036c33f54716e06f4b2f542e506a6ff12ada6eda6215 [INFO] running `Command { std: "docker" "start" "-a" "5160a8a738189d51bc4a036c33f54716e06f4b2f542e506a6ff12ada6eda6215", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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] itoa v0.4.5 (as host dependency): default, std [INFO] [stderr] libc v0.2.70 (as host dependency): default, std [INFO] [stderr] proc-macro2 v1.0.13: default [INFO] [stderr] quote v1.0.3: default [INFO] [stderr] syn v1.0.22: extra-traits, fold, full, visit [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling eyre v0.4.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking indenter v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking dtoa-short v0.3.2 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking tracing-subscriber v0.2.5 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking term_size v1.0.0-beta1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling lexpr-macros v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking addr2line v0.12.0 [INFO] [stderr] Checking lexpr v0.2.4 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking color-backtrace v0.4.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling thiserror-impl v1.0.18 [INFO] [stderr] Checking thiserror v1.0.18 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap#31ebd7ef) [INFO] [stderr] Checking color-eyre v0.3.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking clap v3.0.0-beta.1 (https://github.com/clap-rs/clap#31ebd7ef) [INFO] [stderr] Checking kuchiki v0.8.0 [INFO] [stderr] Checking defnew v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/struct.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/libc-def.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/libc-gen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/union.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/def.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/syscall.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/libc-const.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/new.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/syscalled.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/cast.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/enum.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking cssparser v0.27.2 [INFO] [stderr] Checking html5ever v0.25.1 [INFO] [stderr] Checking kuchiki v0.8.0 [INFO] [stderr] Checking defnew v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved import `syn::ItemType` [INFO] [stdout] --> src/bin/libc-gen.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | use syn::{parse_str, ItemType}; [INFO] [stdout] | ^^^^^^^^ no `ItemType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::ItemEnum` [INFO] [stdout] --> src/bin/libc-gen.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | use syn::{parse_str, ItemEnum}; [INFO] [stdout] | ^^^^^^^^ no `ItemEnum` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::ItemStruct` [INFO] [stdout] --> src/bin/libc-gen.rs:419:61 [INFO] [stdout] | [INFO] [stdout] 419 | use syn::{parse_str, Fields, FieldsNamed, FieldsUnnamed, ItemStruct}; [INFO] [stdout] | ^^^^^^^^^^ no `ItemStruct` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::ItemType` [INFO] [stdout] --> src/bin/libc-gen.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | use syn::{parse_str, ItemType}; [INFO] [stdout] | ^^^^^^^^ no `ItemType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::ItemEnum` [INFO] [stdout] --> src/bin/libc-gen.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | use syn::{parse_str, ItemEnum}; [INFO] [stdout] | ^^^^^^^^ no `ItemEnum` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::ItemStruct` [INFO] [stdout] --> src/bin/libc-gen.rs:419:61 [INFO] [stdout] | [INFO] [stdout] 419 | use syn::{parse_str, Fields, FieldsNamed, FieldsUnnamed, ItemStruct}; [INFO] [stdout] | ^^^^^^^^^^ no `ItemStruct` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/bin/libc-gen.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | format!("{:#?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/bin/libc-gen.rs:370:58 [INFO] [stdout] | [INFO] [stdout] 370 | _ => Err(Error::UnsupportedType("?", format!("{:#?}", ty))), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/bin/libc-gen.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | format!("{:#?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/bin/libc-gen.rs:370:58 [INFO] [stdout] | [INFO] [stdout] 370 | _ => Err(Error::UnsupportedType("?", format!("{:#?}", ty))), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `defnew` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5160a8a738189d51bc4a036c33f54716e06f4b2f542e506a6ff12ada6eda6215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5160a8a738189d51bc4a036c33f54716e06f4b2f542e506a6ff12ada6eda6215", kill_on_drop: false }` [INFO] [stdout] 5160a8a738189d51bc4a036c33f54716e06f4b2f542e506a6ff12ada6eda6215