[INFO] fetching crate vue-compiler-core 0.1.0... [INFO] checking vue-compiler-core-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate vue-compiler-core 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate vue-compiler-core 0.1.0 [INFO] finished tweaking crates.io crate vue-compiler-core 0.1.0 [INFO] tweaked toml for crates.io crate vue-compiler-core 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vue-compiler-core 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rslint_syntax v0.1.4 [INFO] [stderr] Downloaded rslint_text_edit v0.1.0 [INFO] [stderr] Downloaded rslint_errors v0.2.0 [INFO] [stderr] Downloaded rowan v0.10.6 [INFO] [stderr] Downloaded rslint_lexer v0.2.0 [INFO] [stderr] Downloaded rslint_rowan v0.10.0 [INFO] [stderr] Downloaded rslint_parser v0.3.1 [INFO] [stderr] Downloaded lexical v5.2.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77fafc7c750dc526de741e8f2d951a69aca04a9e59b7d403a472d761a37bd36f [INFO] running `Command { std: "docker" "start" "-a" "77fafc7c750dc526de741e8f2d951a69aca04a9e59b7d403a472d761a37bd36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77fafc7c750dc526de741e8f2d951a69aca04a9e59b7d403a472d761a37bd36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77fafc7c750dc526de741e8f2d951a69aca04a9e59b7d403a472d761a37bd36f", kill_on_drop: false }` [INFO] [stdout] 77fafc7c750dc526de741e8f2d951a69aca04a9e59b7d403a472d761a37bd36f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6bc1da2fbe9b4b0cbc7cd423800389cab422fbf4a60afd2f5d5648d7cc96748 [INFO] running `Command { std: "docker" "start" "-a" "c6bc1da2fbe9b4b0cbc7cd423800389cab422fbf4a60afd2f5d5648d7cc96748", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling slice-dst v1.6.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking rslint_syntax v0.1.4 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rslint_rowan v0.10.0 [INFO] [stderr] Checking rowan v0.10.6 [INFO] [stderr] Checking rslint_text_edit v0.1.0 [INFO] [stderr] Checking rslint_errors v0.2.0 [INFO] [stderr] Checking rslint_lexer v0.2.0 [INFO] [stderr] Checking rslint_parser v0.3.1 [INFO] [stderr] Checking vue-compiler-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/converter/v_for.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | fn to_str(e: Js) -> &str { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | fn to_str(e: Js<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/converter/mod.rs:610:28 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn base_convert(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 610 | pub fn base_convert(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:920:26 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn base_parse(s: &str) -> AstRoot { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 920 | pub fn base_parse(s: &str) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:930:28 [INFO] [stdout] | [INFO] [stdout] 930 | pub fn mock_element(s: &str) -> Element { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 930 | pub fn mock_element(s: &str) -> Element<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:837:25 [INFO] [stdout] | [INFO] [stdout] 837 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource { [INFO] [stdout] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 837 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:843:25 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn base_scan(s: &str) -> impl TokenSource { [INFO] [stdout] | ^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 843 | pub fn base_scan(s: &str) -> impl TokenSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformer/collect_entities.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn transform(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transformer/process_expression.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | fn transform(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 366 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `compiler` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use compiler::error::ErrorHandler; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `compiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `compiler`, use `cargo add compiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `insta::_macro_support::serialize_value`, `insta::_macro_support::SerializationFormat`, `insta::_macro_support::SnapshotLocation` [INFO] [stdout] --> tests/common/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use insta::_macro_support::{serialize_value, SerializationFormat, SnapshotLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `SnapshotLocation` in `_macro_support` [INFO] [stdout] | | | [INFO] [stdout] | | no `SerializationFormat` in `_macro_support` [INFO] [stdout] | no `serialize_value` in `_macro_support` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | pub use crate::serialization::{serialize_value, SerializationFormat, SnapshotLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `serde` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:357:53 [INFO] [stdout] | [INFO] [stdout] 357 | pub use crate::serialization::{serialize_value, SerializationFormat, SnapshotLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `serde` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:357:74 [INFO] [stdout] | [INFO] [stdout] 357 | pub use crate::serialization::{serialize_value, SerializationFormat, SnapshotLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `serde` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/lib.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `compiler` [INFO] [stdout] --> tests/common/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use compiler::{Position, SourceLocation}; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `vue_compiler_core::compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `compiler` [INFO] [stdout] --> tests/converter_test/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use compiler::converter::{self as C, BaseConverter, ConvertOption, Converter}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `compiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `compiler`, use `cargo add compiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `compiler` [INFO] [stdout] --> tests/converter_test/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use compiler::converter::{self as C, BaseConverter, ConvertOption, Converter}; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `vue_compiler_core::compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `compiler` [INFO] [stdout] --> tests/parser_test/dir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use compiler::parser; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `vue_compiler_core::compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `compiler` [INFO] [stdout] --> tests/parser_test/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use compiler::parser::{self as p, ParseOption, Parser}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `compiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `compiler`, use `cargo add compiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `compiler` [INFO] [stdout] --> tests/parser_test/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use compiler::scanner::TextMode; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `compiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `compiler`, use `cargo add compiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `compiler` [INFO] [stdout] --> tests/scanner_test/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use compiler::scanner::{ScanOption, Scanner, TextMode, TokenSource}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `compiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `compiler`, use `cargo add compiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `compiler` [INFO] [stdout] --> tests/parser_test/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use compiler::parser::{self as p, ParseOption, Parser}; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `vue_compiler_core::compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vue-compiler-core` (test "integration_test") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c6bc1da2fbe9b4b0cbc7cd423800389cab422fbf4a60afd2f5d5648d7cc96748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6bc1da2fbe9b4b0cbc7cd423800389cab422fbf4a60afd2f5d5648d7cc96748", kill_on_drop: false }` [INFO] [stdout] c6bc1da2fbe9b4b0cbc7cd423800389cab422fbf4a60afd2f5d5648d7cc96748