[INFO] updating cached repository https://github.com/subgraph/desktopd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62837261f8f80c102c9f093398aa7f60b55e64df [INFO] testing subgraph/desktopd against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fdesktopd" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subgraph/desktopd on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-86/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" "+beta-2022-04-10" "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-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74e18006ed9267ccd9e71dd5392319ecc0db0af70e287c05c4ff108d92be6607 [INFO] running `Command { std: "docker" "start" "-a" "74e18006ed9267ccd9e71dd5392319ecc0db0af70e287c05c4ff108d92be6607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e18006ed9267ccd9e71dd5392319ecc0db0af70e287c05c4ff108d92be6607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e18006ed9267ccd9e71dd5392319ecc0db0af70e287c05c4ff108d92be6607", kill_on_drop: false }` [INFO] [stdout] 74e18006ed9267ccd9e71dd5392319ecc0db0af70e287c05c4ff108d92be6607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ad4e6a4875adc89bd5aec13dda7a6cc5881eff24d8e1d2b4a28150a265e043 [INFO] running `Command { std: "docker" "start" "-a" "a5ad4e6a4875adc89bd5aec13dda7a6cc5881eff24d8e1d2b4a28150a265e043", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [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-iter v0.1.35 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling inotify v0.5.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.4.0 [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 failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling env_logger v0.5.3 [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: 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: 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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - event_handler: Arc>, [INFO] [stdout] 24 + event_handler: Arc>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - handler: Arc>, [INFO] [stdout] 53 + handler: Arc>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] 29 + pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] 58 + fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] 77 + fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "a5ad4e6a4875adc89bd5aec13dda7a6cc5881eff24d8e1d2b4a28150a265e043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ad4e6a4875adc89bd5aec13dda7a6cc5881eff24d8e1d2b4a28150a265e043", kill_on_drop: false }` [INFO] [stdout] a5ad4e6a4875adc89bd5aec13dda7a6cc5881eff24d8e1d2b4a28150a265e043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e499075e9c811517f6f9fc90077420a7f0b49241af441f1e40eff0321b3e2383 [INFO] running `Command { std: "docker" "start" "-a" "e499075e9c811517f6f9fc90077420a7f0b49241af441f1e40eff0321b3e2383", kill_on_drop: false }` [INFO] [stderr] Compiling desktopd v0.1.0 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - event_handler: Arc>, [INFO] [stdout] 24 + event_handler: Arc>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - handler: Arc>, [INFO] [stdout] 53 + handler: Arc>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] 29 + pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] 58 + fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] 77 + fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/desktopd-6c4a8c10f10abdac) [INFO] running `Command { std: "docker" "inspect" "e499075e9c811517f6f9fc90077420a7f0b49241af441f1e40eff0321b3e2383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e499075e9c811517f6f9fc90077420a7f0b49241af441f1e40eff0321b3e2383", kill_on_drop: false }` [INFO] [stdout] e499075e9c811517f6f9fc90077420a7f0b49241af441f1e40eff0321b3e2383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06ac014496c16b5a8f4592d822b88a6500b5610f42a71c09a31bed8fb9e3cd93 [INFO] running `Command { std: "docker" "start" "-a" "06ac014496c16b5a8f4592d822b88a6500b5610f42a71c09a31bed8fb9e3cd93", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - event_handler: Arc>, [INFO] [stderr] 24 + event_handler: Arc>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - handler: Arc>, [INFO] [stderr] 53 + handler: Arc>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stderr] 29 + pub fn new(handler: Arc>) -> DirectoryMonitor { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stderr] 58 + fn start_worker(watch_paths: Vec, handler: Arc>) -> WorkerHandle { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stderr] 77 + fn new(watch_paths: Vec, exit_flag: Arc, handler: Arc>) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `desktopd` (bin "desktopd" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/desktopd-6c4a8c10f10abdac) [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" "06ac014496c16b5a8f4592d822b88a6500b5610f42a71c09a31bed8fb9e3cd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ac014496c16b5a8f4592d822b88a6500b5610f42a71c09a31bed8fb9e3cd93", kill_on_drop: false }` [INFO] [stdout] 06ac014496c16b5a8f4592d822b88a6500b5610f42a71c09a31bed8fb9e3cd93