[INFO] fetching crate venial 0.5.0... [INFO] checking venial-0.5.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate venial 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate venial 0.5.0 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 venial 0.5.0 [INFO] finished tweaking crates.io crate venial 0.5.0 [INFO] tweaked toml for crates.io crate venial 0.5.0 written to /workspace/builds/worker-7-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 similar-asserts v1.5.0 [INFO] [stderr] Downloaded similar v2.5.0 [INFO] [stderr] Downloaded insta v1.38.0 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded console v0.15.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 19747a91e32a3a4e43fb7c39fcc47ca91a9a5476c96e9eb5bc49f71c9519d748 [INFO] running `Command { std: "docker" "start" "-a" "19747a91e32a3a4e43fb7c39fcc47ca91a9a5476c96e9eb5bc49f71c9519d748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19747a91e32a3a4e43fb7c39fcc47ca91a9a5476c96e9eb5bc49f71c9519d748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19747a91e32a3a4e43fb7c39fcc47ca91a9a5476c96e9eb5bc49f71c9519d748", kill_on_drop: false }` [INFO] [stdout] 19747a91e32a3a4e43fb7c39fcc47ca91a9a5476c96e9eb5bc49f71c9519d748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0f256b1fb23d503964ed992a15c75a211a063493ef92fcf5c4ddc20bc4d9e2d0 [INFO] running `Command { std: "docker" "start" "-a" "0f256b1fb23d503964ed992a15c75a211a063493ef92fcf5c4ddc20bc4d9e2d0", kill_on_drop: false }` [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking venial v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EnumVariantValue`, `NamedField`, `VisMarker` [INFO] [stdout] --> src/types_edition.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, AttributeValue, Declaration, Enum, EnumVariant, EnumVariantValue, Function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | GenericBound, GenericParam, GenericParamList, GroupSpan, InlineGenericArgs, NamedField, Struct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | StructFields, TupleField, TyExpr, Union, VisMarker, WhereClause, WhereClauseItem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking insta v1.38.0 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `similar_asserts::assert_str_eq`: use assert_eq! instead [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | similar_asserts::assert_str_eq!(quote!(#declaration), initial_tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `similar_asserts::assert_str_eq`: use assert_eq! instead [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | similar_asserts::assert_str_eq!(quote!(#generic_args), initial_tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 946 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | assert_quote_snapshot!(type_with_args); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | assert_quote_snapshot!(type_with_lifetime); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 965 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 986 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 987 | assert_quote_snapshot!(type_with_args); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1004 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1032 | assert_quote_snapshot!(type_with_args); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1058 | assert_quote_snapshot!(basic_type); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `::insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ::insta::assert_display_snapshot!(tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1059 | assert_quote_snapshot!(type_with_args); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `assert_quote_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `similar_asserts::assert_str_eq`: use assert_eq! instead [INFO] [stdout] --> src/tests.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | similar_asserts::assert_str_eq!(quote!(#ty_expr), tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `similar_asserts::assert_str_eq`: use assert_eq! instead [INFO] [stdout] --> src/tests.rs:1228:5 [INFO] [stdout] | [INFO] [stdout] 1228 | similar_asserts::assert_str_eq!(quote!(#ty_expr), tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumVariantValue`, `NamedField`, `VisMarker` [INFO] [stdout] --> src/types_edition.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | Attribute, AttributeValue, Declaration, Enum, EnumVariant, EnumVariantValue, Function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | GenericBound, GenericParam, GenericParamList, GroupSpan, InlineGenericArgs, NamedField, Struct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | StructFields, TupleField, TyExpr, Union, VisMarker, WhereClause, WhereClauseItem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TokenStream` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | similar_asserts::assert_str_eq!(quote!(#declaration), initial_tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TokenStream [INFO] [stdout] | TokenStream [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__assert_eq` which comes from the expansion of the macro `similar_asserts::assert_str_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TokenStream` [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | similar_asserts::assert_str_eq!(quote!(#generic_args), initial_tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TokenStream [INFO] [stdout] | TokenStream [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__assert_eq` which comes from the expansion of the macro `similar_asserts::assert_str_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TokenStream` [INFO] [stdout] --> src/tests.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | similar_asserts::assert_str_eq!(quote!(#ty_expr), tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TokenStream [INFO] [stdout] | TokenStream [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__assert_eq` which comes from the expansion of the macro `similar_asserts::assert_str_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TokenStream` [INFO] [stdout] --> src/tests.rs:1228:5 [INFO] [stdout] | [INFO] [stdout] 1228 | similar_asserts::assert_str_eq!(quote!(#ty_expr), tokens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TokenStream [INFO] [stdout] | TokenStream [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__assert_eq` which comes from the expansion of the macro `similar_asserts::assert_str_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `venial` (lib test) due to 5 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f256b1fb23d503964ed992a15c75a211a063493ef92fcf5c4ddc20bc4d9e2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f256b1fb23d503964ed992a15c75a211a063493ef92fcf5c4ddc20bc4d9e2d0", kill_on_drop: false }` [INFO] [stdout] 0f256b1fb23d503964ed992a15c75a211a063493ef92fcf5c4ddc20bc4d9e2d0