[INFO] cloning repository https://github.com/LunNova/x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LunNova/x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunNova%2Fx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunNova%2Fx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee892daf2ca64011d126460a6a93a33f8267387d [INFO] testing LunNova/x against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunNova%2Fx" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/LunNova/x [INFO] finished tweaking git repo https://github.com/LunNova/x [INFO] tweaked toml for git repo https://github.com/LunNova/x written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LunNova/x on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LunNova/x 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v2.0.14 [INFO] [stderr] Downloaded thiserror v2.0.14 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0 [INFO] [stderr] Downloaded indices v0.3.6 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded spez v0.1.2 [INFO] [stderr] Downloaded match_token v0.35.0 [INFO] [stderr] Downloaded linkme v0.3.33 [INFO] [stderr] Downloaded error_set_impl v0.8.5 [INFO] [stderr] Downloaded gray_matter v0.3.2 [INFO] [stderr] Downloaded markup5ever v0.35.0 [INFO] [stderr] Downloaded autometrics-macros v2.0.0 [INFO] [stderr] Downloaded error_set v0.8.5 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded html5ever v0.35.0 [INFO] [stderr] Downloaded opentelemetry v0.30.0 [INFO] [stderr] Downloaded opentelemetry_sdk v0.30.0 [INFO] [stderr] Downloaded pulldown-cmark v0.13.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.30.0 [INFO] [stderr] Downloaded quick-xml v0.38.1 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded tracing-opentelemetry v0.31.0 [INFO] [stderr] Downloaded opentelemetry v0.24.0 [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded ssh2 v0.9.5 [INFO] [stderr] Downloaded autometrics v2.0.0 [INFO] [stderr] Downloaded fastcdc v3.2.1 [INFO] [stderr] Downloaded web_atoms v0.1.3 [INFO] [stderr] Downloaded opentelemetry-otlp v0.30.0 [INFO] [stderr] Downloaded linkme-impl v0.3.33 [INFO] [stderr] Downloaded opentelemetry-http v0.30.0 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fee2ebcd1185ae8da774ead16277aee14808b4f0cfddcb9abfee21960bb7b7cd [INFO] running `Command { std: "docker" "start" "-a" "fee2ebcd1185ae8da774ead16277aee14808b4f0cfddcb9abfee21960bb7b7cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee2ebcd1185ae8da774ead16277aee14808b4f0cfddcb9abfee21960bb7b7cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee2ebcd1185ae8da774ead16277aee14808b4f0cfddcb9abfee21960bb7b7cd", kill_on_drop: false }` [INFO] [stdout] fee2ebcd1185ae8da774ead16277aee14808b4f0cfddcb9abfee21960bb7b7cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d0a73f9b1600b73796a481cf1a51cf9728569ffcdf1ec091e647166b01915c [INFO] running `Command { std: "docker" "start" "-a" "69d0a73f9b1600b73796a481cf1a51cf9728569ffcdf1ec091e647166b01915c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling linkme-impl v0.3.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling argh_shared v0.1.13 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling autometrics v2.0.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quick-xml v0.38.1 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rust-fuzzy-search v0.1.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling fastcdc v3.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling argh_derive v0.1.13 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling opentelemetry v0.24.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling opentelemetry v0.30.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling spez v0.1.2 [INFO] [stderr] Compiling match_token v0.35.0 [INFO] [stderr] Compiling autometrics-macros v2.0.0 [INFO] [stderr] Compiling pattern-wishcast-macros v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast/pattern-wishcast-macros) [INFO] [stderr] Compiling linkme v0.3.33 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pattern-wishcast v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast) [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling gray_matter v0.3.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling argh v0.1.13 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling cargo-derive-doc v0.0.1-pre.1 (/opt/rustwide/workdir/cargo-derive-doc) [INFO] [stderr] Compiling opentelemetry_sdk v0.30.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling remarkable v0.1.0 (/opt/rustwide/workdir/remarkable) [INFO] [stderr] Compiling markup5ever v0.35.0 [INFO] [stderr] Compiling html5ever v0.35.0 [INFO] [stderr] Compiling opentelemetry-proto v0.30.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.31.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling opentelemetry-http v0.30.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.30.0 [INFO] [stderr] Compiling site v0.1.0 (/opt/rustwide/workdir/site) [INFO] [stdout] warning: field `templates` is never read [INFO] [stdout] --> site/src/main.rs:430:2 [INFO] [stdout] | [INFO] [stdout] 427 | struct RequestContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 430 | templates: Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_page_extension` is never used [INFO] [stdout] --> site/src/pages.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_page_extension(path: &Path) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `links` is never read [INFO] [stdout] --> site/src/pages.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct PageData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub links: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_string_field` and `iter_string_array` are never used [INFO] [stdout] --> site/src/pages.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 90 | impl PageMetadata { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_string_field(&self, path: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn iter_string_array(&self, path: &str) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.93s [INFO] running `Command { std: "docker" "inspect" "69d0a73f9b1600b73796a481cf1a51cf9728569ffcdf1ec091e647166b01915c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d0a73f9b1600b73796a481cf1a51cf9728569ffcdf1ec091e647166b01915c", kill_on_drop: false }` [INFO] [stdout] 69d0a73f9b1600b73796a481cf1a51cf9728569ffcdf1ec091e647166b01915c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 266c26dd8f2cd402da2d9569a14938a4b1ce1aed264a978b6492da9d0486ede8 [INFO] running `Command { std: "docker" "start" "-a" "266c26dd8f2cd402da2d9569a14938a4b1ce1aed264a978b6492da9d0486ede8", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling pattern-wishcast-macros v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast/pattern-wishcast-macros) [INFO] [stderr] Compiling indices v0.3.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling error_set_impl v0.8.5 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling remarkable v0.1.0 (/opt/rustwide/workdir/remarkable) [INFO] [stderr] Compiling pattern-wishcast v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast) [INFO] [stderr] Compiling error_set v0.8.5 [INFO] [stderr] Compiling cargo-derive-doc v0.0.1-pre.1 (/opt/rustwide/workdir/cargo-derive-doc) [INFO] [stderr] Compiling opentelemetry-http v0.30.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.30.0 [INFO] [stderr] Compiling site v0.1.0 (/opt/rustwide/workdir/site) [INFO] [stdout] warning: field `templates` is never read [INFO] [stdout] --> site/src/main.rs:430:2 [INFO] [stdout] | [INFO] [stdout] 427 | struct RequestContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 430 | templates: Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_page_extension` is never used [INFO] [stdout] --> site/src/pages.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_page_extension(path: &Path) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `links` is never read [INFO] [stdout] --> site/src/pages.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct PageData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub links: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_string_field` and `iter_string_array` are never used [INFO] [stdout] --> site/src/pages.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 90 | impl PageMetadata { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_string_field(&self, path: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn iter_string_array(&self, path: &str) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "266c26dd8f2cd402da2d9569a14938a4b1ce1aed264a978b6492da9d0486ede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266c26dd8f2cd402da2d9569a14938a4b1ce1aed264a978b6492da9d0486ede8", kill_on_drop: false }` [INFO] [stdout] 266c26dd8f2cd402da2d9569a14938a4b1ce1aed264a978b6492da9d0486ede8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0729cc9e855090da25d958942bdb47f710228c95f3aeebfb98ece1ea3f946ed [INFO] running `Command { std: "docker" "start" "-a" "c0729cc9e855090da25d958942bdb47f710228c95f3aeebfb98ece1ea3f946ed", kill_on_drop: false }` [INFO] [stderr] warning: field `templates` is never read [INFO] [stderr] --> site/src/main.rs:430:2 [INFO] [stderr] | [INFO] [stderr] 427 | struct RequestContext { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 430 | templates: Arc>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_page_extension` is never used [INFO] [stderr] --> site/src/pages.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn get_page_extension(path: &Path) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `links` is never read [INFO] [stderr] --> site/src/pages.rs:76:6 [INFO] [stderr] | [INFO] [stderr] 72 | pub struct PageData { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 76 | pub links: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `get_string_field` and `iter_string_array` are never used [INFO] [stderr] --> site/src/pages.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 90 | impl PageMetadata { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn get_string_field(&self, path: &str) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn iter_string_array(&self, path: &str) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `site` (bin "site" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_derive_doc-2ca0eb0832bbb108) [INFO] [stdout] [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pattern_wishcast-fe1785be9a7ffa5d) [INFO] [stdout] [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] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-eebdfdc8b33271d7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_composition ... ok [INFO] [stdout] test tests::test_inline_variants ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compile_tests.rs (/opt/rustwide/target/debug/deps/compile_tests-bfc0ba719bc096e6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling pattern-wishcast-macros v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast/pattern-wishcast-macros) [INFO] [stderr] Checking pattern-wishcast v0.0.1-pre.3 (/opt/rustwide/workdir/pattern-wishcast) [INFO] [stderr] Checking pattern-wishcast-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/pattern-wishcast) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/guard_patterns_unsupported.rs ... ok [INFO] [stderr] test tests/ui/nested_patterns_unsupported.rs ... ok [INFO] [stderr] test tests/ui/no_conditional_variants.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: No conditional variants found for enum `Value`. All variants are included in all pattern types, making them identical. Either: 1) Add variants that are excluded from some pattern types, 2) Use a single type alias instead of multiple identical ones, or 3) Remove `is ` if you don't need strictness patterns. [INFO] [stderr] --> tests/ui/no_conditional_variants.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 19 | | impl StrictValue : FlexValue; [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: No conditional variants found for enum `Value`. All variants are included in all pattern types, making them identical. Either: 1) Add variants that are excluded from some pattern types, 2) Use a single type alias instead of multiple identical ones, or 3) Remove `is ` if you don't need strictness patterns. [INFO] [stderr] --> tests/ui/no_conditional_variants.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 19 | | impl StrictValue : FlexValue; [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/pattern_support_no_types.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Enum `Value` declares pattern support with `is ` but no pattern types are defined. Either: 1) Add pattern type declarations like `type FlexValue = Value is _;`, or 2) Remove the `is ` declaration if you don't need pattern-based strictness. [INFO] [stderr] --> tests/ui/pattern_support_no_types.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Enum `Value` declares pattern support with `is ` but no pattern types are defined. Either: 1) Add pattern type declarations like `type FlexValue = Value is _;`, or 2) Remove the `is ` declaration if you don't need pattern-based strictness. [INFO] [stderr] --> tests/ui/pattern_support_no_types.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/pattern_type_without_support.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Cannot create pattern type for enum `"Value"`. You must declare the enum with pattern support: `enum "Value" is { ... }` [INFO] [stderr] --> tests/ui/pattern_type_without_support.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | // This enum doesn't declare pattern support [INFO] [stderr] 11 | | enum Value = { [INFO] [stderr] 12 | | HostValue { value: String }, [INFO] [stderr] ... | [INFO] [stderr] 17 | | type StrictValue = Value is HostValue(_); [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Cannot create pattern type for enum `"Value"`. You must declare the enum with pattern support: `enum "Value" is { ... }` [INFO] [stderr] --> tests/ui/pattern_type_without_support.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | // This enum doesn't declare pattern support [INFO] [stderr] 11 | | enum Value = { [INFO] [stderr] 12 | | HostValue { value: String }, [INFO] [stderr] ... | [INFO] [stderr] 17 | | type StrictValue = Value is HostValue(_); [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/range_patterns_unsupported.rs ... ok [INFO] [stderr] test tests/ui/single_pattern_type_no_conditional.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Enum `Value` has only one pattern type `MyValue`. Since there are no conditional variants, you don't need pattern support. Remove `is ` from the enum declaration and use a simple type alias instead: `type MyValue = Value;` [INFO] [stderr] --> tests/ui/single_pattern_type_no_conditional.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 16 | | type MyValue = Value is HostValue(_) | TupleValue(_); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Enum `Value` has only one pattern type `MyValue`. Since there are no conditional variants, you don't need pattern support. Remove `is ` from the enum declaration and use a simple type alias instead: `type MyValue = Value;` [INFO] [stderr] --> tests/ui/single_pattern_type_no_conditional.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pattern_wishcast! { [INFO] [stderr] 10 | | enum Value is = { [INFO] [stderr] 11 | | HostValue { value: String }, [INFO] [stderr] 12 | | TupleValue { elements: Vec }, [INFO] [stderr] ... | [INFO] [stderr] 16 | | type MyValue = Value is HostValue(_) | TupleValue(_); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pattern_wishcast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/union_inside_brackets.rs ... ok [INFO] [stderr] test tests/ui/unsupported_generic_field.rs ... ok [INFO] [stderr] test tests/ui/upcast_mut_unsound.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: no method named `to_partial_mut` found for enum `Value` in the current scope [INFO] [stderr] --> tests/ui/upcast_mut_unsound.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 7 | / pattern_wishcast! { [INFO] [stderr] 8 | | // Define a base value enum that can be None or Some [INFO] [stderr] 9 | | enum Value is = { [INFO] [stderr] 10 | | None, [INFO] [stderr] ... | [INFO] [stderr] 22 | | impl CompleteValue : PartialValue; [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `to_partial_mut` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 37 | let partial_mut: &mut PartialValue = complete.to_partial_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `to_partial` with a similar name [INFO] [stderr] | [INFO] [stderr] 37 - let partial_mut: &mut PartialValue = complete.to_partial_mut(); [INFO] [stderr] 37 + let partial_mut: &mut PartialValue = complete.to_partial(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> tests/ui/upcast_mut_unsound.rs:55:2 [INFO] [stderr] | [INFO] [stderr] 47 | / match complete { [INFO] [stderr] 48 | | CompleteValue::Some(n) => { [INFO] [stderr] 49 | | println!("Value: {}", n); [INFO] [stderr] 50 | | return; [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 54 | [INFO] [stderr] 55 | unreachable!("Should not be possible to reach this"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: no method named `to_partial_mut` found for enum `Value

