[INFO] cloning repository https://github.com/dlzht/xdg-desktop-portal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dlzht/xdg-desktop-portal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Fxdg-desktop-portal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Fxdg-desktop-portal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a88e7922b6c3435de0d0e85e38de2b728564b85 [INFO] checking dlzht/xdg-desktop-portal against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Fxdg-desktop-portal" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dlzht/xdg-desktop-portal [INFO] finished tweaking git repo https://github.com/dlzht/xdg-desktop-portal [INFO] tweaked toml for git repo https://github.com/dlzht/xdg-desktop-portal written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dlzht/xdg-desktop-portal on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dlzht/xdg-desktop-portal 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39623fe7314f3ff80b5c62a77d5c49b78610d6fb51c075db6eee1a55c2cb6a9 [INFO] running `Command { std: "docker" "start" "-a" "c39623fe7314f3ff80b5c62a77d5c49b78610d6fb51c075db6eee1a55c2cb6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39623fe7314f3ff80b5c62a77d5c49b78610d6fb51c075db6eee1a55c2cb6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39623fe7314f3ff80b5c62a77d5c49b78610d6fb51c075db6eee1a55c2cb6a9", kill_on_drop: false }` [INFO] [stdout] c39623fe7314f3ff80b5c62a77d5c49b78610d6fb51c075db6eee1a55c2cb6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d38c3527f000ca8aaae6ee5922f1d3dca900f75e2b569bead0325ce5f5ccc821 [INFO] running `Command { std: "docker" "start" "-a" "d38c3527f000ca8aaae6ee5922f1d3dca900f75e2b569bead0325ce5f5ccc821", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Checking zbus v5.5.0 [INFO] [stderr] Checking xdg-portal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `cell_update` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(cell_update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `cell_update` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(cell_update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_token` and `address` are never used [INFO] [stdout] --> src/proxy/email.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> ZComposeEmailReq<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn handle_token(mut self, handle_token: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn address(mut self, address: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `files` is never used [INFO] [stdout] --> src/proxy/file_chooser.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'a> ZSaveFilesReq<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn files(mut self, files: Option<&'a Vec<&'a [u8]>>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_threshold` and `accuracy` are never used [INFO] [stdout] --> src/proxy/location.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> ZCreateSessionReq<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn distance_threshold(mut self, distance_threshold: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn accuracy(mut self, accuracy: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `markup_body` and `default_action_target` are never used [INFO] [stdout] --> src/proxy/notification.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a> ZSendNotificationReq<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn markup_body(mut self, markup_body: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn default_action_target(mut self, default_action_target: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZNotificationButton` is never constructed [INFO] [stdout] --> src/proxy/notification.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ZNotificationButton<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ZNotificationIcon` is never used [INFO] [stdout] --> src/proxy/notification.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum ZNotificationIcon {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `restore_token` is never read [INFO] [stdout] --> src/proxy/screencast.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ZStartRes { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 135 | pub streams: Vec<(u32, ZStartStream)>, [INFO] [stdout] 136 | pub restore_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZStartRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_token` and `address` are never used [INFO] [stdout] --> src/proxy/email.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> ZComposeEmailReq<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn handle_token(mut self, handle_token: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn address(mut self, address: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `files` is never used [INFO] [stdout] --> src/proxy/file_chooser.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'a> ZSaveFilesReq<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn files(mut self, files: Option<&'a Vec<&'a [u8]>>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_threshold` and `accuracy` are never used [INFO] [stdout] --> src/proxy/location.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> ZCreateSessionReq<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn distance_threshold(mut self, distance_threshold: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn accuracy(mut self, accuracy: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `markup_body` and `default_action_target` are never used [INFO] [stdout] --> src/proxy/notification.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a> ZSendNotificationReq<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn markup_body(mut self, markup_body: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn default_action_target(mut self, default_action_target: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZNotificationButton` is never constructed [INFO] [stdout] --> src/proxy/notification.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ZNotificationButton<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ZNotificationIcon` is never used [INFO] [stdout] --> src/proxy/notification.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum ZNotificationIcon {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `restore_token` is never read [INFO] [stdout] --> src/proxy/screencast.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ZStartRes { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 135 | pub streams: Vec<(u32, ZStartStream)>, [INFO] [stdout] 136 | pub restore_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZStartRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> examples/memory_monitor.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | async move { if let Ok(level) = memory_monitor_portal.low_memory_warning().await {} }, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_color` is never used [INFO] [stdout] --> examples/screenshot.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn pick_color() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> examples/file_chooser.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn save_file() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_files` is never used [INFO] [stdout] --> examples/file_chooser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | async fn save_files() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WallpaperPortal` [INFO] [stdout] --> examples/wallpaper.rs:4:70 [INFO] [stdout] | [INFO] [stdout] 4 | use xdg_portal::wallpaper::{SetWallpaperFileReq, SetWallpaperUriReq, WallpaperPortal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_wallpaper_file` is never used [INFO] [stdout] --> examples/wallpaper.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn set_wallpaper_file() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.16s [INFO] running `Command { std: "docker" "inspect" "d38c3527f000ca8aaae6ee5922f1d3dca900f75e2b569bead0325ce5f5ccc821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38c3527f000ca8aaae6ee5922f1d3dca900f75e2b569bead0325ce5f5ccc821", kill_on_drop: false }` [INFO] [stdout] d38c3527f000ca8aaae6ee5922f1d3dca900f75e2b569bead0325ce5f5ccc821