[INFO] fetching crate string_enum 0.4.1... [INFO] checking string_enum-0.4.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate string_enum 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate string_enum 0.4.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate string_enum 0.4.1 [INFO] finished tweaking crates.io crate string_enum 0.4.1 [INFO] tweaked toml for crates.io crate string_enum 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pmutil v0.6.1 [INFO] [stderr] Downloaded swc_macros_common v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b52af40644a63a68d6ad0dbac2698a3ae7da56ca9dc2134f6db46f90a4f6a0c9 [INFO] running `Command { std: "docker" "start" "-a" "b52af40644a63a68d6ad0dbac2698a3ae7da56ca9dc2134f6db46f90a4f6a0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b52af40644a63a68d6ad0dbac2698a3ae7da56ca9dc2134f6db46f90a4f6a0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b52af40644a63a68d6ad0dbac2698a3ae7da56ca9dc2134f6db46f90a4f6a0c9", kill_on_drop: false }` [INFO] [stdout] b52af40644a63a68d6ad0dbac2698a3ae7da56ca9dc2134f6db46f90a4f6a0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5aa3d8c8b6aadb56f86cf10649a0a023f0be3ca4095e9fc0925fbf94d9fd8ee [INFO] running `Command { std: "docker" "start" "-a" "c5aa3d8c8b6aadb56f86cf10649a0a023f0be3ca4095e9fc0925fbf94d9fd8ee", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.55 [INFO] [stderr] Checking swc_macros_common v0.3.9 [INFO] [stderr] Checking pmutil v0.6.1 [INFO] [stderr] Checking string_enum v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{self, parse::Parse, *}; [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{self, parse::Parse, *}; [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 206 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | dot2_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `DotDot`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 294 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 206 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | dot2_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `DotDot`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 294 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_enum` (lib test) due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_enum` (lib) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c5aa3d8c8b6aadb56f86cf10649a0a023f0be3ca4095e9fc0925fbf94d9fd8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5aa3d8c8b6aadb56f86cf10649a0a023f0be3ca4095e9fc0925fbf94d9fd8ee", kill_on_drop: false }` [INFO] [stdout] c5aa3d8c8b6aadb56f86cf10649a0a023f0be3ca4095e9fc0925fbf94d9fd8ee [INFO] checking string_enum-0.4.1 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate string_enum 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate string_enum 0.4.1 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate string_enum 0.4.1 [INFO] finished tweaking crates.io crate string_enum 0.4.1 [INFO] tweaked toml for crates.io crate string_enum 0.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9db08f8efbb100b630fb2f94dadef2fb864e56d32f0d64bbeb4b34032c99b53d [INFO] running `Command { std: "docker" "start" "-a" "9db08f8efbb100b630fb2f94dadef2fb864e56d32f0d64bbeb4b34032c99b53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db08f8efbb100b630fb2f94dadef2fb864e56d32f0d64bbeb4b34032c99b53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db08f8efbb100b630fb2f94dadef2fb864e56d32f0d64bbeb4b34032c99b53d", kill_on_drop: false }` [INFO] [stdout] 9db08f8efbb100b630fb2f94dadef2fb864e56d32f0d64bbeb4b34032c99b53d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44c8944f62546bcc93227c0ef2f391c013c221a7ba17ca5a652946be70ce5c52 [INFO] running `Command { std: "docker" "start" "-a" "44c8944f62546bcc93227c0ef2f391c013c221a7ba17ca5a652946be70ce5c52", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking syn v2.0.55 [INFO] [stderr] Checking swc_macros_common v0.3.9 [INFO] [stderr] Checking pmutil v0.6.1 [INFO] [stderr] Checking string_enum v0.4.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{self, parse::Parse, *}; [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 206 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `string_enum` (lib test) due to 16 previous errors; 1 warning emitted [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | dot2_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `DotDot`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 294 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{self, parse::Parse, *}; [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 206 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `string_enum` (lib) due to 16 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | dot2_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `DotDot`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 294 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.9/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [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" "44c8944f62546bcc93227c0ef2f391c013c221a7ba17ca5a652946be70ce5c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c8944f62546bcc93227c0ef2f391c013c221a7ba17ca5a652946be70ce5c52", kill_on_drop: false }` [INFO] [stdout] 44c8944f62546bcc93227c0ef2f391c013c221a7ba17ca5a652946be70ce5c52