[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fdesktopd" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subgraph/desktopd on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-2/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v0.3.3 [INFO] [stderr] Downloaded env_logger v0.5.3 [INFO] [stderr] Downloaded wincolor v0.1.5 [INFO] [stderr] Downloaded inotify-sys v0.1.2 [INFO] [stderr] Downloaded inotify v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 201f7c492f1aa3a9f835ecf129c849cb0f2c132fbe373b305442729cff2b1ede [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" "201f7c492f1aa3a9f835ecf129c849cb0f2c132fbe373b305442729cff2b1ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "201f7c492f1aa3a9f835ecf129c849cb0f2c132fbe373b305442729cff2b1ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201f7c492f1aa3a9f835ecf129c849cb0f2c132fbe373b305442729cff2b1ede", kill_on_drop: false }` [INFO] [stdout] 201f7c492f1aa3a9f835ecf129c849cb0f2c132fbe373b305442729cff2b1ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7450a3e77a44e43dcf304e49f341a5c4e1192912648471dc153045343f654ec [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" "a7450a3e77a44e43dcf304e49f341a5c4e1192912648471dc153045343f654ec", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling inotify-sys v0.1.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling inotify v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling env_logger v0.5.3 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 24.31s [INFO] running `Command { std: "docker" "inspect" "a7450a3e77a44e43dcf304e49f341a5c4e1192912648471dc153045343f654ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7450a3e77a44e43dcf304e49f341a5c4e1192912648471dc153045343f654ec", kill_on_drop: false }` [INFO] [stdout] a7450a3e77a44e43dcf304e49f341a5c4e1192912648471dc153045343f654ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", 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] 0a983ca79aea6cae7621680bc7ae070b334c58044ae4de5e2f9327b54e4eee06 [INFO] running `Command { std: "docker" "start" "-a" "0a983ca79aea6cae7621680bc7ae070b334c58044ae4de5e2f9327b54e4eee06", 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 1.79s [INFO] running `Command { std: "docker" "inspect" "0a983ca79aea6cae7621680bc7ae070b334c58044ae4de5e2f9327b54e4eee06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a983ca79aea6cae7621680bc7ae070b334c58044ae4de5e2f9327b54e4eee06", kill_on_drop: false }` [INFO] [stdout] 0a983ca79aea6cae7621680bc7ae070b334c58044ae4de5e2f9327b54e4eee06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4768b27f907526a33a45e1f79a1232171aa50fea399bdf002812bfcdec6a2894 [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" "4768b27f907526a33a45e1f79a1232171aa50fea399bdf002812bfcdec6a2894", 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] [stderr] Blocking waiting for file lock on package cache [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.73s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/desktopd-9b5ccd35d9bd332f) [INFO] [stdout] [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" "4768b27f907526a33a45e1f79a1232171aa50fea399bdf002812bfcdec6a2894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4768b27f907526a33a45e1f79a1232171aa50fea399bdf002812bfcdec6a2894", kill_on_drop: false }` [INFO] [stdout] 4768b27f907526a33a45e1f79a1232171aa50fea399bdf002812bfcdec6a2894