[INFO] fetching crate swc_feature_flags 3.0.0... [INFO] testing swc_feature_flags-3.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate swc_feature_flags 3.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate swc_feature_flags 3.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swc_feature_flags 3.0.0 [INFO] tweaked toml for crates.io crate swc_feature_flags 3.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_feature_flags 3.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_feature_flags 3.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded winapi-util v0.1.8 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded unicode-id-start v1.2.0 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded swc_ecma_codegen v26.0.0 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded par-core v2.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_testing v45.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v41.0.1 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded regex-automata v0.4.6 [INFO] [stderr] Downloaded swc_ecma_parser v38.0.0 [INFO] [stderr] Downloaded phf_macros v0.11.2 [INFO] [stderr] Downloaded swc_ecma_ast v23.0.0 [INFO] [stderr] Downloaded regex-syntax v0.8.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded swc_ecma_utils v29.1.0 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded swc_allocator v4.0.1 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded triomphe v0.1.13 [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded swc_ecma_testing v22.0.0 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded dragonbox_ecma v0.1.0 [INFO] [stderr] Downloaded is-macro v0.3.5 [INFO] [stderr] Downloaded swc_sourcemap v10.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded swc_ecma_visit v23.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb5b7b3894953a8dafb6ec981b6aa764ac2e26ce8ef2e10be70d9df5892c6d5b [INFO] running `Command { std: "docker" "start" "-a" "bb5b7b3894953a8dafb6ec981b6aa764ac2e26ce8ef2e10be70d9df5892c6d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb5b7b3894953a8dafb6ec981b6aa764ac2e26ce8ef2e10be70d9df5892c6d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5b7b3894953a8dafb6ec981b6aa764ac2e26ce8ef2e10be70d9df5892c6d5b", kill_on_drop: false }` [INFO] [stdout] bb5b7b3894953a8dafb6ec981b6aa764ac2e26ce8ef2e10be70d9df5892c6d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af5cdd022f5ebb2ba80904b39664ec463424fd64a0f10c7cc270478ef62c9990 [INFO] running `Command { std: "docker" "start" "-a" "af5cdd022f5ebb2ba80904b39664ec463424fd64a0f10c7cc270478ef62c9990", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling dragonbox_ecma v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling swc_allocator v4.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling ast_node v5.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling hstr v3.0.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling swc_atoms v9.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v21.0.0 [INFO] [stderr] Compiling swc_ecma_ast v23.0.0 [INFO] [stderr] Compiling swc_ecma_visit v23.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v26.0.0 [INFO] [stderr] Compiling swc_feature_flags v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 107 | Lit::Str(s) => s.value.len() + 2, // string + quotes [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 108 | Lit::Bool(_) => 5, // 'true' or 'false' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 109 | Lit::Null(_) => 4, // 'null' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 110 | Lit::Num(_) => 10, // approximate [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 161 | Callee::Expr(expr) => estimate_expr_size(expr), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 162 | Callee::Super(_) => 5, // 'super' [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 163 | Callee::Import(_) => 6, // 'import' [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.22s [INFO] running `Command { std: "docker" "inspect" "af5cdd022f5ebb2ba80904b39664ec463424fd64a0f10c7cc270478ef62c9990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5cdd022f5ebb2ba80904b39664ec463424fd64a0f10c7cc270478ef62c9990", kill_on_drop: false }` [INFO] [stdout] af5cdd022f5ebb2ba80904b39664ec463424fd64a0f10c7cc270478ef62c9990 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8462adf63178b0367c8628e3d286c867c89d07806df6d683c9e6b6831f07236f [INFO] running `Command { std: "docker" "start" "-a" "8462adf63178b0367c8628e3d286c867c89d07806df6d683c9e6b6831f07236f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling par-core v2.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling hstr v3.0.4 [INFO] [stderr] Compiling swc_sourcemap v10.0.2 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling swc_atoms v9.0.0 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling swc_common v21.0.0 [INFO] [stderr] Compiling swc_ecma_ast v23.0.0 [INFO] [stderr] Compiling swc_error_reporters v23.0.0 [INFO] [stderr] Compiling testing v22.0.0 [INFO] [stderr] Compiling swc_ecma_testing v22.0.0 [INFO] [stderr] Compiling swc_ecma_visit v23.0.0 [INFO] [stderr] Compiling swc_ecma_parser v38.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v26.0.0 [INFO] [stderr] Compiling swc_ecma_utils v29.1.0 [INFO] [stderr] Compiling swc_feature_flags v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 107 | Lit::Str(s) => s.value.len() + 2, // string + quotes [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 108 | Lit::Bool(_) => 5, // 'true' or 'false' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 109 | Lit::Null(_) => 4, // 'null' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 110 | Lit::Num(_) => 10, // approximate [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 161 | Callee::Expr(expr) => estimate_expr_size(expr), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 162 | Callee::Super(_) => 5, // 'super' [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 163 | Callee::Import(_) => 6, // 'import' [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swc_ecma_transforms_base v41.0.1 [INFO] [stderr] Compiling swc_ecma_transforms_testing v45.0.0 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 107 | Lit::Str(s) => s.value.len() + 2, // string + quotes [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 108 | Lit::Bool(_) => 5, // 'true' or 'false' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 109 | Lit::Null(_) => 4, // 'null' [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 110 | Lit::Num(_) => 10, // approximate [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | _ => 15, // approximate for other literal types [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/stats.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 161 | Callee::Expr(expr) => estimate_expr_size(expr), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 162 | Callee::Super(_) => 5, // 'super' [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 163 | Callee::Import(_) => 6, // 'import' [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 164 | _ => 10, // approximate for other callee types [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.71s [INFO] running `Command { std: "docker" "inspect" "8462adf63178b0367c8628e3d286c867c89d07806df6d683c9e6b6831f07236f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8462adf63178b0367c8628e3d286c867c89d07806df6d683c9e6b6831f07236f", kill_on_drop: false }` [INFO] [stdout] 8462adf63178b0367c8628e3d286c867c89d07806df6d683c9e6b6831f07236f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6199bbd6fd6bddf4ef42b4155002600da735776e82f695827da00ad1af361703 [INFO] running `Command { std: "docker" "start" "-a" "6199bbd6fd6bddf4ef42b4155002600da735776e82f695827da00ad1af361703", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/stats.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | _ => 15, // approximate for other literal types [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/stats.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 107 | Lit::Str(s) => s.value.len() + 2, // string + quotes [INFO] [stderr] | ----------- matches some of the same values [INFO] [stderr] 108 | Lit::Bool(_) => 5, // 'true' or 'false' [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] 109 | Lit::Null(_) => 4, // 'null' [INFO] [stderr] | ------------ matches some of the same values [INFO] [stderr] 110 | Lit::Num(_) => 10, // approximate [INFO] [stderr] | ----------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 114 | _ => 15, // approximate for other literal types [INFO] [stderr] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/stats.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | _ => 10, // approximate for other callee types [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/stats.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 161 | Callee::Expr(expr) => estimate_expr_size(expr), [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 162 | Callee::Super(_) => 5, // 'super' [INFO] [stderr] | ---------------- matches some of the same values [INFO] [stderr] 163 | Callee::Import(_) => 6, // 'import' [INFO] [stderr] | ----------------- matches some of the same values [INFO] [stderr] 164 | _ => 10, // approximate for other callee types [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: `swc_feature_flags` (lib) generated 2 warnings [INFO] [stderr] warning: `swc_feature_flags` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_feature_flags-2bfbe20e14fb85f2) [INFO] [stdout] [INFO] [stderr] Running tests/fixture.rs (/opt/rustwide/target/debug/deps/fixture-0f0c71b307e4c914) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__mixed_patterns__input_js ... ok [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__nested_scope__input_js ... ok [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__property_access__input_js ... ok [INFO] [stderr] Doc-tests swc_feature_flags [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__basic__input_js ... ok [INFO] [stdout] test runtime_fixture_tests__fixture__runtime__ternary__input_js ... ok [INFO] [stdout] test runtime_fixture_tests__fixture__runtime__logical__input_js ... ok [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__scope_safety_object__input_js ... ok [INFO] [stdout] test build_time_fixture_tests__fixture__build_time__indirect_destructuring__input_js ... ok [INFO] [stdout] test runtime_fixture_tests__fixture__runtime__if_statement__input_js ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 9) ... ignored [INFO] [stdout] test src/lib.rs - build_time_pass (line 72) ... ignored [INFO] [stdout] test src/lib.rs - feature_flags_pass (line 132) ... ignored [INFO] [stdout] test src/lib.rs - runtime_pass (line 98) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6199bbd6fd6bddf4ef42b4155002600da735776e82f695827da00ad1af361703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6199bbd6fd6bddf4ef42b4155002600da735776e82f695827da00ad1af361703", kill_on_drop: false }` [INFO] [stdout] 6199bbd6fd6bddf4ef42b4155002600da735776e82f695827da00ad1af361703