[INFO] fetching crate xdg-portal 0.2.0... [INFO] testing xdg-portal-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate xdg-portal 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate xdg-portal 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate xdg-portal 0.2.0 [INFO] tweaked toml for crates.io crate xdg-portal 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xdg-portal 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xdg-portal 0.2.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33566853c6e0b25066eaa0d2396fca546aa0a8e851561f12431ed29536739340 [INFO] running `Command { std: "docker" "start" "-a" "33566853c6e0b25066eaa0d2396fca546aa0a8e851561f12431ed29536739340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33566853c6e0b25066eaa0d2396fca546aa0a8e851561f12431ed29536739340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33566853c6e0b25066eaa0d2396fca546aa0a8e851561f12431ed29536739340", kill_on_drop: false }` [INFO] [stdout] 33566853c6e0b25066eaa0d2396fca546aa0a8e851561f12431ed29536739340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a45ee6796b759dc435ee86b83dd09383e9be878cd3e9107bc81fc8ea7cb5e09 [INFO] running `Command { std: "docker" "start" "-a" "1a45ee6796b759dc435ee86b83dd09383e9be878cd3e9107bc81fc8ea7cb5e09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling tokio v1.44.1 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [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] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Compiling zbus v5.5.0 [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.72s [INFO] running `Command { std: "docker" "inspect" "1a45ee6796b759dc435ee86b83dd09383e9be878cd3e9107bc81fc8ea7cb5e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a45ee6796b759dc435ee86b83dd09383e9be878cd3e9107bc81fc8ea7cb5e09", kill_on_drop: false }` [INFO] [stdout] 1a45ee6796b759dc435ee86b83dd09383e9be878cd3e9107bc81fc8ea7cb5e09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c0bb581d7214f1fdcbf3327aac09a76b05c3ed55013afafc3cee08fcec9c690 [INFO] running `Command { std: "docker" "start" "-a" "9c0bb581d7214f1fdcbf3327aac09a76b05c3ed55013afafc3cee08fcec9c690", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zbus v5.5.0 [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) 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 `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.48s [INFO] running `Command { std: "docker" "inspect" "9c0bb581d7214f1fdcbf3327aac09a76b05c3ed55013afafc3cee08fcec9c690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0bb581d7214f1fdcbf3327aac09a76b05c3ed55013afafc3cee08fcec9c690", kill_on_drop: false }` [INFO] [stdout] 9c0bb581d7214f1fdcbf3327aac09a76b05c3ed55013afafc3cee08fcec9c690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f6ac0f1ee3966234d4b264bfe92f44b7465a1b9e72a678a39d52322508adb23 [INFO] running `Command { std: "docker" "start" "-a" "5f6ac0f1ee3966234d4b264bfe92f44b7465a1b9e72a678a39d52322508adb23", kill_on_drop: false }` [INFO] [stderr] warning: the feature `cell_update` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(cell_update)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `handle_token` and `address` are never used [INFO] [stderr] --> src/proxy/email.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 37 | impl<'a> ZComposeEmailReq<'a> { [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn handle_token(mut self, handle_token: Option<&'a str>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn address(mut self, address: Option<&'a str>) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `files` is never used [INFO] [stderr] --> src/proxy/file_chooser.rs:218:10 [INFO] [stderr] | [INFO] [stderr] 197 | impl<'a> ZSaveFilesReq<'a> { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 218 | pub fn files(mut self, files: Option<&'a Vec<&'a [u8]>>) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `distance_threshold` and `accuracy` are never used [INFO] [stderr] --> src/proxy/location.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 40 | impl<'a> ZCreateSessionReq<'a> { [INFO] [stderr] | ------------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn distance_threshold(mut self, distance_threshold: Option) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn accuracy(mut self, accuracy: Option) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `markup_body` and `default_action_target` are never used [INFO] [stderr] --> src/proxy/notification.rs:72:10 [INFO] [stderr] | [INFO] [stderr] 45 | impl<'a> ZSendNotificationReq<'a> { [INFO] [stderr] | --------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn markup_body(mut self, markup_body: Option<&'a str>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn default_action_target(mut self, default_action_target: Option) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ZNotificationButton` is never constructed [INFO] [stderr] --> src/proxy/notification.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct ZNotificationButton<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ZNotificationIcon` is never used [INFO] [stderr] --> src/proxy/notification.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | pub enum ZNotificationIcon {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `restore_token` is never read [INFO] [stderr] --> src/proxy/screencast.rs:136:7 [INFO] [stderr] | [INFO] [stderr] 134 | pub struct ZStartRes { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 135 | pub streams: Vec<(u32, ZStartStream)>, [INFO] [stderr] 136 | pub restore_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ZStartRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `xdg-portal` (lib) generated 8 warnings [INFO] [stderr] warning: `xdg-portal` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: function `pick_color` is never used [INFO] [stderr] --> examples/screenshot.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | async fn pick_color() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/camera.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(let_chains)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> examples/memory_monitor.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | async move { if let Ok(level) = memory_monitor_portal.low_memory_warning().await {} }, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `save_file` is never used [INFO] [stderr] --> examples/file_chooser.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | async fn save_file() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `save_files` is never used [INFO] [stderr] --> examples/file_chooser.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | async fn save_files() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WallpaperPortal` [INFO] [stderr] --> examples/wallpaper.rs:4:70 [INFO] [stderr] | [INFO] [stderr] 4 | use xdg_portal::wallpaper::{SetWallpaperFileReq, SetWallpaperUriReq, WallpaperPortal}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `set_wallpaper_file` is never used [INFO] [stderr] --> examples/wallpaper.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | async fn set_wallpaper_file() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `xdg-portal` (example "screenshot") generated 1 warning [INFO] [stderr] warning: `xdg-portal` (example "camera") generated 1 warning [INFO] [stderr] warning: `xdg-portal` (example "memory_monitor") generated 1 warning [INFO] [stderr] warning: `xdg-portal` (example "file_chooser") generated 2 warnings [INFO] [stderr] warning: `xdg-portal` (example "wallpaper") generated 2 warnings (run `cargo fix --example "wallpaper"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xdg_portal-9a04801f51223643) [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 xdg_portal [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] running `Command { std: "docker" "inspect" "5f6ac0f1ee3966234d4b264bfe92f44b7465a1b9e72a678a39d52322508adb23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f6ac0f1ee3966234d4b264bfe92f44b7465a1b9e72a678a39d52322508adb23", kill_on_drop: false }` [INFO] [stdout] 5f6ac0f1ee3966234d4b264bfe92f44b7465a1b9e72a678a39d52322508adb23