[INFO] fetching crate swc_ecma_transforms_optimization 0.30.0... [INFO] testing swc_ecma_transforms_optimization-0.30.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate swc_ecma_transforms_optimization 0.30.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate swc_ecma_transforms_optimization 0.30.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_ecma_transforms_optimization 0.30.0 [INFO] finished tweaking crates.io crate swc_ecma_transforms_optimization 0.30.0 [INFO] tweaked toml for crates.io crate swc_ecma_transforms_optimization 0.30.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 498731c336ec484493a47211ee362a56797825e839b62f621877670ee08b7732 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "498731c336ec484493a47211ee362a56797825e839b62f621877670ee08b7732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "498731c336ec484493a47211ee362a56797825e839b62f621877670ee08b7732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498731c336ec484493a47211ee362a56797825e839b62f621877670ee08b7732", kill_on_drop: false }` [INFO] [stdout] 498731c336ec484493a47211ee362a56797825e839b62f621877670ee08b7732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7112caf1cdab0509d045231d2fc1a6f77fa4e6efef7634da2362af0449259cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7112caf1cdab0509d045231d2fc1a6f77fa4e6efef7634da2362af0449259cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling retain_mut v0.1.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling swc_common v0.11.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling swc_atoms v0.2.6 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling swc_ecma_ast v0.49.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling swc_ecma_visit v0.35.0 [INFO] [stderr] Compiling swc_ecma_utils v0.40.1 [INFO] [stderr] Compiling swc_ecma_parser v0.64.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.23.1 [INFO] [stderr] Compiling swc_ecma_transforms_optimization v0.30.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "a7112caf1cdab0509d045231d2fc1a6f77fa4e6efef7634da2362af0449259cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7112caf1cdab0509d045231d2fc1a6f77fa4e6efef7634da2362af0449259cc", kill_on_drop: false }` [INFO] [stdout] a7112caf1cdab0509d045231d2fc1a6f77fa4e6efef7634da2362af0449259cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a5e73ea16bfd9648b565dc150a7e817addaaaf6acc4c97f792256ed8620023f [INFO] running `Command { std: "docker" "start" "-a" "2a5e73ea16bfd9648b565dc150a7e817addaaaf6acc4c97f792256ed8620023f", kill_on_drop: false }` [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling relative-path v1.5.0 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.5.2 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling swc_ecma_transforms_classes v0.9.0 [INFO] [stderr] Compiling swc_ecma_transforms_typescript v0.29.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling swc_ecma_transforms_proposal v0.27.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling swc_ecma_loader v0.11.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling swc_ecma_transforms_module v0.27.0 [INFO] [stderr] Compiling testing_macros v0.1.2 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stdout] error[E0432]: unresolved import `proc_macro2::SourceFile` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testing_macros-0.1.2/src/fixture.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{SourceFile, Span}; [INFO] [stdout] | ^^^^^^^^^^ no `SourceFile` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stdout] error[E0599]: no method named `source_file` found for struct `proc_macro2::Span` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testing_macros-0.1.2/src/lib.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let file = Span::call_site().source_file(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `proc_macro2::Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swc_ecma_transforms_react v0.28.0 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing_macros` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2a5e73ea16bfd9648b565dc150a7e817addaaaf6acc4c97f792256ed8620023f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5e73ea16bfd9648b565dc150a7e817addaaaf6acc4c97f792256ed8620023f", kill_on_drop: false }` [INFO] [stdout] 2a5e73ea16bfd9648b565dc150a7e817addaaaf6acc4c97f792256ed8620023f