[INFO] cloning repository https://github.com/subgraph/desktopd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/subgraph/desktopd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fdesktopd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fdesktopd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62837261f8f80c102c9f093398aa7f60b55e64df [INFO] testing subgraph/desktopd against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fdesktopd" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subgraph/desktopd on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/subgraph/desktopd [INFO] finished tweaking git repo https://github.com/subgraph/desktopd [INFO] tweaked toml for git repo https://github.com/subgraph/desktopd written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/subgraph/desktopd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inotify-sys v0.1.2 [INFO] [stderr] Downloaded wincolor v0.1.5 [INFO] [stderr] Downloaded inotify v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04c5207486992beaf657bad29693e560b3682dcca8b4ecb4ed0b278a561ea5b0 [INFO] running `Command { std: "docker" "start" "-a" "04c5207486992beaf657bad29693e560b3682dcca8b4ecb4ed0b278a561ea5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04c5207486992beaf657bad29693e560b3682dcca8b4ecb4ed0b278a561ea5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c5207486992beaf657bad29693e560b3682dcca8b4ecb4ed0b278a561ea5b0", kill_on_drop: false }` [INFO] [stdout] 04c5207486992beaf657bad29693e560b3682dcca8b4ecb4ed0b278a561ea5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeb89a9ae896b680be66ba11b493a65628f44db0bc6c9849227795114a5aec5d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aeb89a9ae896b680be66ba11b493a65628f44db0bc6c9849227795114a5aec5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling inotify-sys v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling inotify v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling env_logger v0.5.3 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling desktopd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | event_handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:77:86 [INFO] [stdout] | [INFO] [stdout] 77 | fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stdout] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stdout] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stdout] ... | [INFO] [stdout] 29 | | ].iter().cloned().collect(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stdout] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stdout] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stdout] ... | [INFO] [stdout] 29 | | ].iter().cloned().collect(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/monitor.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc,Mutex,Once,ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/monitor.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | static INITIALIZE_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.98s [INFO] running `Command { std: "docker" "inspect" "aeb89a9ae896b680be66ba11b493a65628f44db0bc6c9849227795114a5aec5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb89a9ae896b680be66ba11b493a65628f44db0bc6c9849227795114a5aec5d", kill_on_drop: false }` [INFO] [stdout] aeb89a9ae896b680be66ba11b493a65628f44db0bc6c9849227795114a5aec5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfad566ec7739d3f8389d5c6416a38f100cc61ce79fcaa7255feeb50c476106e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cfad566ec7739d3f8389d5c6416a38f100cc61ce79fcaa7255feeb50c476106e", kill_on_drop: false }` [INFO] [stderr] Compiling desktopd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | event_handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monitor.rs:77:86 [INFO] [stdout] | [INFO] [stdout] 77 | fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stdout] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stdout] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stdout] ... | [INFO] [stdout] 29 | | ].iter().cloned().collect(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stdout] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stdout] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stdout] ... | [INFO] [stdout] 29 | | ].iter().cloned().collect(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/monitor.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc,Mutex,Once,ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/monitor.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | static INITIALIZE_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "cfad566ec7739d3f8389d5c6416a38f100cc61ce79fcaa7255feeb50c476106e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfad566ec7739d3f8389d5c6416a38f100cc61ce79fcaa7255feeb50c476106e", kill_on_drop: false }` [INFO] [stdout] cfad566ec7739d3f8389d5c6416a38f100cc61ce79fcaa7255feeb50c476106e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8607862f4e158a51019d1be2d3600c5ef073d564036e779a12cfcddf59aa2e17 [INFO] running `Command { std: "docker" "start" "-a" "8607862f4e158a51019d1be2d3600c5ef073d564036e779a12cfcddf59aa2e17", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/monitor.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | event_handler: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/monitor.rs:29:35 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/monitor.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | handler: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/monitor.rs:58:67 [INFO] [stderr] | [INFO] [stderr] 58 | fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/monitor.rs:77:86 [INFO] [stderr] | [INFO] [stderr] 77 | fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MonitorEventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stderr] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stderr] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stderr] ... | [INFO] [stderr] 29 | | ].iter().cloned().collect(); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/parser.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | // These are the keys which are copied into the translated .desktop files [INFO] [stderr] 11 | | static ref KEY_WHITELIST: HashSet<&'static str> = [ [INFO] [stderr] 12 | | "Type", "Version", "Name", "GenericName", "NoDisplay", "Comment", "Icon", "Hidden", [INFO] [stderr] ... | [INFO] [stderr] 29 | | ].iter().cloned().collect(); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/monitor.rs:3:32 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::{Arc,Mutex,Once,ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/monitor.rs:196:32 [INFO] [stderr] | [INFO] [stderr] 196 | static INITIALIZE_ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: `desktopd` (bin "desktopd" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/desktopd-e2ac746b5d10c8e4) [INFO] [stdout] running 1 test [INFO] [stdout] test parser::test_parser ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8607862f4e158a51019d1be2d3600c5ef073d564036e779a12cfcddf59aa2e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8607862f4e158a51019d1be2d3600c5ef073d564036e779a12cfcddf59aa2e17", kill_on_drop: false }` [INFO] [stdout] 8607862f4e158a51019d1be2d3600c5ef073d564036e779a12cfcddf59aa2e17