[INFO] fetching crate tauri-specta 2.0.0-rc.21... [INFO] testing tauri-specta-2.0.0-rc.21 against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] extracting crate tauri-specta 2.0.0-rc.21 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tauri-specta 2.0.0-rc.21 [INFO] finished tweaking crates.io crate tauri-specta 2.0.0-rc.21 [INFO] tweaked toml for crates.io crate tauri-specta 2.0.0-rc.21 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tauri-specta 2.0.0-rc.21 on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tauri-specta 2.0.0-rc.21 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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 thiserror-impl v2.0.10 [INFO] [stderr] Downloaded windows-version v0.1.2 [INFO] [stderr] Downloaded tauri-specta-macros v2.0.0-rc.16 [INFO] [stderr] Downloaded thiserror v2.0.10 [INFO] [stderr] Downloaded specta-jsdoc v0.0.9 [INFO] [stderr] Downloaded tauri-build v2.0.4 [INFO] [stderr] Downloaded tauri-codegen v2.0.4 [INFO] [stderr] Downloaded tauri-macros v2.0.4 [INFO] [stderr] Downloaded tauri-runtime v2.3.0 [INFO] [stderr] Downloaded specta v2.0.0-rc.22 [INFO] [stderr] Downloaded tauri-winres v0.1.1 [INFO] [stderr] Downloaded ico v0.3.0 [INFO] [stderr] Downloaded webview2-com v0.34.0 [INFO] [stderr] Downloaded tauri-runtime-wry v2.3.0 [INFO] [stderr] Downloaded objc2-web-kit v0.2.2 [INFO] [stderr] Downloaded tauri v2.1.1 [INFO] [stderr] Downloaded tauri-utils v2.1.1 [INFO] [stderr] Downloaded tray-icon v0.19.2 [INFO] [stderr] Downloaded specta-serde v0.0.9 [INFO] [stderr] Downloaded wry v0.48.0 [INFO] [stderr] Downloaded specta-typescript v0.0.9 [INFO] [stderr] Downloaded specta-macros v2.0.0-rc.18 [INFO] [stderr] Downloaded cargo_toml v0.17.2 [INFO] [stderr] Downloaded vswhom-sys v0.1.2 [INFO] [stderr] Downloaded embed-resource v2.5.1 [INFO] [stderr] Downloaded window-vibrancy v0.5.2 [INFO] [stderr] Downloaded tao v0.31.1 [INFO] [stderr] Downloaded webview2-com-sys v0.34.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3f5172ed8e2c39745cd96124f1c38d062b973dec3a0bbb0fa03193f1ba52a84 [INFO] running `Command { std: "docker" "start" "-a" "f3f5172ed8e2c39745cd96124f1c38d062b973dec3a0bbb0fa03193f1ba52a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f5172ed8e2c39745cd96124f1c38d062b973dec3a0bbb0fa03193f1ba52a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f5172ed8e2c39745cd96124f1c38d062b973dec3a0bbb0fa03193f1ba52a84", kill_on_drop: false }` [INFO] [stdout] f3f5172ed8e2c39745cd96124f1c38d062b973dec3a0bbb0fa03193f1ba52a84 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151c1e55340fe126d3b0bd5fc619e7dc5cc4f066b5f07ab5aa157b9dddf22677 [INFO] running `Command { std: "docker" "start" "-a" "151c1e55340fe126d3b0bd5fc619e7dc5cc4f066b5f07ab5aa157b9dddf22677", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling thiserror v2.0.10 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling tauri-runtime v2.3.0 [INFO] [stderr] Compiling wry v0.48.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tauri-runtime-wry v2.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling ico v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v2.0.10 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling dlopen2_derive v0.4.0 [INFO] [stderr] Compiling specta-macros v2.0.0-rc.18 [INFO] [stderr] Compiling dlopen2 v0.7.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling specta v2.0.0-rc.22 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling uuid v1.11.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde-untagged v0.1.6 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling infer v0.16.0 [INFO] [stderr] Compiling jsonptr v0.6.3 [INFO] [stderr] Compiling cargo_metadata v0.19.1 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling kuchikiki v0.8.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling embed-resource v2.5.1 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling tauri-winres v0.1.1 [INFO] [stderr] Compiling urlpattern v0.3.0 [INFO] [stderr] Compiling cargo_toml v0.17.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serialize-to-javascript v0.1.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Compiling tauri-utils v2.1.1 [INFO] [stderr] Compiling gdkwayland-sys v0.18.2 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling tauri-build v2.0.4 [INFO] [stderr] Compiling tauri-codegen v2.0.4 [INFO] [stderr] Compiling tauri v2.1.1 [INFO] [stderr] Compiling tauri-macros v2.0.4 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling atk v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs v1.1.2 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling soup3 v0.5.0 [INFO] [stderr] Compiling gdk v0.18.2 [INFO] [stderr] Compiling gdkx11 v0.18.2 [INFO] [stderr] Compiling webkit2gtk v2.0.1 [INFO] [stderr] Compiling tao v0.31.1 [INFO] [stderr] Compiling muda v0.15.3 [INFO] [stderr] Compiling tauri-specta v2.0.0-rc.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Language, SpectaID, TypeMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s [INFO] running `Command { std: "docker" "inspect" "151c1e55340fe126d3b0bd5fc619e7dc5cc4f066b5f07ab5aa157b9dddf22677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151c1e55340fe126d3b0bd5fc619e7dc5cc4f066b5f07ab5aa157b9dddf22677", kill_on_drop: false }` [INFO] [stdout] 151c1e55340fe126d3b0bd5fc619e7dc5cc4f066b5f07ab5aa157b9dddf22677 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134d5c8e2242cd7ed28f78ddcaeccbe1f95a735f041c430e0d4e2af8b07303e5 [INFO] running `Command { std: "docker" "start" "-a" "134d5c8e2242cd7ed28f78ddcaeccbe1f95a735f041c430e0d4e2af8b07303e5", kill_on_drop: false }` [INFO] [stderr] Compiling tauri-specta v2.0.0-rc.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Language, SpectaID, TypeMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Language, SpectaID, TypeMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "134d5c8e2242cd7ed28f78ddcaeccbe1f95a735f041c430e0d4e2af8b07303e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134d5c8e2242cd7ed28f78ddcaeccbe1f95a735f041c430e0d4e2af8b07303e5", kill_on_drop: false }` [INFO] [stdout] 134d5c8e2242cd7ed28f78ddcaeccbe1f95a735f041c430e0d4e2af8b07303e5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 132541c078fba0d7309ab359148ce49bc8db71832a29e28aa355e2f7a8ac3586 [INFO] running `Command { std: "docker" "start" "-a" "132541c078fba0d7309ab359148ce49bc8db71832a29e28aa355e2f7a8ac3586", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Language` [INFO] [stderr] --> src/lib.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | Language, SpectaID, TypeMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tauri-specta` (lib) generated 1 warning [INFO] [stderr] warning: `tauri-specta` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tauri_specta-dbffc87bb846f292) [INFO] [stderr] Doc-tests tauri_specta [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] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/builder.rs - builder::Builder::export_str (line 297) ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder::mount_events (line 263) - compile ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder (line 29) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 86) ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder (line 57) - compile ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder::export (line 329) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) - compile ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder::events (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - (line 123) ... FAILED [INFO] [stdout] test src/macros.rs - macros::collect_events (line 58) ... FAILED [INFO] [stdout] test src/event.rs - event::Event (line 82) ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder::commands (line 132) ... ok [INFO] [stdout] test src/builder.rs - builder::Builder::typ (line 203) ... ok [INFO] [stdout] test src/lib.rs - (line 106) ... ok [INFO] [stdout] test src/macros.rs - macros::collect_commands (line 7) ... ok [INFO] [stdout] test src/builder.rs - builder::Builder::constant (line 227) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/builder.rs - builder::Builder::export_str (line 297) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `specta_typescript` [INFO] [stdout] --> src/builder.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 9 | use specta_typescript::Typescript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_typescript` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_typescript`, use `cargo add specta_typescript` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder::mount_events (line 263) stdout ---- [INFO] [stdout] error: unexpected end of input, no file at path /opt/rustwide/workdir/tests/tauri.conf.json exists, expected tauri config file [INFO] [stdout] --> src/builder.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 16 | .run(tauri::generate_context!("tests/tauri.conf.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder (line 29) stdout ---- [INFO] [stdout] error: unexpected end of input, no file at path /opt/rustwide/workdir/tests/tauri.conf.json exists, expected tauri config file [INFO] [stdout] --> src/builder.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 26 | .run(tauri::generate_context!("tests/tauri.conf.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `specta_typescript` [INFO] [stdout] --> src/builder.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 6 | use specta_typescript::Typescript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_typescript` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_typescript`, use `cargo add specta_typescript` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `specta_jsdoc` [INFO] [stdout] --> src/lib.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 9 | .export(specta_jsdoc::JSDoc::default(), "../src/bindings.js") [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_jsdoc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_jsdoc`, use `cargo add specta_jsdoc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder (line 57) stdout ---- [INFO] [stdout] error: unexpected end of input, no file at path /opt/rustwide/workdir/tests/tauri.conf.json exists, expected tauri config file [INFO] [stdout] --> src/builder.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 27 | .run(tauri::generate_context!("tests/tauri.conf.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `specta_jsdoc` [INFO] [stdout] --> src/builder.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 6 | use specta_jsdoc::JSDoc; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_jsdoc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_jsdoc`, use `cargo add specta_jsdoc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder::export (line 329) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `specta_typescript` [INFO] [stdout] --> src/builder.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 6 | use specta_typescript::Typescript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_typescript` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_typescript`, use `cargo add specta_typescript` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error: unexpected end of input, no file at path /opt/rustwide/workdir/tests/tauri.conf.json exists, expected tauri config file [INFO] [stdout] --> src/lib.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 40 | .run(tauri::generate_context!("tests/tauri.conf.json")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `specta_typescript` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 11 | use specta_typescript::Typescript; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `specta_typescript` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `specta_typescript`, use `cargo add specta_typescript` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder::events (line 157) stdout ---- [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/builder.rs:163:54 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug, Clone, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/builder.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 7 | use tauri_specta::{Builder, collect_events, Event}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DemoEvent: tauri_specta::Event` is not satisfied [INFO] [stdout] --> src/builder.rs:166:55 [INFO] [stdout] | [INFO] [stdout] 12 | let mut builder = Builder::::new().events(collect_events![DemoEvent]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `tauri_specta::Event` is not implemented for `DemoEvent` [INFO] [stdout] --> src/builder.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DemoEvent(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `register_event` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn register_event(Events(events): &mut Events) { [INFO] [stdout] | ^^^^^ required by this bound in `register_event` [INFO] [stdout] = note: this error originates in the macro `collect_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 123) stdout ---- [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/lib.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Clone, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 7 | use tauri_specta::{Builder, collect_commands, collect_events, Event}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DemoEvent: tauri_specta::Event` is not satisfied [INFO] [stdout] --> src/lib.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 15 | .events(collect_events![DemoEvent]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `tauri_specta::Event` is not implemented for `DemoEvent` [INFO] [stdout] --> src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DemoEvent(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `register_event` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn register_event(Events(events): &mut Events) { [INFO] [stdout] | ^^^^^ required by this bound in `register_event` [INFO] [stdout] = note: this error originates in the macro `collect_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `listen` found for struct `DemoEvent` in the current scope [INFO] [stdout] --> src/lib.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DemoEvent(String); [INFO] [stdout] | -------------------- function or associated item `listen` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | DemoEvent::listen(app, |event| { [INFO] [stdout] | ^^^^^^ function or associated item not found in `DemoEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `listen`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Listener` [INFO] [stdout] candidate #2: `gio::auto::socket::SocketExt` [INFO] [stdout] candidate #3: `soup::auto::server::ServerExt` [INFO] [stdout] candidate #4: `tauri_specta::Event` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `emit` found for struct `DemoEvent` in the current scope [INFO] [stdout] --> src/lib.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DemoEvent(String); [INFO] [stdout] | -------------------- method `emit` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | DemoEvent("Test".into()).emit(app).unwrap(); [INFO] [stdout] | ^^^^ method not found in `DemoEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `emit`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Emitter` [INFO] [stdout] candidate #2: `glib::object::ObjectExt` [INFO] [stdout] candidate #3: `tauri_specta::Event` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::collect_events (line 58) stdout ---- [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/macros.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Serialize, Deserialize, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/macros.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 7 | use tauri_specta::{Event, Builder, collect_events}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/macros.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Serialize, Deserialize, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/macros.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 7 | use tauri_specta::{Event, Builder, collect_events}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/macros.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Clone, Serialize, Deserialize, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/macros.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 18 | use tauri_specta::{Event, Builder, collect_events}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEvent: tauri_specta::Event` is not satisfied [INFO] [stdout] --> src/macros.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 26 | .events(collect_events![ [INFO] [stdout] | _____________^ [INFO] [stdout] 27 | | // You can pass a struct name. [INFO] [stdout] 28 | | MyEvent, [INFO] [stdout] ... | [INFO] [stdout] 32 | | MyGenericEvent:: [INFO] [stdout] 33 | | ]); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `tauri_specta::Event` is not implemented for `MyEvent` [INFO] [stdout] --> src/macros.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyEvent(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `register_event` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn register_event(Events(events): &mut Events) { [INFO] [stdout] | ^^^^^ required by this bound in `register_event` [INFO] [stdout] = note: this error originates in the macro `collect_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `World: tauri_specta::Event` is not satisfied [INFO] [stdout] --> src/macros.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 26 | .events(collect_events![ [INFO] [stdout] | _____________^ [INFO] [stdout] 27 | | // You can pass a struct name. [INFO] [stdout] 28 | | MyEvent, [INFO] [stdout] ... | [INFO] [stdout] 32 | | MyGenericEvent:: [INFO] [stdout] 33 | | ]); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `tauri_specta::Event` is not implemented for `World` [INFO] [stdout] --> src/macros.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct World(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `register_event` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn register_event(Events(events): &mut Events) { [INFO] [stdout] | ^^^^^ required by this bound in `register_event` [INFO] [stdout] = note: this error originates in the macro `collect_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenericEvent: tauri_specta::Event` is not satisfied [INFO] [stdout] --> src/macros.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 26 | .events(collect_events![ [INFO] [stdout] | _____________^ [INFO] [stdout] 27 | | // You can pass a struct name. [INFO] [stdout] 28 | | MyEvent, [INFO] [stdout] ... | [INFO] [stdout] 32 | | MyGenericEvent:: [INFO] [stdout] 33 | | ]); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `tauri_specta::Event` is not implemented for `MyGenericEvent` [INFO] [stdout] --> src/macros.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MyGenericEvent(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `register_event` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn register_event(Events(events): &mut Events) { [INFO] [stdout] | ^^^^^ required by this bound in `register_event` [INFO] [stdout] = note: this error originates in the macro `collect_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::Event (line 82) stdout ---- [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/event.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Serialize, Deserialize, Type, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/event.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tauri_specta::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `listen` found for struct `MyEvent` in the current scope [INFO] [stdout] --> src/event.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MyEvent(String); [INFO] [stdout] | ------------------ function or associated item `listen` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | MyEvent::listen(&app_handle, |event| { [INFO] [stdout] | ^^^^^^ function or associated item not found in `MyEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `listen`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Listener` [INFO] [stdout] candidate #2: `gio::auto::socket::SocketExt` [INFO] [stdout] candidate #3: `soup::auto::server::ServerExt` [INFO] [stdout] candidate #4: `tauri_specta::Event` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `emit` found for struct `MyEvent` in the current scope [INFO] [stdout] --> src/event.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MyEvent(String); [INFO] [stdout] | ------------------ method `emit` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | MyEvent("Test".to_string()).emit(&app_handle).ok(); [INFO] [stdout] | ^^^^ method not found in `MyEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `emit`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Emitter` [INFO] [stdout] candidate #2: `glib::object::ObjectExt` [INFO] [stdout] candidate #3: `tauri_specta::Event` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/builder.rs - builder::Builder (line 29) [INFO] [stdout] src/builder.rs - builder::Builder (line 57) [INFO] [stdout] src/builder.rs - builder::Builder::events (line 157) [INFO] [stdout] src/builder.rs - builder::Builder::export (line 329) [INFO] [stdout] src/builder.rs - builder::Builder::export_str (line 297) [INFO] [stdout] src/builder.rs - builder::Builder::mount_events (line 263) [INFO] [stdout] src/event.rs - event::Event (line 82) [INFO] [stdout] src/lib.rs - (line 123) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 86) [INFO] [stdout] src/macros.rs - macros::collect_events (line 58) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "132541c078fba0d7309ab359148ce49bc8db71832a29e28aa355e2f7a8ac3586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132541c078fba0d7309ab359148ce49bc8db71832a29e28aa355e2f7a8ac3586", kill_on_drop: false }` [INFO] [stdout] 132541c078fba0d7309ab359148ce49bc8db71832a29e28aa355e2f7a8ac3586