[INFO] fetching crate dlauncher 0.1.1... [INFO] testing dlauncher-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dlauncher 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dlauncher 0.1.1 [INFO] finished tweaking crates.io crate dlauncher 0.1.1 [INFO] tweaked toml for crates.io crate dlauncher 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dlauncher 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dlauncher 0.1.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbus-crossroads v0.5.0 [INFO] [stderr] Downloaded dashmap v5.3.3 [INFO] [stderr] Downloaded libdbus-sys v0.2.2 [INFO] [stderr] Downloaded cairo-rs v0.15.11 [INFO] [stderr] Downloaded serde_json v1.0.80 [INFO] [stderr] Downloaded dbus v0.9.5 [INFO] [stderr] Downloaded gio v0.15.11 [INFO] [stderr] Downloaded glib v0.15.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49ad7efe4c05b32e9d7574a40fe9f6a9c5ce2cde88937049faa1386d42cb7394 [INFO] running `Command { std: "docker" "start" "-a" "49ad7efe4c05b32e9d7574a40fe9f6a9c5ce2cde88937049faa1386d42cb7394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49ad7efe4c05b32e9d7574a40fe9f6a9c5ce2cde88937049faa1386d42cb7394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ad7efe4c05b32e9d7574a40fe9f6a9c5ce2cde88937049faa1386d42cb7394", kill_on_drop: false }` [INFO] [stdout] 49ad7efe4c05b32e9d7574a40fe9f6a9c5ce2cde88937049faa1386d42cb7394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e21f449201c2c447bcb128ee80eba863384bdc22aa5f89e644a8754cbe65df58 [INFO] running `Command { std: "docker" "start" "-a" "e21f449201c2c447bcb128ee80eba863384bdc22aa5f89e644a8754cbe65df58", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling gio v0.15.11 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Compiling gtk v0.15.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dbus v0.9.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling dbus-crossroads v0.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling glib-macros v0.15.11 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling gtk3-macros v0.15.4 [INFO] [stderr] Compiling glib v0.15.11 [INFO] [stderr] Compiling dashmap v5.3.3 [INFO] [stderr] Compiling cairo-rs v0.15.11 [INFO] [stderr] Compiling pango v0.15.10 [INFO] [stderr] Compiling atk v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf v0.15.11 [INFO] [stderr] Compiling gdk v0.15.4 [INFO] [stderr] Compiling dlauncher v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `ExtensionContext`, which is not FFI-safe [INFO] [stdout] --> src/extension/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub type ExtensionOutputFunc = unsafe extern "C" fn(ExtensionContext) -> ExtensionExitCode; [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] --> src/extension/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ExtensionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/dlauncher-toggle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/dlauncher-toggle.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | proxy.method_call("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 8 | proxy.method_call::<(), _, _, _>("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dlauncher v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e21f449201c2c447bcb128ee80eba863384bdc22aa5f89e644a8754cbe65df58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21f449201c2c447bcb128ee80eba863384bdc22aa5f89e644a8754cbe65df58", kill_on_drop: false }` [INFO] [stdout] e21f449201c2c447bcb128ee80eba863384bdc22aa5f89e644a8754cbe65df58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aff4d01070c93a93680a8a769788daa85242d2de72089831d596c81fb08b13b4 [INFO] running `Command { std: "docker" "start" "-a" "aff4d01070c93a93680a8a769788daa85242d2de72089831d596c81fb08b13b4", kill_on_drop: false }` [INFO] [stdout] warning: `extern` fn uses type `ExtensionContext`, which is not FFI-safe [INFO] [stdout] --> src/extension/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub type ExtensionOutputFunc = unsafe extern "C" fn(ExtensionContext) -> ExtensionExitCode; [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] --> src/extension/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ExtensionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dlauncher v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/dlauncher-toggle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/dlauncher-toggle.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | proxy.method_call("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 8 | proxy.method_call::<(), _, _, _>("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ExtensionContext`, which is not FFI-safe [INFO] [stdout] --> src/extension/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub type ExtensionOutputFunc = unsafe extern "C" fn(ExtensionContext) -> ExtensionExitCode; [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] --> src/extension/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ExtensionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dlauncher v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "aff4d01070c93a93680a8a769788daa85242d2de72089831d596c81fb08b13b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff4d01070c93a93680a8a769788daa85242d2de72089831d596c81fb08b13b4", kill_on_drop: false }` [INFO] [stdout] aff4d01070c93a93680a8a769788daa85242d2de72089831d596c81fb08b13b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e58ece1c267e4a4483f1f60911a43c4d0d0396d0903c5eeff2b1ea379e825ef [INFO] running `Command { std: "docker" "start" "-a" "3e58ece1c267e4a4483f1f60911a43c4d0d0396d0903c5eeff2b1ea379e825ef", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `ExtensionContext`, which is not FFI-safe [INFO] [stderr] --> src/extension/mod.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | pub type ExtensionOutputFunc = unsafe extern "C" fn(ExtensionContext) -> ExtensionExitCode; [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] --> src/extension/mod.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct ExtensionContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dlauncher` (lib) generated 1 warning [INFO] [stderr] warning: `dlauncher` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/dlauncher-toggle.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stderr] --> src/dlauncher-toggle.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | proxy.method_call("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 8 | proxy.method_call::<(), _, _, _>("com.dlauncher.server", "OpenWindow", ())?; [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: `dlauncher` (bin "dlauncher-toggle" test) generated 1 warning (run `cargo fix --bin "dlauncher-toggle" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dlauncher v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlauncher-15518ccec568cb51) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/dlauncher.rs (/opt/rustwide/target/debug/deps/dlauncher-43691d0a49c68541) [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] Running unittests src/dlauncher-toggle.rs (/opt/rustwide/target/debug/deps/dlauncher_toggle-ad7f22f0f2ca76af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests dlauncher [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 15 tests [INFO] [stdout] test src/extension/config.rs - extension::config::ExtensionConfig::set (line 76) ... FAILED [INFO] [stdout] test src/extension/config.rs - extension::config::ExtensionConfig::get (line 95) ... FAILED [INFO] [stdout] test src/util.rs - util::xdg_open (line 189) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 209) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 216) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 23) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 78) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 114) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 131) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 233) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 163) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension (line 188) ... FAILED [INFO] [stdout] test src/extension/mod.rs - extension::ExtensionExitCode::Error (line 26) ... ok [INFO] [stdout] test src/util.rs - util::init_logger (line 90) ... ok [INFO] [stdout] test src/util.rs - util::launch_detached (line 122) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/extension/config.rs - extension::config::ExtensionConfig::set (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/extension/config.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 7 | let config = ExtensionConfig::new(&config, "test"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/config.rs - extension::config::ExtensionConfig::get (line 95) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/extension/config.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 7 | let config = ExtensionConfig::new(&config, "test"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::xdg_open (line 189) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `xdg_open` in this scope [INFO] [stdout] --> src/util.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 3 | xdg_open(vec!["file:///home/user/"]) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::xdg_open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 209) stdout ---- [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/extension/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 3 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 216) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ExtensionContext` in this scope [INFO] [stdout] --> src/extension/mod.rs:218:39 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn on_init(ctx: ExtensionContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::ExtensionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_logger` in this scope [INFO] [stdout] --> src/extension/mod.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 5 | init_logger(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::init_logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PREFIX` in this scope [INFO] [stdout] --> src/extension/mod.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 7 | let mut prefix = PREFIX.lock().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/extension/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/extension/mod.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 19 | info!("Hello from extension!") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 78) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/extension/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/extension/mod.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 19 | info!("Hello from extension!") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/extension/mod.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 26 | info!("input: {:#?}", ctx.input); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 114) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/extension/mod.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 9 | info!("matched: {}", matched); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtensionContext` in this scope [INFO] [stdout] --> src/extension/mod.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn on_input(ctx: ExtensionContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::ExtensionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `matches` [INFO] [stdout] --> src/extension/mod.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches(input, "zero width space", 60); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches!(input, "zero width space", 60); [INFO] [stdout] | + [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 131) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ExtensionContext` in this scope [INFO] [stdout] --> src/extension/mod.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn on_input(ctx: ExtensionContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::ExtensionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `matches` [INFO] [stdout] --> src/extension/mod.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches(input, "zero width space", 60); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches!(input, "zero width space", 60); [INFO] [stdout] | + [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtensionResponse` [INFO] [stdout] --> src/extension/mod.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ExtensionResponse::builder(&ctx.name, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ExtensionResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::response::ExtensionResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] --> src/extension/mod.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 17 | ExtensionResponseIcon::themed("spacer-symbolic") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::response::ExtensionResponseIcon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 233) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ExtensionContext` in this scope [INFO] [stdout] --> src/extension/mod.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn on_input(ctx: ExtensionContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::ExtensionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PREFIX` in this scope [INFO] [stdout] --> src/extension/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 8 | let prefix = &*PREFIX.lock().unwrap(); [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: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 163) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/extension/mod.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 19 | info!("hello! i was clicked"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtensionContext` in this scope [INFO] [stdout] --> src/extension/mod.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn on_input(ctx: ExtensionContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::ExtensionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `matches` [INFO] [stdout] --> src/extension/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches(input, "zero width space", 60); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | let matched = matches!(input, "zero width space", 60); [INFO] [stdout] | + [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::matches; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtensionResponse` [INFO] [stdout] --> src/extension/mod.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ExtensionResponse::builder(&ctx.name, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ExtensionResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::response::ExtensionResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] --> src/extension/mod.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 17 | ExtensionResponseIcon::themed("spacer-symbolic"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::response::ExtensionResponseIcon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension/mod.rs - extension (line 188) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/extension/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 3 | response.line_on_enter( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] --> src/extension/mod.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 6 | ExtensionResponseIcon::themed("spacer-symbolic"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ExtensionResponseIcon` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::extension::response::ExtensionResponseIcon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `copy_to_clipboard` in this scope [INFO] [stdout] --> src/extension/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 8 | copy_to_clipboard("\u{200B}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dlauncher::util::copy_to_clipboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/extension/config.rs - extension::config::ExtensionConfig::get (line 95) [INFO] [stdout] src/extension/config.rs - extension::config::ExtensionConfig::set (line 76) [INFO] [stdout] src/extension/mod.rs - extension (line 114) [INFO] [stdout] src/extension/mod.rs - extension (line 131) [INFO] [stdout] src/extension/mod.rs - extension (line 163) [INFO] [stdout] src/extension/mod.rs - extension (line 188) [INFO] [stdout] src/extension/mod.rs - extension (line 209) [INFO] [stdout] src/extension/mod.rs - extension (line 216) [INFO] [stdout] src/extension/mod.rs - extension (line 23) [INFO] [stdout] src/extension/mod.rs - extension (line 233) [INFO] [stdout] src/extension/mod.rs - extension (line 78) [INFO] [stdout] src/util.rs - util::xdg_open (line 189) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3e58ece1c267e4a4483f1f60911a43c4d0d0396d0903c5eeff2b1ea379e825ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e58ece1c267e4a4483f1f60911a43c4d0d0396d0903c5eeff2b1ea379e825ef", kill_on_drop: false }` [INFO] [stdout] 3e58ece1c267e4a4483f1f60911a43c4d0d0396d0903c5eeff2b1ea379e825ef