[INFO] fetching crate swc-plugin-add-logging-dataset 0.1.2... [INFO] testing swc-plugin-add-logging-dataset-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate swc-plugin-add-logging-dataset 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking crates.io crate swc-plugin-add-logging-dataset 0.1.2 [INFO] finished tweaking crates.io crate swc-plugin-add-logging-dataset 0.1.2 [INFO] tweaked toml for crates.io crate swc-plugin-add-logging-dataset 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc-plugin-add-logging-dataset 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 268 packages to latest compatible versions [INFO] [stderr] Adding bytecheck v0.6.11 (available: v0.6.12) [INFO] [stderr] Adding rkyv v0.7.42 (available: v0.7.45) [INFO] [stderr] Adding swc_atoms v0.6.6 (available: v0.6.7) [INFO] [stderr] Adding swc_cached v0.3.20 (available: v2.0.0) [INFO] [stderr] Adding swc_common v0.33.23 (available: v0.33.26) [INFO] [stderr] Adding swc_core v0.84.1 (available: v38.0.0) [INFO] [stderr] Adding swc_ecma_ast v0.110.17 (available: v15.0.0) [INFO] [stderr] Adding swc_ecma_parser v0.141.37 (available: v23.0.0) [INFO] [stderr] Adding swc_ecma_testing v0.22.22 (available: v0.22.23) [INFO] [stderr] Adding swc_ecma_transforms_base v0.134.58 (available: v25.0.0) [INFO] [stderr] Adding swc_ecma_transforms_testing v0.137.60 (available: v28.0.0) [INFO] [stderr] Adding swc_ecma_utils v0.124.39 (available: v21.0.0) [INFO] [stderr] Adding swc_ecma_visit v0.96.17 (available: v15.0.0) [INFO] [stderr] Adding swc_error_reporters v0.17.19 (available: v0.17.20) [INFO] [stderr] Adding swc_plugin_macro v0.9.16 (available: v1.1.0) [INFO] [stderr] Adding testing v0.35.23 (available: v0.35.25) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20256d3129c1688b98d2294139af16fe2cda77eb7a0389cb76634b59917de803 [INFO] running `Command { std: "docker" "start" "-a" "20256d3129c1688b98d2294139af16fe2cda77eb7a0389cb76634b59917de803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20256d3129c1688b98d2294139af16fe2cda77eb7a0389cb76634b59917de803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20256d3129c1688b98d2294139af16fe2cda77eb7a0389cb76634b59917de803", kill_on_drop: false }` [INFO] [stdout] 20256d3129c1688b98d2294139af16fe2cda77eb7a0389cb76634b59917de803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56fc59d70adaf234060cd38147679e3d8c27543c3d526d7143dad60f99479604 [INFO] running `Command { std: "docker" "start" "-a" "56fc59d70adaf234060cd38147679e3d8c27543c3d526d7143dad60f99479604", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bytecheck v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rkyv v0.7.42 [INFO] [stderr] Compiling outref v0.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling simd-abstraction v0.7.1 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling base64-simd v0.7.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling better_scoped_tls v0.1.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling sourcemap v8.0.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling supports-color v1.3.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling hstr v0.2.17 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling sourcemap v6.4.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Compiling miette v4.7.1 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling swc_plugin_macro v0.9.16 [INFO] [stderr] Compiling swc_plugin v0.90.3 [INFO] [stderr] Compiling swc_cached v0.3.20 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling swc_core v0.84.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Compiling swc_visit_macros v0.5.13 [INFO] [stderr] Compiling swc_atoms v0.6.6 [INFO] [stderr] Compiling swc_visit v0.5.14 [INFO] [stderr] Compiling swc_common v0.33.23 [INFO] [stderr] Compiling swc_ecma_ast v0.110.17 [INFO] [stderr] Compiling swc_error_reporters v0.17.19 [INFO] [stderr] Compiling testing v0.35.23 [INFO] [stderr] Compiling swc_ecma_testing v0.22.22 [INFO] [stderr] Compiling swc_ecma_visit v0.96.17 [INFO] [stderr] Compiling swc_ecma_parser v0.141.37 [INFO] [stderr] Compiling swc_ecma_codegen v0.146.55 [INFO] [stderr] Compiling swc_plugin_proxy v0.39.17 [INFO] [stderr] Compiling swc_ecma_utils v0.124.39 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.134.58 [INFO] [stderr] Compiling swc_ecma_transforms_testing v0.137.60 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-0.137.60/src/lib.rs:874:67 [INFO] [stdout] | [INFO] [stdout] 874 | println!("SourceMap: {}", visualizer_url(&actual_src, sourcemap)); [INFO] [stdout] | -------------- ^^^^^^^^^ expected `sourcemap::SourceMap`, found `sourcemap::types::SourceMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `sourcemap` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sourcemap-8.0.1/src/types.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct SourceMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the found type `sourcemap::types::SourceMap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sourcemap-6.4.1/src/types.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct SourceMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type `sourcemap::SourceMap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-0.137.60/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use swc_common::{ [INFO] [stdout] | ---------- one version of crate `sourcemap` used here, as a dependency of crate `swc_common` [INFO] [stdout] ... [INFO] [stdout] 897 | fn visualizer_url(code: &str, map: &sourcemap::SourceMap) -> String { [INFO] [stdout] | --------- one version of crate `sourcemap` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-0.137.60/src/lib.rs:897:4 [INFO] [stdout] | [INFO] [stdout] 897 | fn visualizer_url(code: &str, map: &sourcemap::SourceMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_transforms_testing` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "56fc59d70adaf234060cd38147679e3d8c27543c3d526d7143dad60f99479604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fc59d70adaf234060cd38147679e3d8c27543c3d526d7143dad60f99479604", kill_on_drop: false }` [INFO] [stdout] 56fc59d70adaf234060cd38147679e3d8c27543c3d526d7143dad60f99479604