` in the current scope [INFO] [stderr] --> tests/ui/upcast_mut_unsound.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 7 | / pattern_wishcast! { [INFO] [stderr] 8 | | // Define a base value enum that can be None or Some [INFO] [stderr] 9 | | enum Value is = { [INFO] [stderr] 10 | | None, [INFO] [stderr] ... | [INFO] [stderr] 22 | | impl CompleteValue : PartialValue; [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `to_partial_mut` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 37 | let partial_mut: &mut PartialValue = complete.to_partial_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `to_partial` with a similar name [INFO] [stderr] | [INFO] [stderr] 37 - let partial_mut: &mut PartialValue = complete.to_partial_mut(); [INFO] [stderr] 37 + let partial_mut: &mut PartialValue = complete.to_partial(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> tests/ui/upcast_mut_unsound.rs:55:2 [INFO] [stderr] | [INFO] [stderr] 47 | / match complete { [INFO] [stderr] 48 | | CompleteValue::Some(n) => { [INFO] [stderr] 49 | | println!("Value: {}", n); [INFO] [stderr] 50 | | return; [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 54 | [INFO] [stderr] 55 | unreachable!("Should not be possible to reach this"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui' (30) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 5 of 10 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61a5f3ea7962 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61a5f3ea7962 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61a5f3ea7962 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61a5f3ea7962 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61a5f3eb955f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61a5f3eb955f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61a5f3e71d41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61a5f3e71d41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61a5f3e7f1f2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61a5f3e8485f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61a5f3e846f1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61a5f3e412be - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x61a5f3e412be - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61a5f3e84f1f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x61a5f3e84f1f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61a5f3e84d7a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61a5f3e7f339 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61a5f3e64e7d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61a5f3ec28a0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x61a5f3be72e3 - trybuild::run::::run::h190e95b9cebcdaf3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x61a5f3be19e8 - ::drop::h0d14fe3d8451a910 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x61a5f3bd9cc7 - core::ptr::drop_in_place::h7cba89e7d6861ea6 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x61a5f3bd9af3 - compile_tests::ui::hb1a8cbb106fdbb4a [INFO] [stdout] at /opt/rustwide/workdir/pattern-wishcast/tests/compile_tests.rs:10:1 [INFO] [stdout] 23: 0x61a5f3bd9b27 - compile_tests::ui::{{closure}}::h55511d21e895f1fe [INFO] [stdout] at /opt/rustwide/workdir/pattern-wishcast/tests/compile_tests.rs:7:8 [INFO] [stdout] 24: 0x61a5f3bd9c26 - core::ops::function::FnOnce::call_once::h5ef9b5c2f86aab7d [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x61a5f3e4107b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x61a5f3e4107b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61a5f3e56b65 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61a5f3e56b65 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61a5f3e56b65 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61a5f3e56b65 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61a5f3e56b65 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61a5f3e56b65 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61a5f3e56b65 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61a5f3e2d4d4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61a5f3e2d4d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61a5f3e30e7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61a5f3e30e7a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61a5f3e30e7a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61a5f3e30e7a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61a5f3e30e7a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61a5f3e30e7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61a5f3e30e7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x61a5f3e78b9f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x61a5f3e78b9f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x70566990faa4 - [INFO] [stdout] 46: 0x70566999ca34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.37s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p pattern-wishcast --test compile_tests` [INFO] running `Command { std: "docker" "inspect" "c0729cc9e855090da25d958942bdb47f710228c95f3aeebfb98ece1ea3f946ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0729cc9e855090da25d958942bdb47f710228c95f3aeebfb98ece1ea3f946ed", kill_on_drop: false }` [INFO] [stdout] c0729cc9e855090da25d958942bdb47f710228c95f3aeebfb98ece1ea3f946ed