[INFO] fetching crate typescript-definitions-derive 0.1.10... [INFO] checking typescript-definitions-derive-0.1.10 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate typescript-definitions-derive 0.1.10 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate typescript-definitions-derive 0.1.10 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 typescript-definitions-derive 0.1.10 [INFO] finished tweaking crates.io crate typescript-definitions-derive 0.1.10 [INFO] tweaked toml for crates.io crate typescript-definitions-derive 0.1.10 written to /workspace/builds/worker-11/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 2c8124475301064a83a1382df32ef3cc88fee80dd7cee3f7227e966072713056 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c8124475301064a83a1382df32ef3cc88fee80dd7cee3f7227e966072713056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8124475301064a83a1382df32ef3cc88fee80dd7cee3f7227e966072713056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8124475301064a83a1382df32ef3cc88fee80dd7cee3f7227e966072713056", kill_on_drop: false }` [INFO] [stdout] 2c8124475301064a83a1382df32ef3cc88fee80dd7cee3f7227e966072713056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7939dc0a1d44e477e67cefc3dc0d39fe220e873cbebe067db56f3e529865dc60 [INFO] running `Command { std: "docker" "start" "-a" "7939dc0a1d44e477e67cefc3dc0d39fe220e873cbebe067db56f3e529865dc60", 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] byteorder v1.4.3 (as host dependency): default, std [INFO] [stderr] libc v0.2.100: default, std [INFO] [stderr] libc v0.2.100 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ci_info v0.3.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking serde_derive_internals v0.24.1 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking typescript-definitions-derive v0.1.10 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: prefix `ident` is unknown [INFO] [stdout] --> src/lib.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | quote!(#ident#generics) [INFO] [stdout] | ^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prefixes-incompatible-syntax` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 296 - quote!(#ident#generics) [INFO] [stdout] 296 + quote!(#ident #generics) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `v` is unknown [INFO] [stdout] --> src/attrs.rs:35:81 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(tokens) => match syn::parse2::(quote!( struct S{ a:v#tokens} )) { [INFO] [stdout] | ^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 35 - Ok(tokens) => match syn::parse2::(quote!( struct S{ a:v#tokens} )) { [INFO] [stdout] 35 + Ok(tokens) => match syn::parse2::(quote!( struct S{ a:v #tokens} )) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `func` is unknown [INFO] [stdout] --> src/guards.rs:232:28 [INFO] [stdout] | [INFO] [stdout] 232 | quote! { if (!#func#gen_params<#(#args),*>(#obj, #a)) return false; } [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 232 - quote! { if (!#func#gen_params<#(#args),*>(#obj, #a)) return false; } [INFO] [stdout] 232 + quote! { if (!#func #gen_params<#(#args),*>(#obj, #a)) return false; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `func` is unknown [INFO] [stdout] --> src/guards.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | quote!( if (!#func#gen_params(#obj, typename)) return false; ) [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 244 - quote!( if (!#func#gen_params(#obj, typename)) return false; ) [INFO] [stdout] 244 + quote!( if (!#func #gen_params(#obj, typename)) return false; ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `func` is unknown [INFO] [stdout] --> src/guards.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | quote!( if (!#func#gen_params(#obj)) return false; ) [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 246 - quote!( if (!#func#gen_params(#obj)) return false; ) [INFO] [stdout] 246 + quote!( if (!#func #gen_params(#obj)) return false; ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / /// derive proc_macro to expose Typescript definitions to `wasm-bindgen`. [INFO] [stdout] 67 | | /// [INFO] [stdout] 68 | | /// Please see documentation at [crates.io](https://crates.io/crates/typescript-definitions). [INFO] [stdout] 69 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / /// derive proc_macro to expose Typescript definitions as a static function. [INFO] [stdout] 93 | | /// [INFO] [stdout] 94 | | /// Please see documentation at [crates.io](https://crates.io/crates/typescript-definitions). [INFO] [stdout] 95 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/attrs.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub ts_as: Option, [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 derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `typescript-definitions-derive` due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "7939dc0a1d44e477e67cefc3dc0d39fe220e873cbebe067db56f3e529865dc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7939dc0a1d44e477e67cefc3dc0d39fe220e873cbebe067db56f3e529865dc60", kill_on_drop: false }` [INFO] [stdout] 7939dc0a1d44e477e67cefc3dc0d39fe220e873cbebe067db56f3e529865dc60