[INFO] crate swc_ecma_parser 0.10.1 is already in cache [INFO] extracting crate swc_ecma_parser 0.10.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/swc_ecma_parser/0.10.1 [INFO] extracting crate swc_ecma_parser 0.10.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/swc_ecma_parser/0.10.1 [INFO] validating manifest of swc_ecma_parser-0.10.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of swc_ecma_parser-0.10.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing swc_ecma_parser-0.10.1 [INFO] finished frobbing swc_ecma_parser-0.10.1 [INFO] frobbed toml for swc_ecma_parser-0.10.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/swc_ecma_parser/0.10.1/Cargo.toml [INFO] started frobbing swc_ecma_parser-0.10.1 [INFO] finished frobbing swc_ecma_parser-0.10.1 [INFO] frobbed toml for swc_ecma_parser-0.10.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/swc_ecma_parser/0.10.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking swc_ecma_parser-0.10.1 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/swc_ecma_parser/0.10.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 98fcd1b4678d29b1b2e4e8b150ccbaa44bfe72bf4a4095dfeb57cca63bae992e [INFO] running `"docker" "start" "-a" "98fcd1b4678d29b1b2e4e8b150ccbaa44bfe72bf4a4095dfeb57cca63bae992e"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking serde v1.0.99 [INFO] [stderr] Compiling swc_atoms v0.1.2 [INFO] [stderr] Compiling enum_kind v0.1.3 [INFO] [stderr] Compiling string_enum v0.2.0 [INFO] [stderr] Compiling swc_ecma_parser_macros v0.3.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking string_cache v0.7.3 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking swc_common v0.3.1 [INFO] [stderr] Checking swc_ecma_ast v0.9.1 [INFO] [stderr] Checking testing v0.3.1 [INFO] [stderr] Checking swc_ecma_parser v0.10.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lexer/number.rs:90:23 [INFO] [stderr] | [INFO] [stderr] 90 | let dec: &Display = match dec_val { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer/mod.rs:152:16 [INFO] [stderr] | [INFO] [stderr] 152 | '1'...'9' => return self.read_number(false).map(Num).map(Some), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer/mod.rs:404:16 [INFO] [stderr] | [INFO] [stderr] 404 | '0'...'7' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lexer/number.rs:90:23 [INFO] [stderr] | [INFO] [stderr] 90 | let dec: &Display = match dec_val { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer/mod.rs:152:16 [INFO] [stderr] | [INFO] [stderr] 152 | '1'...'9' => return self.read_number(false).map(Num).map(Some), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer/mod.rs:404:16 [INFO] [stderr] | [INFO] [stderr] 404 | '0'...'7' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:442:5 [INFO] [stderr] | [INFO] [stderr] 442 | / assert_eq_ignore_span!( [INFO] [stderr] 443 | | lex_tokens(Syntax::default(), "f(); function foo() {} /42/i"), [INFO] [stderr] 444 | | vec![ [INFO] [stderr] 445 | | Word(Word::Ident("f".into())), [INFO] [stderr] ... | [INFO] [stderr] 467 | | ] [INFO] [stderr] 468 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:442:5 [INFO] [stderr] | [INFO] [stderr] 442 | / assert_eq_ignore_span!( [INFO] [stderr] 443 | | lex_tokens(Syntax::default(), "f(); function foo() {} /42/i"), [INFO] [stderr] 444 | | vec![ [INFO] [stderr] 445 | | Word(Word::Ident("f".into())), [INFO] [stderr] ... | [INFO] [stderr] 467 | | ] [INFO] [stderr] 468 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:711:5 [INFO] [stderr] | [INFO] [stderr] 711 | / assert_eq_ignore_span!( [INFO] [stderr] 712 | | lex_tokens(Syntax::default(), "'\\\nabc'"), [INFO] [stderr] 713 | | vec![Token::Str { [INFO] [stderr] 714 | | value: "abc".into(), [INFO] [stderr] 715 | | has_escape: true, [INFO] [stderr] 716 | | }] [INFO] [stderr] 717 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:711:5 [INFO] [stderr] | [INFO] [stderr] 711 | / assert_eq_ignore_span!( [INFO] [stderr] 712 | | lex_tokens(Syntax::default(), "'\\\nabc'"), [INFO] [stderr] 713 | | vec![Token::Str { [INFO] [stderr] 714 | | value: "abc".into(), [INFO] [stderr] 715 | | has_escape: true, [INFO] [stderr] 716 | | }] [INFO] [stderr] 717 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/class_and_fn.rs:963:9 [INFO] [stderr] | [INFO] [stderr] 963 | / assert_eq_ignore_span!( [INFO] [stderr] 964 | | expr("(class extends a {})"), [INFO] [stderr] 965 | | Box::new(Expr::Paren(ParenExpr { [INFO] [stderr] 966 | | span, [INFO] [stderr] ... | [INFO] [stderr] 980 | | })) [INFO] [stderr] 981 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/class_and_fn.rs:963:9 [INFO] [stderr] | [INFO] [stderr] 963 | / assert_eq_ignore_span!( [INFO] [stderr] 964 | | expr("(class extends a {})"), [INFO] [stderr] 965 | | Box::new(Expr::Paren(ParenExpr { [INFO] [stderr] 966 | | span, [INFO] [stderr] ... | [INFO] [stderr] 980 | | })) [INFO] [stderr] 981 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | / assert_eq_ignore_span!( [INFO] [stderr] 241 | | bin("5 + 4 * 7"), [INFO] [stderr] 242 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 243 | | span, [INFO] [stderr] ... | [INFO] [stderr] 247 | | })) [INFO] [stderr] 248 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | / assert_eq_ignore_span!( [INFO] [stderr] 241 | | bin("5 + 4 * 7"), [INFO] [stderr] 242 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 243 | | span, [INFO] [stderr] ... | [INFO] [stderr] 247 | | })) [INFO] [stderr] 248 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:253:9 [INFO] [stderr] | [INFO] [stderr] 253 | / assert_eq_ignore_span!( [INFO] [stderr] 254 | | bin("5 + 4 + 7"), [INFO] [stderr] 255 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 256 | | span, [INFO] [stderr] ... | [INFO] [stderr] 260 | | })) [INFO] [stderr] 261 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:253:9 [INFO] [stderr] | [INFO] [stderr] 253 | / assert_eq_ignore_span!( [INFO] [stderr] 254 | | bin("5 + 4 + 7"), [INFO] [stderr] 255 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 256 | | span, [INFO] [stderr] ... | [INFO] [stderr] 260 | | })) [INFO] [stderr] 261 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | / assert_eq_ignore_span!( [INFO] [stderr] 56 | | expr("a = b => false"), [INFO] [stderr] 57 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 58 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | / assert_eq_ignore_span!( [INFO] [stderr] 56 | | expr("a = b => false"), [INFO] [stderr] 57 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 58 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | expr("async()"), [INFO] [stderr] 70 | | box Expr::Call(CallExpr { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 75 | | }) [INFO] [stderr] 76 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | expr("async()"), [INFO] [stderr] 70 | | box Expr::Call(CallExpr { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 75 | | }) [INFO] [stderr] 76 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | / assert_eq_ignore_span!( [INFO] [stderr] 82 | | expr("async () => foo"), [INFO] [stderr] 83 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 84 | | span, [INFO] [stderr] ... | [INFO] [stderr] 91 | | }) [INFO] [stderr] 92 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | / assert_eq_ignore_span!( [INFO] [stderr] 82 | | expr("async () => foo"), [INFO] [stderr] 83 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 84 | | span, [INFO] [stderr] ... | [INFO] [stderr] 91 | | }) [INFO] [stderr] 92 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | / assert_eq_ignore_span!( [INFO] [stderr] 98 | | expr("({ ...a34 }) => {}"), [INFO] [stderr] 99 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 100 | | span, [INFO] [stderr] ... | [INFO] [stderr] 119 | | }) [INFO] [stderr] 120 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | / assert_eq_ignore_span!( [INFO] [stderr] 98 | | expr("({ ...a34 }) => {}"), [INFO] [stderr] 99 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 100 | | span, [INFO] [stderr] ... | [INFO] [stderr] 119 | | }) [INFO] [stderr] 120 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | / assert_eq_ignore_span!( [INFO] [stderr] 126 | | expr("foo = {a, ...bar, b}"), [INFO] [stderr] 127 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 128 | | span, [INFO] [stderr] ... | [INFO] [stderr] 142 | | }) [INFO] [stderr] 143 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | / assert_eq_ignore_span!( [INFO] [stderr] 126 | | expr("foo = {a, ...bar, b}"), [INFO] [stderr] 127 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 128 | | span, [INFO] [stderr] ... | [INFO] [stderr] 142 | | }) [INFO] [stderr] 143 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | / assert_eq_ignore_span!( [INFO] [stderr] 149 | | new_expr("new Date().toString()"), [INFO] [stderr] 150 | | box Expr::Member(MemberExpr { [INFO] [stderr] 151 | | span, [INFO] [stderr] ... | [INFO] [stderr] 155 | | }) [INFO] [stderr] 156 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | / assert_eq_ignore_span!( [INFO] [stderr] 149 | | new_expr("new Date().toString()"), [INFO] [stderr] 150 | | box Expr::Member(MemberExpr { [INFO] [stderr] 151 | | span, [INFO] [stderr] ... | [INFO] [stderr] 155 | | }) [INFO] [stderr] 156 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | / assert_eq_ignore_span!( [INFO] [stderr] 161 | | lhs("new Date.toString()"), [INFO] [stderr] 162 | | box Expr::New(NewExpr { [INFO] [stderr] 163 | | span, [INFO] [stderr] ... | [INFO] [stderr] 167 | | }) [INFO] [stderr] 168 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | / assert_eq_ignore_span!( [INFO] [stderr] 161 | | lhs("new Date.toString()"), [INFO] [stderr] 162 | | box Expr::New(NewExpr { [INFO] [stderr] 163 | | span, [INFO] [stderr] ... | [INFO] [stderr] 167 | | }) [INFO] [stderr] 168 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / assert_eq_ignore_span!( [INFO] [stderr] 174 | | lhs("new Date.toString()()"), [INFO] [stderr] 175 | | box Expr::Call(CallExpr { [INFO] [stderr] 176 | | span, [INFO] [stderr] ... | [INFO] [stderr] 180 | | }) [INFO] [stderr] 181 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / assert_eq_ignore_span!( [INFO] [stderr] 174 | | lhs("new Date.toString()()"), [INFO] [stderr] 175 | | box Expr::Call(CallExpr { [INFO] [stderr] 176 | | span, [INFO] [stderr] ... | [INFO] [stderr] 180 | | }) [INFO] [stderr] 181 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | / assert_eq_ignore_span!( [INFO] [stderr] 187 | | expr("() => 1"), [INFO] [stderr] 188 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 189 | | span, [INFO] [stderr] ... | [INFO] [stderr] 196 | | }) [INFO] [stderr] 197 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | / assert_eq_ignore_span!( [INFO] [stderr] 187 | | expr("() => 1"), [INFO] [stderr] 188 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 189 | | span, [INFO] [stderr] ... | [INFO] [stderr] 196 | | }) [INFO] [stderr] 197 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | / assert_eq_ignore_span!( [INFO] [stderr] 202 | | expr("(a) => 1"), [INFO] [stderr] 203 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 204 | | span, [INFO] [stderr] ... | [INFO] [stderr] 211 | | }) [INFO] [stderr] 212 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | / assert_eq_ignore_span!( [INFO] [stderr] 202 | | expr("(a) => 1"), [INFO] [stderr] 203 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 204 | | span, [INFO] [stderr] ... | [INFO] [stderr] 211 | | }) [INFO] [stderr] 212 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | / assert_eq_ignore_span!( [INFO] [stderr] 217 | | expr("(...a) => 1"), [INFO] [stderr] 218 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 219 | | span, [INFO] [stderr] ... | [INFO] [stderr] 231 | | }) [INFO] [stderr] 232 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | / assert_eq_ignore_span!( [INFO] [stderr] 217 | | expr("(...a) => 1"), [INFO] [stderr] 218 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 219 | | span, [INFO] [stderr] ... | [INFO] [stderr] 231 | | }) [INFO] [stderr] 232 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | / assert_eq_ignore_span!( [INFO] [stderr] 237 | | expr("a => 1"), [INFO] [stderr] 238 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 239 | | span, [INFO] [stderr] ... | [INFO] [stderr] 246 | | }) [INFO] [stderr] 247 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | / assert_eq_ignore_span!( [INFO] [stderr] 237 | | expr("a => 1"), [INFO] [stderr] 238 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 239 | | span, [INFO] [stderr] ... | [INFO] [stderr] 246 | | }) [INFO] [stderr] 247 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | / assert_eq_ignore_span!( [INFO] [stderr] 253 | | expr("new a"), [INFO] [stderr] 254 | | box Expr::New(NewExpr { [INFO] [stderr] 255 | | span, [INFO] [stderr] ... | [INFO] [stderr] 259 | | }) [INFO] [stderr] 260 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | / assert_eq_ignore_span!( [INFO] [stderr] 253 | | expr("new a"), [INFO] [stderr] 254 | | box Expr::New(NewExpr { [INFO] [stderr] 255 | | span, [INFO] [stderr] ... | [INFO] [stderr] 259 | | }) [INFO] [stderr] 260 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / assert_eq_ignore_span!( [INFO] [stderr] 266 | | expr("new new a"), [INFO] [stderr] 267 | | box Expr::New(NewExpr { [INFO] [stderr] 268 | | span, [INFO] [stderr] ... | [INFO] [stderr] 272 | | }) [INFO] [stderr] 273 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / assert_eq_ignore_span!( [INFO] [stderr] 266 | | expr("new new a"), [INFO] [stderr] 267 | | box Expr::New(NewExpr { [INFO] [stderr] 268 | | span, [INFO] [stderr] ... | [INFO] [stderr] 272 | | }) [INFO] [stderr] 273 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | / assert_eq_ignore_span!( [INFO] [stderr] 279 | | expr("[a,,,,, ...d,, e]"), [INFO] [stderr] 280 | | box Expr::Array(ArrayLit { [INFO] [stderr] 281 | | span, [INFO] [stderr] ... | [INFO] [stderr] 301 | | }) [INFO] [stderr] 302 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | / assert_eq_ignore_span!( [INFO] [stderr] 279 | | expr("[a,,,,, ...d,, e]"), [INFO] [stderr] 280 | | box Expr::Array(ArrayLit { [INFO] [stderr] 281 | | span, [INFO] [stderr] ... | [INFO] [stderr] 301 | | }) [INFO] [stderr] 302 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:307:5 [INFO] [stderr] | [INFO] [stderr] 307 | / assert_eq_ignore_span!( [INFO] [stderr] 308 | | expr("1.7976931348623157e+308"), [INFO] [stderr] 309 | | box Expr::Lit(Lit::Num(Number { [INFO] [stderr] 310 | | span, [INFO] [stderr] 311 | | value: 1.7976931348623157e+308 [INFO] [stderr] 312 | | })) [INFO] [stderr] 313 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:307:5 [INFO] [stderr] | [INFO] [stderr] 307 | / assert_eq_ignore_span!( [INFO] [stderr] 308 | | expr("1.7976931348623157e+308"), [INFO] [stderr] 309 | | box Expr::Lit(Lit::Num(Number { [INFO] [stderr] 310 | | span, [INFO] [stderr] 311 | | value: 1.7976931348623157e+308 [INFO] [stderr] 312 | | })) [INFO] [stderr] 313 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | / assert_eq_ignore_span!( [INFO] [stderr] 319 | | box Expr::Call(CallExpr { [INFO] [stderr] 320 | | span, [INFO] [stderr] 321 | | callee: ExprOrSuper::Expr(expr("(function(){})")), [INFO] [stderr] ... | [INFO] [stderr] 325 | | expr("(function(){})()") [INFO] [stderr] 326 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | / assert_eq_ignore_span!( [INFO] [stderr] 319 | | box Expr::Call(CallExpr { [INFO] [stderr] 320 | | span, [INFO] [stderr] 321 | | callee: ExprOrSuper::Expr(expr("(function(){})")), [INFO] [stderr] ... | [INFO] [stderr] 325 | | expr("(function(){})()") [INFO] [stderr] 326 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | / assert_eq_ignore_span!( [INFO] [stderr] 332 | | expr("obj(({ async f() { await g(); } }));"), [INFO] [stderr] 333 | | box Expr::Call(CallExpr { [INFO] [stderr] 334 | | span, [INFO] [stderr] ... | [INFO] [stderr] 341 | | }) [INFO] [stderr] 342 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | / assert_eq_ignore_span!( [INFO] [stderr] 332 | | expr("obj(({ async f() { await g(); } }));"), [INFO] [stderr] 333 | | box Expr::Call(CallExpr { [INFO] [stderr] 334 | | span, [INFO] [stderr] ... | [INFO] [stderr] 341 | | }) [INFO] [stderr] 342 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | / assert_eq_ignore_span!( [INFO] [stderr] 348 | | test_parser( [INFO] [stderr] 349 | | "import('test')", [INFO] [stderr] 350 | | Syntax::Es(EsConfig { [INFO] [stderr] ... | [INFO] [stderr] 373 | | })) [INFO] [stderr] 374 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | / assert_eq_ignore_span!( [INFO] [stderr] 348 | | test_parser( [INFO] [stderr] 349 | | "import('test')", [INFO] [stderr] 350 | | Syntax::Es(EsConfig { [INFO] [stderr] ... | [INFO] [stderr] 373 | | })) [INFO] [stderr] 374 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:393:5 [INFO] [stderr] | [INFO] [stderr] 393 | / assert_eq_ignore_span!( [INFO] [stderr] 394 | | expr( [INFO] [stderr] 395 | | r#""ok\ [INFO] [stderr] 396 | | ok\ [INFO] [stderr] ... | [INFO] [stderr] 403 | | })) [INFO] [stderr] 404 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:393:5 [INFO] [stderr] | [INFO] [stderr] 393 | / assert_eq_ignore_span!( [INFO] [stderr] 394 | | expr( [INFO] [stderr] 395 | | r#""ok\ [INFO] [stderr] 396 | | ok\ [INFO] [stderr] ... | [INFO] [stderr] 403 | | })) [INFO] [stderr] 404 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / assert_eq_ignore_span!( [INFO] [stderr] 24 | | jsx(""), [INFO] [stderr] 25 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 26 | | span, [INFO] [stderr] ... | [INFO] [stderr] 36 | | }) [INFO] [stderr] 37 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / assert_eq_ignore_span!( [INFO] [stderr] 24 | | jsx(""), [INFO] [stderr] 25 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 26 | | span, [INFO] [stderr] ... | [INFO] [stderr] 36 | | }) [INFO] [stderr] 37 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / assert_eq_ignore_span!( [INFO] [stderr] 43 | | jsx("foo"), [INFO] [stderr] 44 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 45 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / assert_eq_ignore_span!( [INFO] [stderr] 43 | | jsx("foo"), [INFO] [stderr] 44 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 45 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | jsx(r#"
;"#), [INFO] [stderr] 70 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 89 | | }) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | jsx(r#"
;"#), [INFO] [stderr] 70 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 89 | | }) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:637:9 [INFO] [stderr] | [INFO] [stderr] 637 | / assert_eq_ignore_span!( [INFO] [stderr] 638 | | array_pat("[a, [b], [c]]"), [INFO] [stderr] 639 | | Pat::Array(ArrayPat { [INFO] [stderr] 640 | | span, [INFO] [stderr] ... | [INFO] [stderr] 655 | | }) [INFO] [stderr] 656 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:637:9 [INFO] [stderr] | [INFO] [stderr] 637 | / assert_eq_ignore_span!( [INFO] [stderr] 638 | | array_pat("[a, [b], [c]]"), [INFO] [stderr] 639 | | Pat::Array(ArrayPat { [INFO] [stderr] 640 | | span, [INFO] [stderr] ... | [INFO] [stderr] 655 | | }) [INFO] [stderr] 656 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:661:9 [INFO] [stderr] | [INFO] [stderr] 661 | / assert_eq_ignore_span!( [INFO] [stderr] 662 | | array_pat("[, a, [b], [c]]"), [INFO] [stderr] 663 | | Pat::Array(ArrayPat { [INFO] [stderr] 664 | | span, [INFO] [stderr] ... | [INFO] [stderr] 680 | | }) [INFO] [stderr] 681 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:661:9 [INFO] [stderr] | [INFO] [stderr] 661 | / assert_eq_ignore_span!( [INFO] [stderr] 662 | | array_pat("[, a, [b], [c]]"), [INFO] [stderr] 663 | | Pat::Array(ArrayPat { [INFO] [stderr] 664 | | span, [INFO] [stderr] ... | [INFO] [stderr] 680 | | }) [INFO] [stderr] 681 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | / assert_eq_ignore_span!( [INFO] [stderr] 687 | | array_pat("[a, , [b], [c]]"), [INFO] [stderr] 688 | | Pat::Array(ArrayPat { [INFO] [stderr] 689 | | span, [INFO] [stderr] ... | [INFO] [stderr] 705 | | }) [INFO] [stderr] 706 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | / assert_eq_ignore_span!( [INFO] [stderr] 687 | | array_pat("[a, , [b], [c]]"), [INFO] [stderr] 688 | | Pat::Array(ArrayPat { [INFO] [stderr] 689 | | span, [INFO] [stderr] ... | [INFO] [stderr] 705 | | }) [INFO] [stderr] 706 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:850:9 [INFO] [stderr] | [INFO] [stderr] 850 | assert_eq_ignore_span!(stmt("a + b + c"), Stmt::Expr(expr("a + b + c"))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:850:9 [INFO] [stderr] | [INFO] [stderr] 850 | assert_eq_ignore_span!(stmt("a + b + c"), Stmt::Expr(expr("a + b + c"))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:855:9 [INFO] [stderr] | [INFO] [stderr] 855 | / assert_eq_ignore_span!( [INFO] [stderr] 856 | | stmt("try {} catch({ ...a34 }) {}"), [INFO] [stderr] 857 | | Stmt::Try(TryStmt { [INFO] [stderr] 858 | | span, [INFO] [stderr] ... | [INFO] [stderr] 881 | | }) [INFO] [stderr] 882 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:855:9 [INFO] [stderr] | [INFO] [stderr] 855 | / assert_eq_ignore_span!( [INFO] [stderr] 856 | | stmt("try {} catch({ ...a34 }) {}"), [INFO] [stderr] 857 | | Stmt::Try(TryStmt { [INFO] [stderr] 858 | | span, [INFO] [stderr] ... | [INFO] [stderr] 881 | | }) [INFO] [stderr] 882 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:887:9 [INFO] [stderr] | [INFO] [stderr] 887 | / assert_eq_ignore_span!( [INFO] [stderr] 888 | | stmt("throw this"), [INFO] [stderr] 889 | | Stmt::Throw(ThrowStmt { [INFO] [stderr] 890 | | span, [INFO] [stderr] 891 | | arg: expr("this"), [INFO] [stderr] 892 | | }) [INFO] [stderr] 893 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:887:9 [INFO] [stderr] | [INFO] [stderr] 887 | / assert_eq_ignore_span!( [INFO] [stderr] 888 | | stmt("throw this"), [INFO] [stderr] 889 | | Stmt::Throw(ThrowStmt { [INFO] [stderr] 890 | | span, [INFO] [stderr] 891 | | arg: expr("this"), [INFO] [stderr] 892 | | }) [INFO] [stderr] 893 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:898:9 [INFO] [stderr] | [INFO] [stderr] 898 | / assert_eq_ignore_span!( [INFO] [stderr] 899 | | stmt("for await (const a of b) ;"), [INFO] [stderr] 900 | | Stmt::ForOf(ForOfStmt { [INFO] [stderr] 901 | | span, [INFO] [stderr] ... | [INFO] [stderr] 917 | | }) [INFO] [stderr] 918 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:898:9 [INFO] [stderr] | [INFO] [stderr] 898 | / assert_eq_ignore_span!( [INFO] [stderr] 899 | | stmt("for await (const a of b) ;"), [INFO] [stderr] 900 | | Stmt::ForOf(ForOfStmt { [INFO] [stderr] 901 | | span, [INFO] [stderr] ... | [INFO] [stderr] 917 | | }) [INFO] [stderr] 918 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:923:9 [INFO] [stderr] | [INFO] [stderr] 923 | / assert_eq_ignore_span!( [INFO] [stderr] 924 | | stmt("(function foo() { return 1 })"), [INFO] [stderr] 925 | | stmt( [INFO] [stderr] 926 | | "(function foo () { [INFO] [stderr] ... | [INFO] [stderr] 929 | | ) [INFO] [stderr] 930 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:923:9 [INFO] [stderr] | [INFO] [stderr] 923 | / assert_eq_ignore_span!( [INFO] [stderr] 924 | | stmt("(function foo() { return 1 })"), [INFO] [stderr] 925 | | stmt( [INFO] [stderr] 926 | | "(function foo () { [INFO] [stderr] ... | [INFO] [stderr] 929 | | ) [INFO] [stderr] 930 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:932:9 [INFO] [stderr] | [INFO] [stderr] 932 | / assert_eq_ignore_span!( [INFO] [stderr] 933 | | stmt("{ 1; }"), [INFO] [stderr] 934 | | Stmt::Block(BlockStmt { [INFO] [stderr] 935 | | span, [INFO] [stderr] 936 | | stmts: vec![stmt("1")], [INFO] [stderr] 937 | | }) [INFO] [stderr] 938 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:932:9 [INFO] [stderr] | [INFO] [stderr] 932 | / assert_eq_ignore_span!( [INFO] [stderr] 933 | | stmt("{ 1; }"), [INFO] [stderr] 934 | | Stmt::Block(BlockStmt { [INFO] [stderr] 935 | | span, [INFO] [stderr] 936 | | stmts: vec![stmt("1")], [INFO] [stderr] 937 | | }) [INFO] [stderr] 938 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:943:9 [INFO] [stderr] | [INFO] [stderr] 943 | / assert_eq_ignore_span!( [INFO] [stderr] 944 | | stmt("if (a) b; else c"), [INFO] [stderr] 945 | | Stmt::If(IfStmt { [INFO] [stderr] 946 | | span, [INFO] [stderr] ... | [INFO] [stderr] 950 | | }) [INFO] [stderr] 951 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:943:9 [INFO] [stderr] | [INFO] [stderr] 943 | / assert_eq_ignore_span!( [INFO] [stderr] 944 | | stmt("if (a) b; else c"), [INFO] [stderr] 945 | | Stmt::If(IfStmt { [INFO] [stderr] 946 | | span, [INFO] [stderr] ... | [INFO] [stderr] 950 | | }) [INFO] [stderr] 951 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:956:9 [INFO] [stderr] | [INFO] [stderr] 956 | / assert_eq_ignore_span!( [INFO] [stderr] 957 | | test_parser( [INFO] [stderr] 958 | | " [INFO] [stderr] 959 | | @decorator [INFO] [stderr] ... | [INFO] [stderr] 994 | | })) [INFO] [stderr] 995 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:956:9 [INFO] [stderr] | [INFO] [stderr] 956 | / assert_eq_ignore_span!( [INFO] [stderr] 957 | | test_parser( [INFO] [stderr] 958 | | " [INFO] [stderr] 959 | | @decorator [INFO] [stderr] ... | [INFO] [stderr] 994 | | })) [INFO] [stderr] 995 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 78 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `swc_ecma_parser`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variant is never constructed: `AssignProperty` [INFO] [stderr] --> src/error.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | AssignProperty, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CommaAfterRestElement` [INFO] [stderr] --> src/error.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | CommaAfterRestElement, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ExpctedSemi` [INFO] [stderr] --> src/error.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | ExpctedSemi, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidLeadingDecorator` [INFO] [stderr] --> src/error.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | InvalidLeadingDecorator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "98fcd1b4678d29b1b2e4e8b150ccbaa44bfe72bf4a4095dfeb57cca63bae992e"` [INFO] running `"docker" "rm" "-f" "98fcd1b4678d29b1b2e4e8b150ccbaa44bfe72bf4a4095dfeb57cca63bae992e"` [INFO] [stdout] 98fcd1b4678d29b1b2e4e8b150ccbaa44bfe72bf4a4095dfeb57cca63bae992e