[INFO] cloning repository https://github.com/fulara/pusz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fulara/pusz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulara%2Fpusz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulara%2Fpusz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fff076f613f3a3b1345db9104a8bdd53ad6f756b [INFO] checking fulara/pusz against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffulara%2Fpusz" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fulara/pusz on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fulara/pusz [INFO] finished tweaking git repo https://github.com/fulara/pusz [INFO] tweaked toml for git repo https://github.com/fulara/pusz written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/fulara/pusz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-argon2 v0.5.1 [INFO] [stderr] Downloaded cairo-sys-rs v0.9.0 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded gio v0.7.0 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded pango v0.7.0 [INFO] [stderr] Downloaded url v2.1.0 [INFO] [stderr] Downloaded atk-sys v0.9.0 [INFO] [stderr] Downloaded levenshtein_automata v0.1.1 [INFO] [stderr] Downloaded atk v0.7.0 [INFO] [stderr] Downloaded filetime v0.2.8 [INFO] [stderr] Downloaded inotify v0.7.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded tantivy-query-grammar v0.11.0 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded webbrowser v0.5.2 [INFO] [stderr] Downloaded gio-sys v0.9.0 [INFO] [stderr] Downloaded fuzzy-matcher v0.2.1 [INFO] [stderr] Downloaded cc v1.0.46 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded gdk-pixbuf v0.7.0 [INFO] [stderr] Downloaded strsim v0.9.2 [INFO] [stderr] Downloaded gdk-sys v0.9.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded glib-sys v0.9.0 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded pango-sys v0.9.0 [INFO] [stderr] Downloaded blake2b_simd v0.5.9 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded gdk v0.11.0 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded fragile v0.3.0 [INFO] [stderr] Downloaded cairo-rs v0.7.1 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded widestring v0.4.0 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded owned-read v0.4.0 [INFO] [stderr] Downloaded gtk-sys v0.9.0 [INFO] [stderr] Downloaded glib v0.8.2 [INFO] [stderr] Downloaded gobject-sys v0.9.0 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded simplelog v0.7.4 [INFO] [stderr] Downloaded unicode-normalization v0.1.9 [INFO] [stderr] Downloaded redox_users v0.3.1 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded tantivy-fst v0.1.0 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] [stderr] Downloaded gtk v0.7.0 [INFO] [stderr] Downloaded tantivy v0.11.3 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8576f77fdccedd07ae883a8abffd87b23b4ffd4837b8a23eeeba1eeba9b1406f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8576f77fdccedd07ae883a8abffd87b23b4ffd4837b8a23eeeba1eeba9b1406f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8576f77fdccedd07ae883a8abffd87b23b4ffd4837b8a23eeeba1eeba9b1406f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8576f77fdccedd07ae883a8abffd87b23b4ffd4837b8a23eeeba1eeba9b1406f", kill_on_drop: false }` [INFO] [stdout] 8576f77fdccedd07ae883a8abffd87b23b4ffd4837b8a23eeeba1eeba9b1406f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f1a0723201634434a2d07f7168ae81a4fdfaffd1cf98ce4b82c4f9816b4f90e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f1a0723201634434a2d07f7168ae81a4fdfaffd1cf98ce4b82c4f9816b4f90e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Checking fuzzy-matcher v0.2.1 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking clipboard-win v2.2.0 [INFO] [stderr] Checking webbrowser v0.5.2 [INFO] [stderr] Checking pusz_common v0.1.0 (/opt/rustwide/workdir/pusz_common) [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling glib-sys v0.9.0 [INFO] [stderr] Compiling gobject-sys v0.9.0 [INFO] [stderr] Compiling gio-sys v0.9.0 [INFO] [stderr] Compiling pango-sys v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling atk-sys v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking levenshtein_automata v0.1.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tantivy-fst v0.1.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking glib v0.8.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking tantivy-query-grammar v0.11.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking plugin_interface v0.1.0 (/opt/rustwide/workdir/plugin_interface) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> plugin_interface/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> plugin_interface/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures v0.3.1 [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> plugin_interface/src/lib.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | extern "C" fn load_example(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> plugin_interface/src/lib.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 137 | extern "C" fn load_example(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> plugin_interface/src/lib.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | extern "C" fn load_example(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> plugin_interface/src/lib.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 137 | extern "C" fn load_example(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking calc_plugin v0.1.0 (/opt/rustwide/workdir/calc_plugin) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PuszRow` [INFO] [stdout] --> calc_plugin/src/lib.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use plugin_interface::{PluginResult, PuszRow, PuszRowIdentifier, PuszRowBuilder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PuszRow` [INFO] [stdout] --> calc_plugin/src/lib.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use plugin_interface::{PluginResult, PuszRow, PuszRowIdentifier, PuszRowBuilder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> calc_plugin/src/lib.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> calc_plugin/src/lib.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> calc_plugin/src/lib.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> calc_plugin/src/lib.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking owned-read v0.4.0 [INFO] [stderr] Checking clipboard_plugin v0.1.0 (/opt/rustwide/workdir/clipboard_plugin) [INFO] [stdout] warning: unused import: `Metadata` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Metadata [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PuszRow` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use plugin_interface::{PluginResult, PuszRow, PuszRowBuilder, PuszRowIdentifier, PluginEvent, PluginSettings}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> clipboard_plugin/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_interface::*` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | use plugin_interface::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Metadata` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Metadata [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PuszRow` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | use plugin_interface::{PluginResult, PuszRow, PuszRowBuilder, PuszRowIdentifier, PluginEvent, PluginSettings}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> clipboard_plugin/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn query_return(&mut self, query : &str) -> PluginResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> clipboard_plugin/src/lib.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn query_return(&mut self, query : &str) -> PluginResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> clipboard_plugin/src/lib.rs:129:51 [INFO] [stdout] | [INFO] [stdout] 129 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, std::string::String>`, which is not FFI-safe [INFO] [stdout] --> clipboard_plugin/src/lib.rs:129:60 [INFO] [stdout] | [INFO] [stdout] 129 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> clipboard_plugin/src/lib.rs:129:51 [INFO] [stdout] | [INFO] [stdout] 129 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, std::string::String>`, which is not FFI-safe [INFO] [stdout] --> clipboard_plugin/src/lib.rs:129:60 [INFO] [stdout] | [INFO] [stdout] 129 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tantivy v0.11.3 [INFO] [stderr] Checking store_plugin v0.1.0 (/opt/rustwide/workdir/store_plugin) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> store_plugin/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tantivy::directory::MmapDirectory` [INFO] [stdout] --> store_plugin/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::directory::MmapDirectory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginEvent`, `PluginSettings`, `PuszRowBuilder`, `PuszRowIdentifier`, `PuszRow` [INFO] [stdout] --> store_plugin/src/lib.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use plugin_interface::{PluginResult, PuszRow, PuszRowBuilder, PuszRowIdentifier, PluginEvent, PluginSettings}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> store_plugin/src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn query(&mut self, query: &str) -> PluginResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> store_plugin/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ::std::fs::create_dir_all(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> store_plugin/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | index_writer.commit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> store_plugin/src/lib.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> store_plugin/src/lib.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> store_plugin/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tantivy::directory::MmapDirectory` [INFO] [stdout] --> store_plugin/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::directory::MmapDirectory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PluginEvent`, `PluginSettings`, `PuszRowBuilder`, `PuszRowIdentifier`, `PuszRow` [INFO] [stdout] --> store_plugin/src/lib.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use plugin_interface::{PluginResult, PuszRow, PuszRowBuilder, PuszRowIdentifier, PluginEvent, PluginSettings}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_interface::*` [INFO] [stdout] --> store_plugin/src/lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use plugin_interface::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> store_plugin/src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn query(&mut self, query: &str) -> PluginResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> store_plugin/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ::std::fs::create_dir_all(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> store_plugin/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | index_writer.commit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> store_plugin/src/lib.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result, String>`, which is not FFI-safe [INFO] [stdout] --> store_plugin/src/lib.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | pub extern "C" fn load(plugin_interface_version : &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pusz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/winapi_stuff.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use winapi::um::winuser::{LPMSG, GetMessageA, MSG, *, TranslateMessage, DispatchMessageA}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::get_clipboard_string`, `clipboard_win::set_clipboard_string`, `winapi::um::winuser::LPMSG`, `winapi::um::winuser::GetMessageA`, `winapi::um::winuser::MSG`, `winapi::um::winuser::TranslateMessage`, `winapi::um::winuser::DispatchMessageA` [INFO] [stdout] --> src/winapi_stuff.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use clipboard_win::{get_clipboard_string, set_clipboard_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `set_clipboard_string` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get_clipboard_string` in the root [INFO] [stdout] ... [INFO] [stdout] 46 | use winapi::um::winuser::{LPMSG, GetMessageA, MSG, *, TranslateMessage, DispatchMessageA}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/winapi_stuff.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use winapi::um::winuser::{LPMSG, GetMessageA, MSG, *, TranslateMessage, DispatchMessageA}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::get_clipboard_string`, `clipboard_win::set_clipboard_string`, `winapi::um::winuser::LPMSG`, `winapi::um::winuser::GetMessageA`, `winapi::um::winuser::MSG`, `winapi::um::winuser::TranslateMessage`, `winapi::um::winuser::DispatchMessageA` [INFO] [stdout] --> src/winapi_stuff.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use clipboard_win::{get_clipboard_string, set_clipboard_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `set_clipboard_string` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get_clipboard_string` in the root [INFO] [stdout] ... [INFO] [stdout] 46 | use winapi::um::winuser::{LPMSG, GetMessageA, MSG, *, TranslateMessage, DispatchMessageA}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe { winapi::um::winuser::PostThreadMessageA(self.thread_id as u32, 30000, 0, 0) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { GetMessageA(&mut msg, 0 as winapi::shared::windef::HWND, 0, 0) != 0 } { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | unsafe { winapi::um::winuser::PostThreadMessageA(self.thread_id as u32, 30000, 0, 0) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { GetMessageA(&mut msg, 0 as winapi::shared::windef::HWND, 0, 0) != 0 } { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let win_thread_id = unsafe { winapi::um::processthreadsapi::GetCurrentThreadId() } as usize; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let wnd_class = winapi::um::winuser::WNDCLASSW { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | style : winapi::um::winuser::CS_OWNDC, // Style [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | lpfnWndProc : Some(winapi::um::winuser::DefWindowProcW), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let win_thread_id = unsafe { winapi::um::processthreadsapi::GetCurrentThreadId() } as usize; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let wnd_class = winapi::um::winuser::WNDCLASSW { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | style : winapi::um::winuser::CS_OWNDC, // Style [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | lpfnWndProc : Some(winapi::um::winuser::DefWindowProcW), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | hInstance : winapi::um::libloaderapi::GetModuleHandleW( ::std::ptr::null_mut() ), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | hInstance : winapi::um::libloaderapi::GetModuleHandleW( ::std::ptr::null_mut() ), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | winapi::um::winuser::RegisterClassW( &wnd_class ); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | winapi::um::winuser::RegisterClassW( &wnd_class ); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let hwnd = winapi::um::winuser::CreateWindowExW( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | winapi::um::winuser::WS_VISIBLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let hwnd = winapi::um::winuser::CreateWindowExW( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | winapi::um::winuser::WS_VISIBLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | winapi::um::winuser::ShowWindow(hwnd, winapi::um::winuser::SW_HIDE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 149 | winapi::um::winuser::ShowWindow(hwnd, winapi::um::winuser::SW_HIDE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | winapi::um::winuser::ShowWindow(hwnd, winapi::um::winuser::SW_HIDE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 149 | winapi::um::winuser::ShowWindow(hwnd, winapi::um::winuser::SW_HIDE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | let win_pid = unsafe { winapi::um::processthreadsapi::GetCurrentProcessId() } ; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... winapi::um::winuser::RegisterHotKey( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:182:46 [INFO] [stdout] | [INFO] [stdout] 182 | ... 0 as winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | let win_pid = unsafe { winapi::um::processthreadsapi::GetCurrentProcessId() } ; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ... unsafe { winapi::um::winuser::AddClipboardFormatListener(hwnd) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | Return = winapi::um::winuser::VK_RETURN as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | Control = winapi::um::winuser::VK_CONTROL as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... winapi::um::winuser::RegisterHotKey( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | Alt = winapi::um::winuser::VK_MENU as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:182:46 [INFO] [stdout] | [INFO] [stdout] 182 | ... 0 as winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | Shift = winapi::um::winuser::VK_SHIFT as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | F1 = winapi::um::winuser::VK_F1 as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ... unsafe { winapi::um::winuser::AddClipboardFormatListener(hwnd) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | Return = winapi::um::winuser::VK_RETURN as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | Control = winapi::um::winuser::VK_CONTROL as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | Alt = winapi::um::winuser::VK_MENU as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | Shift = winapi::um::winuser::VK_SHIFT as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/winapi_stuff.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | F1 = winapi::um::winuser::VK_F1 as isize, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { GetMessageA(&mut msg, 0 as winapi::shared::windef::HWND, 0, 0) != 0 } { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sleep`, `spawn` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::{spawn, sleep}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { GetMessageA(&mut msg, 0 as winapi::shared::windef::HWND, 0, 0) != 0 } { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/winapi_stuff.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PuszRowBuilder`, `PuszRowIdentifier` [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | use plugin_interface::{PuszRow, PuszRowBuilder, PuszRowIdentifier, PuszAction, PuszEvent, PuszEntry, PluginEvent, SpecialKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::winapi_stuff::ReceivedMessage::Hotkey` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::winapi_stuff::ReceivedMessage::Hotkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sleep`, `spawn` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::{spawn, sleep}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PuszRowBuilder`, `PuszRowIdentifier` [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | use plugin_interface::{PuszRow, PuszRowBuilder, PuszRowIdentifier, PuszAction, PuszEvent, PuszEntry, PluginEvent, SpecialKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::winapi_stuff::ReceivedMessage::Hotkey` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::winapi_stuff::ReceivedMessage::Hotkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 119 | panic!("custom action"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 122 | Inhibit(false) [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 119 | panic!("custom action"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 122 | Inhibit(false) [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/winapi_stuff.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ::std::ffi::OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/winapi_stuff.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ::std::ffi::OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pusz` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3f1a0723201634434a2d07f7168ae81a4fdfaffd1cf98ce4b82c4f9816b4f90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1a0723201634434a2d07f7168ae81a4fdfaffd1cf98ce4b82c4f9816b4f90e", kill_on_drop: false }` [INFO] [stdout] 3f1a0723201634434a2d07f7168ae81a4fdfaffd1cf98ce4b82c4f9816b4f90e