[INFO] cloning repository https://github.com/Aurailus/Scout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aurailus/Scout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d98d3bd8ed942b763cc3ecba8de258e333dacfa9 [INFO] testing Aurailus/Scout against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Aurailus/Scout [INFO] finished tweaking git repo https://github.com/Aurailus/Scout [INFO] tweaked toml for git repo https://github.com/Aurailus/Scout written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aurailus/Scout on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Aurailus/Scout 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee10e3b165f1908f3b24f1e3ceeef078dd58d83b1636582ad977f6d368f55d93 [INFO] running `Command { std: "docker" "start" "-a" "ee10e3b165f1908f3b24f1e3ceeef078dd58d83b1636582ad977f6d368f55d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee10e3b165f1908f3b24f1e3ceeef078dd58d83b1636582ad977f6d368f55d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee10e3b165f1908f3b24f1e3ceeef078dd58d83b1636582ad977f6d368f55d93", kill_on_drop: false }` [INFO] [stdout] ee10e3b165f1908f3b24f1e3ceeef078dd58d83b1636582ad977f6d368f55d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ecf71c1e51b426cd823e42462a966ff3a3422a2b80a6bcc0373d6791efeea5 [INFO] running `Command { std: "docker" "start" "-a" "c8ecf71c1e51b426cd823e42462a966ff3a3422a2b80a6bcc0373d6791efeea5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling scout-core v0.0.1 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling system_shutdown v3.0.0 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling colorsys v0.6.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling freedesktop_entry_parser v1.1.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stdout] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stdout] --> core/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> core/src/shared.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Shared { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "{}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 119 - write!(f, "{}", self.deref()) [INFO] [stdout] 119 + write!(f, "{}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{:?}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - write!(f, "{:?}", self.deref()) [INFO] [stdout] 126 + write!(f, "{:?}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scout v0.0.1 (/opt/rustwide/workdir/app) [INFO] [stderr] Compiling scout_plugin_application v0.0.1 (/opt/rustwide/workdir/plugins/application) [INFO] [stderr] Compiling scout_plugin_directory v0.0.1 (/opt/rustwide/workdir/plugins/directory) [INFO] [stdout] warning: unused import: `prefs_page::*` [INFO] [stdout] --> app/src/window/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use prefs_page::*; [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: `about::*` [INFO] [stdout] --> app/src/window/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use about::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs::*` [INFO] [stdout] --> app/src/window/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prefs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_bindings::*` [INFO] [stdout] --> app/src/plugin/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/directory/src/lib.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DirectoryPlugin { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `icon` and `path_str` are never read [INFO] [stdout] --> plugins/directory/src/result.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectoryResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | path_str: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/application/src/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ApplicationPlugin { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> plugins/application/src/result.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ApplicationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | actions: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> app/src/window/window.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | drop(self); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut window::window::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 369 - drop(self); [INFO] [stdout] 369 + let _ = self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> app/src/window/prefs.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | std::process::Command::new("/proc/self/exe").exec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = std::process::Command::new("/proc/self/exe").exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c8ecf71c1e51b426cd823e42462a966ff3a3422a2b80a6bcc0373d6791efeea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ecf71c1e51b426cd823e42462a966ff3a3422a2b80a6bcc0373d6791efeea5", kill_on_drop: false }` [INFO] [stdout] c8ecf71c1e51b426cd823e42462a966ff3a3422a2b80a6bcc0373d6791efeea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68638f53dd543b52bb95d21ab556c40ecc65b8ebfdfc7190ebf4560bcd341c3c [INFO] running `Command { std: "docker" "start" "-a" "68638f53dd543b52bb95d21ab556c40ecc65b8ebfdfc7190ebf4560bcd341c3c", kill_on_drop: false }` [INFO] [stdout] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stdout] --> core/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> core/src/shared.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Shared { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "{}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 119 - write!(f, "{}", self.deref()) [INFO] [stdout] 119 + write!(f, "{}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{:?}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - write!(f, "{:?}", self.deref()) [INFO] [stdout] 126 + write!(f, "{:?}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scout-core v0.0.1 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling scout_plugin_application v0.0.1 (/opt/rustwide/workdir/plugins/application) [INFO] [stderr] Compiling scout v0.0.1 (/opt/rustwide/workdir/app) [INFO] [stderr] Compiling scout_plugin_directory v0.0.1 (/opt/rustwide/workdir/plugins/directory) [INFO] [stdout] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stdout] --> core/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> core/src/shared.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Shared { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/shared.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "{}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 119 - write!(f, "{}", self.deref()) [INFO] [stdout] 119 + write!(f, "{}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{:?}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - write!(f, "{:?}", self.deref()) [INFO] [stdout] 126 + write!(f, "{:?}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs_page::*` [INFO] [stdout] --> app/src/window/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use prefs_page::*; [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: `about::*` [INFO] [stdout] --> app/src/window/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use about::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs::*` [INFO] [stdout] --> app/src/window/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prefs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_bindings::*` [INFO] [stdout] --> app/src/plugin/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/application/src/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ApplicationPlugin { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> plugins/application/src/result.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ApplicationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | actions: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/directory/src/lib.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DirectoryPlugin { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `icon` and `path_str` are never read [INFO] [stdout] --> plugins/directory/src/result.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectoryResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | path_str: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> app/src/window/window.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | drop(self); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut window::window::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 369 - drop(self); [INFO] [stdout] 369 + let _ = self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> app/src/window/prefs.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | std::process::Command::new("/proc/self/exe").exec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = std::process::Command::new("/proc/self/exe").exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "68638f53dd543b52bb95d21ab556c40ecc65b8ebfdfc7190ebf4560bcd341c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68638f53dd543b52bb95d21ab556c40ecc65b8ebfdfc7190ebf4560bcd341c3c", kill_on_drop: false }` [INFO] [stdout] 68638f53dd543b52bb95d21ab556c40ecc65b8ebfdfc7190ebf4560bcd341c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4642ec40076efe0f23a56dc835d61dc9ab5f167fe852b57c39d8a5cba285254d [INFO] running `Command { std: "docker" "start" "-a" "4642ec40076efe0f23a56dc835d61dc9ab5f167fe852b57c39d8a5cba285254d", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stderr] --> core/src/lib.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> core/src/shared.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Shared { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> core/src/shared.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn borrow(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> core/src/shared.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 75 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> core/src/shared.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> core/src/shared.rs:119:23 [INFO] [stderr] | [INFO] [stderr] 119 | write!(f, "{}", self.deref()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 119 - write!(f, "{}", self.deref()) [INFO] [stderr] 119 + write!(f, "{}", self) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 17 + #[derive(Clone)] [INFO] [stderr] 18 | pub struct Shared { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> core/src/shared.rs:126:25 [INFO] [stderr] | [INFO] [stderr] 126 | write!(f, "{:?}", self.deref()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 126 - write!(f, "{:?}", self.deref()) [INFO] [stderr] 126 + write!(f, "{:?}", self) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 17 + #[derive(Clone)] [INFO] [stderr] 18 | pub struct Shared { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `scout-core` (lib) generated 6 warnings (run `cargo fix --lib -p scout-core` to apply 5 suggestions) [INFO] [stderr] warning: `scout-core` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: field `bindings` is never read [INFO] [stderr] --> plugins/application/src/lib.rs:13:2 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ApplicationPlugin { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 13 | bindings: Shared>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `actions` is never read [INFO] [stderr] --> plugins/application/src/result.rs:52:2 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct ApplicationResult { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 52 | actions: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApplicationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `bindings` is never read [INFO] [stderr] --> plugins/directory/src/lib.rs:9:2 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct DirectoryPlugin { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 9 | bindings: Shared>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `icon` and `path_str` are never read [INFO] [stderr] --> plugins/directory/src/result.rs:14:2 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct DirectoryResult { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 14 | icon: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | path_str: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DirectoryResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `prefs_page::*` [INFO] [stderr] --> app/src/window/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use prefs_page::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `about::*` [INFO] [stderr] --> app/src/window/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use about::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prefs::*` [INFO] [stderr] --> app/src/window/mod.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use prefs::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `plugin_bindings::*` [INFO] [stderr] --> app/src/plugin/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use plugin_bindings::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> app/src/window/window.rs:369:3 [INFO] [stderr] | [INFO] [stderr] 369 | drop(self); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut window::window::Window` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 369 - drop(self); [INFO] [stderr] 369 + let _ = self; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `exec` that must be used [INFO] [stderr] --> app/src/window/prefs.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | std::process::Command::new("/proc/self/exe").exec(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 56 | let _ = std::process::Command::new("/proc/self/exe").exec(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `scout_plugin_application` (lib test) generated 2 warnings [INFO] [stderr] warning: `scout_plugin_directory` (lib test) generated 2 warnings [INFO] [stderr] warning: `scout` (bin "scout" test) generated 6 warnings (run `cargo fix --bin "scout" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scout-69fe16390d9d21b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scout_core-da568e57756d3564) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scout_plugin_application-b0ce0ec16f86dff4) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scout_plugin_directory-0aace90280a7d544) [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 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests scout_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test core/src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test core/src/lib.rs - (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- core/src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> core/src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 7 | impl scout_core::Plugin for MyPlugin { [INFO] [stdout] | - item list starts here [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 9 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_results` [INFO] [stdout] --> core/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl scout_core::Plugin for MyPlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_results` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn get_results(&self, _: &str) -> Result>, InvocationError> { todo!() }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `PluginRegistrar` in crate `scout_core` [INFO] [stdout] --> core/src/lib.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" fn register(registrar: &mut dyn scout_core::PluginRegistrar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `scout_core` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MyPlugin` in this scope [INFO] [stdout] --> core/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 7 | registrar.register("my_plugin", Box::new(MyPlugin)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] core/src/lib.rs - (line 13) [INFO] [stdout] core/src/lib.rs - (line 23) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p scout-core --doc` [INFO] running `Command { std: "docker" "inspect" "4642ec40076efe0f23a56dc835d61dc9ab5f167fe852b57c39d8a5cba285254d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4642ec40076efe0f23a56dc835d61dc9ab5f167fe852b57c39d8a5cba285254d", kill_on_drop: false }` [INFO] [stdout] 4642ec40076efe0f23a56dc835d61dc9ab5f167fe852b57c39d8a5cba285254d