[INFO] cloning repository https://github.com/proxin187/xrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proxin187/xrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fxrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fxrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f24e93b4e2971b7cf0fd3af59637687c12f102c5 [INFO] testing proxin187/xrs against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fxrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/proxin187/xrs [INFO] finished tweaking git repo https://github.com/proxin187/xrs [INFO] tweaked toml for git repo https://github.com/proxin187/xrs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/proxin187/xrs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d61f892b8b0dcc854fce474279f6c74c0300cd38179402b013068ec3c299b83 [INFO] running `Command { std: "docker" "start" "-a" "0d61f892b8b0dcc854fce474279f6c74c0300cd38179402b013068ec3c299b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d61f892b8b0dcc854fce474279f6c74c0300cd38179402b013068ec3c299b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d61f892b8b0dcc854fce474279f6c74c0300cd38179402b013068ec3c299b83", kill_on_drop: false }` [INFO] [stdout] 0d61f892b8b0dcc854fce474279f6c74c0300cd38179402b013068ec3c299b83 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b574c2ed42ad05400ce048c5e1587a7210c938ef8693fe1c4cdcd0d4db86f916 [INFO] running `Command { std: "docker" "start" "-a" "b574c2ed42ad05400ce048c5e1587a7210c938ef8693fe1c4cdcd0d4db86f916", kill_on_drop: false }` [INFO] [stderr] Compiling yaxi v0.1.57 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Cache` is more private than the item `display::Display::atom_cache` [INFO] [stdout] --> src/display/mod.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub(crate) atom_cache: Cache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `display::Display::atom_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Cache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/display/mod.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | struct Cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/display/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Depth { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 260 | depth: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Depth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roots` is never read [INFO] [stdout] --> src/display/mod.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 813 | pub struct EventListener { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 818 | roots: Roots, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `address`, and `number` are never read [INFO] [stdout] --> src/display/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | family: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | address: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | number: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/display/parse.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DisplayInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(host: String, protocol: Protocol, display: u16, screen: u16) -> DisplayInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/display/parse.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'a> Iter<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn expect(&mut self, expect: char) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/display/parse.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "b574c2ed42ad05400ce048c5e1587a7210c938ef8693fe1c4cdcd0d4db86f916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b574c2ed42ad05400ce048c5e1587a7210c938ef8693fe1c4cdcd0d4db86f916", kill_on_drop: false }` [INFO] [stdout] b574c2ed42ad05400ce048c5e1587a7210c938ef8693fe1c4cdcd0d4db86f916 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a096600899169c350ef22baf94b2d1d043d98c254686eb31e727a635fb90a62d [INFO] running `Command { std: "docker" "start" "-a" "a096600899169c350ef22baf94b2d1d043d98c254686eb31e727a635fb90a62d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling yaxi v0.1.57 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/clipboard/context.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | size: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selection` [INFO] [stdout] --> src/clipboard/model.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `display::Cache` is more private than the item `display::Display::atom_cache` [INFO] [stdout] --> src/display/mod.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub(crate) atom_cache: Cache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `display::Display::atom_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `display::Cache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/display/mod.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | struct Cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/display/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Depth { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 260 | depth: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Depth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roots` is never read [INFO] [stdout] --> src/display/mod.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 813 | pub struct EventListener { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 818 | roots: Roots, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `address`, and `number` are never read [INFO] [stdout] --> src/display/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | family: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | address: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | number: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/display/parse.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DisplayInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(host: String, protocol: Protocol, display: u16, screen: u16) -> DisplayInfo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/display/parse.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'a> Iter<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn expect(&mut self, expect: char) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `secondary` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) struct SelectionAtoms { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | pub(super) clipboard: Atom, [INFO] [stdout] 22 | pub(super) primary: Atom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub(super) secondary: Atom, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `none` and `integer` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct ProtocolAtoms { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub none: Atom, // "NONE" [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub integer: Atom, // "INTEGER" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `text`, `plain`, `rtf`, and `pdf` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct FormatAtoms { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) string: Atom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub(super) text: Atom, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub(super) plain: Atom, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub(super) html: Atom, [INFO] [stdout] 52 | pub(super) rtf: Atom, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(super) pdf: Atom, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_selection_owner`, `delete_property`, and `change_property` are never used [INFO] [stdout] --> src/clipboard/context.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) fn get_selection_owner(&self, selection: Atom) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(super) fn delete_property(&self, property: Atom) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(super) fn change_property( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/clipboard/event.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl EventLoop { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `stop` are never used [INFO] [stdout] --> src/clipboard/event.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 185 | impl EventHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub(super) fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub(super) fn stop(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetSize` is never constructed [INFO] [stdout] --> src/clipboard/model.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct TargetSize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clipboard/model.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl TargetSize { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 18 | pub(super) fn new(target: Atom, size: i32) -> TargetSize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `set_all`, `remove`, and `clear` are never used [INFO] [stdout] --> src/clipboard/model.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(super) fn set_all(&self, selection: Atom, data: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(super) fn remove(&self, selection: Atom, target: Atom) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_target_size` and `get_target_sizes` are never used [INFO] [stdout] --> src/clipboard/model.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 134 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn get_target_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(super) fn get_target_sizes(&self, selection: Atom) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format` and `len` are never used [INFO] [stdout] --> src/clipboard/model.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 216 | impl ClipboardData { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub(super) fn format(&self) -> Atom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub(super) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_completed` is never used [INFO] [stdout] --> src/clipboard/model.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 341 | impl Handover { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 374 | pub(super) fn is_completed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/display/parse.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/clipboard/context.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | size: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selection` [INFO] [stdout] --> src/clipboard/model.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `display::Cache` is more private than the item `display::Display::atom_cache` [INFO] [stdout] --> src/display/mod.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub(crate) atom_cache: Cache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `display::Display::atom_cache` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `display::Cache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/display/mod.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | struct Cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/display/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct Depth { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 260 | depth: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Depth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roots` is never read [INFO] [stdout] --> src/display/mod.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 813 | pub struct EventListener { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 818 | roots: Roots, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `address`, and `number` are never read [INFO] [stdout] --> src/display/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | family: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | address: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | number: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/display/parse.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'a> Iter<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn expect(&mut self, expect: char) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary` and `secondary` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) struct SelectionAtoms { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 21 | pub(super) clipboard: Atom, [INFO] [stdout] 22 | pub(super) primary: Atom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub(super) secondary: Atom, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectionAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `none` and `integer` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct ProtocolAtoms { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub none: Atom, // "NONE" [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub integer: Atom, // "INTEGER" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `text`, `plain`, `rtf`, and `pdf` are never read [INFO] [stdout] --> src/clipboard/atoms.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct FormatAtoms { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) string: Atom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub(super) text: Atom, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub(super) plain: Atom, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub(super) html: Atom, [INFO] [stdout] 52 | pub(super) rtf: Atom, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(super) pdf: Atom, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_selection_owner`, `delete_property`, and `change_property` are never used [INFO] [stdout] --> src/clipboard/context.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) fn get_selection_owner(&self, selection: Atom) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(super) fn delete_property(&self, property: Atom) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(super) fn change_property( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/clipboard/event.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl EventLoop { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `stop` are never used [INFO] [stdout] --> src/clipboard/event.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 185 | impl EventHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub(super) fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub(super) fn stop(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetSize` is never constructed [INFO] [stdout] --> src/clipboard/model.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct TargetSize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clipboard/model.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl TargetSize { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 18 | pub(super) fn new(target: Atom, size: i32) -> TargetSize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `set_all`, `remove`, and `clear` are never used [INFO] [stdout] --> src/clipboard/model.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(super) fn set_all(&self, selection: Atom, data: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(super) fn remove(&self, selection: Atom, target: Atom) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_target_size` and `get_target_sizes` are never used [INFO] [stdout] --> src/clipboard/model.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 134 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn get_target_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(super) fn get_target_sizes(&self, selection: Atom) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format` and `len` are never used [INFO] [stdout] --> src/clipboard/model.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 216 | impl ClipboardData { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub(super) fn format(&self) -> Atom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub(super) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_completed` is never used [INFO] [stdout] --> src/clipboard/model.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 341 | impl Handover { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 374 | pub(super) fn is_completed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/display/parse.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(chars: Peekable>) -> Iter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.88s [INFO] running `Command { std: "docker" "inspect" "a096600899169c350ef22baf94b2d1d043d98c254686eb31e727a635fb90a62d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a096600899169c350ef22baf94b2d1d043d98c254686eb31e727a635fb90a62d", kill_on_drop: false }` [INFO] [stdout] a096600899169c350ef22baf94b2d1d043d98c254686eb31e727a635fb90a62d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75e8972b761dae0a5c5f6af6ff7e0059d1470879f6e4b983dba6488ea2d2fcff [INFO] running `Command { std: "docker" "start" "-a" "75e8972b761dae0a5c5f6af6ff7e0059d1470879f6e4b983dba6488ea2d2fcff", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/clipboard/context.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | size: u32, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `selection` [INFO] [stderr] --> src/clipboard/model.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection` [INFO] [stderr] [INFO] [stderr] warning: type `display::Cache` is more private than the item `display::Display::atom_cache` [INFO] [stderr] --> src/display/mod.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | pub(crate) atom_cache: Cache, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `display::Display::atom_cache` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `display::Cache` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/display/mod.rs:214:1 [INFO] [stderr] | [INFO] [stderr] 214 | struct Cache { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `depth` is never read [INFO] [stderr] --> src/display/mod.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 259 | pub struct Depth { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 260 | depth: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Depth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `roots` is never read [INFO] [stderr] --> src/display/mod.rs:818:5 [INFO] [stderr] | [INFO] [stderr] 813 | pub struct EventListener { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 818 | roots: Roots, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `family`, `address`, and `number` are never read [INFO] [stderr] --> src/display/auth.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Entry { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 10 | family: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | address: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | number: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/display/parse.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 40 | impl DisplayInfo { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 41 | pub fn new(host: String, protocol: Protocol, display: u16, screen: u16) -> DisplayInfo { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `expect` is never used [INFO] [stderr] --> src/display/parse.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl<'a> Iter<'a> { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn expect(&mut self, expect: char) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `primary` and `secondary` are never read [INFO] [stderr] --> src/clipboard/atoms.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 20 | pub(super) struct SelectionAtoms { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 21 | pub(super) clipboard: Atom, [INFO] [stderr] 22 | pub(super) primary: Atom, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | pub(super) secondary: Atom, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SelectionAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `none` and `integer` are never read [INFO] [stderr] --> src/clipboard/atoms.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub(super) struct ProtocolAtoms { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 39 | pub none: Atom, // "NONE" [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub integer: Atom, // "INTEGER" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProtocolAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `string`, `text`, `plain`, `rtf`, and `pdf` are never read [INFO] [stderr] --> src/clipboard/atoms.rs:48:16 [INFO] [stderr] | [INFO] [stderr] 44 | pub(super) struct FormatAtoms { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | pub(super) string: Atom, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 49 | pub(super) text: Atom, [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | pub(super) plain: Atom, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 51 | pub(super) html: Atom, [INFO] [stderr] 52 | pub(super) rtf: Atom, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub(super) pdf: Atom, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FormatAtoms` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `get_selection_owner`, `delete_property`, and `change_property` are never used [INFO] [stderr] --> src/clipboard/context.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 19 | impl Context { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub(super) fn get_selection_owner(&self, selection: Atom) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub(super) fn delete_property(&self, property: Atom) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub(super) fn change_property( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/clipboard/event.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 31 | impl EventLoop { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `stop` are never used [INFO] [stderr] --> src/clipboard/event.rs:254:19 [INFO] [stderr] | [INFO] [stderr] 185 | impl EventHandler { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 254 | pub(super) fn get( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 367 | pub(super) fn stop(&self) -> Result<(), Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TargetSize` is never constructed [INFO] [stderr] --> src/clipboard/model.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub(super) struct TargetSize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/clipboard/model.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 17 | impl TargetSize { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 18 | pub(super) fn new(target: Atom, size: i32) -> TargetSize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_all`, `set_all`, `remove`, and `clear` are never used [INFO] [stderr] --> src/clipboard/model.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 33 | impl Cache { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub(super) fn get_all(&self, selection: Atom) -> Result>, Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub(super) fn set_all(&self, selection: Atom, data: Vec) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub(super) fn remove(&self, selection: Atom, target: Atom) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub(super) fn clear(&self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_target_size` and `get_target_sizes` are never used [INFO] [stderr] --> src/clipboard/model.rs:153:19 [INFO] [stderr] | [INFO] [stderr] 134 | impl Cache { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 153 | pub(crate) fn get_target_size( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 170 | pub(super) fn get_target_sizes(&self, selection: Atom) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `format` and `len` are never used [INFO] [stderr] --> src/clipboard/model.rs:235:19 [INFO] [stderr] | [INFO] [stderr] 216 | impl ClipboardData { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 235 | pub(super) fn format(&self) -> Atom { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 243 | pub(super) fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_completed` is never used [INFO] [stderr] --> src/clipboard/model.rs:374:19 [INFO] [stderr] | [INFO] [stderr] 341 | impl Handover { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 374 | pub(super) fn is_completed(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/display/parse.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(chars: Peekable>) -> Iter { [INFO] [stderr] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(chars: Peekable>) -> Iter<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `yaxi` (lib) generated 21 warnings [INFO] [stderr] warning: `yaxi` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yaxi-62d76c222b5a0d35) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test display::parse::tests::test_tcp ... FAILED [INFO] [stdout] test display::parse::tests::test_simple ... FAILED [INFO] [stdout] test display::parse::tests::test_unix ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- display::parse::tests::test_tcp stdout ---- [INFO] [stdout] Error: invalid $DISPLAY format [INFO] [stdout] [INFO] [stdout] ---- display::parse::tests::test_simple stdout ---- [INFO] [stdout] Error: invalid $DISPLAY format [INFO] [stdout] [INFO] [stdout] ---- display::parse::tests::test_unix stdout ---- [INFO] [stdout] Error: invalid $DISPLAY format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] display::parse::tests::test_simple [INFO] [stdout] display::parse::tests::test_tcp [INFO] [stdout] display::parse::tests::test_unix [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "75e8972b761dae0a5c5f6af6ff7e0059d1470879f6e4b983dba6488ea2d2fcff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e8972b761dae0a5c5f6af6ff7e0059d1470879f6e4b983dba6488ea2d2fcff", kill_on_drop: false }` [INFO] [stdout] 75e8972b761dae0a5c5f6af6ff7e0059d1470879f6e4b983dba6488ea2d2fcff