[INFO] cloning repository https://github.com/vhtq18w/rust_notify_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vhtq18w/rust_notify_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhtq18w%2Frust_notify_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhtq18w%2Frust_notify_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 170092c1702e36722e562d187e32f7a003cb5dc8 [INFO] testing vhtq18w/rust_notify_demo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhtq18w%2Frust_notify_demo" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vhtq18w/rust_notify_demo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vhtq18w/rust_notify_demo [INFO] finished tweaking git repo https://github.com/vhtq18w/rust_notify_demo [INFO] tweaked toml for git repo https://github.com/vhtq18w/rust_notify_demo written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/vhtq18w/rust_notify_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded fsevent v0.2.17 [INFO] [stderr] Downloaded fsevent-sys v0.1.6 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded filetime v0.1.15 [INFO] [stderr] Downloaded regex v1.3.4 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded regex-syntax v0.6.15 [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded inotify v0.2.3 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded notify v2.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c00443d98282bcec3f4a287404e8787570ce0a31cd57cabe198068633a1cb2ac [INFO] running `Command { std: "docker" "start" "-a" "c00443d98282bcec3f4a287404e8787570ce0a31cd57cabe198068633a1cb2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c00443d98282bcec3f4a287404e8787570ce0a31cd57cabe198068633a1cb2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c00443d98282bcec3f4a287404e8787570ce0a31cd57cabe198068633a1cb2ac", kill_on_drop: false }` [INFO] [stdout] c00443d98282bcec3f4a287404e8787570ce0a31cd57cabe198068633a1cb2ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f3bb1e0a605cd6e3042a35e05e729d4160a171f6798ce074c213ca0080e8d8e [INFO] running `Command { std: "docker" "start" "-a" "6f3bb1e0a605cd6e3042a35e05e729d4160a171f6798ce074c213ca0080e8d8e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.15 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling inotify v0.2.3 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling notify v2.6.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rust_notify_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | watches: HashMap>>, [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] 16 - watches: HashMap>>, [INFO] [stdout] 16 + watches: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [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] 32 - pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stdout] 32 + pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | let mut actions: Vec> = vec![]; [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] 64 - let mut actions: Vec> = vec![]; [INFO] [stdout] 64 + let mut actions: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_help` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | flag_help: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_version` [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | flag_version: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.80s [INFO] running `Command { std: "docker" "inspect" "6f3bb1e0a605cd6e3042a35e05e729d4160a171f6798ce074c213ca0080e8d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3bb1e0a605cd6e3042a35e05e729d4160a171f6798ce074c213ca0080e8d8e", kill_on_drop: false }` [INFO] [stdout] 6f3bb1e0a605cd6e3042a35e05e729d4160a171f6798ce074c213ca0080e8d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f8575cb9b76ec67986811c674599ed8ef14e218236a30445620c95dd3fbb308 [INFO] running `Command { std: "docker" "start" "-a" "8f8575cb9b76ec67986811c674599ed8ef14e218236a30445620c95dd3fbb308", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_notify_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | watches: HashMap>>, [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] 16 - watches: HashMap>>, [INFO] [stdout] 16 + watches: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [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] 32 - pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stdout] 32 + pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | let mut actions: Vec> = vec![]; [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] 64 - let mut actions: Vec> = vec![]; [INFO] [stdout] 64 + let mut actions: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let actions: Vec> = Vec::new(); [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] 102 - let actions: Vec> = Vec::new(); [INFO] [stdout] 102 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let actions1: Vec> = Vec::new(); [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] 127 - let actions1: Vec> = Vec::new(); [INFO] [stdout] 127 + let actions1: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | let actions2: Vec> = Vec::new(); [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] 128 - let actions2: Vec> = Vec::new(); [INFO] [stdout] 128 + let actions2: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | let actions: Vec> = Vec::new(); [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] 165 - let actions: Vec> = Vec::new(); [INFO] [stdout] 165 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | let actions: Vec> = vec![Box::new(print)]; [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] 186 - let actions: Vec> = vec![Box::new(print)]; [INFO] [stdout] 186 + let actions: Vec> = vec![Box::new(print)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/files_watcher.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | let actions: Vec> = vec![ [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] 212 - let actions: Vec> = vec![ [INFO] [stdout] 212 + let actions: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_help` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | flag_help: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_version` [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | flag_version: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.03s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f8575cb9b76ec67986811c674599ed8ef14e218236a30445620c95dd3fbb308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8575cb9b76ec67986811c674599ed8ef14e218236a30445620c95dd3fbb308", kill_on_drop: false }` [INFO] [stdout] 8f8575cb9b76ec67986811c674599ed8ef14e218236a30445620c95dd3fbb308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5314236cae32668f61bf5ee67565b9adcab0eb0ddb3b76cecb285274470381c6 [INFO] running `Command { std: "docker" "start" "-a" "5314236cae32668f61bf5ee67565b9adcab0eb0ddb3b76cecb285274470381c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:16:39 [INFO] [stderr] | [INFO] [stderr] 16 | watches: HashMap>>, [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] 16 - watches: HashMap>>, [INFO] [stderr] 16 + watches: HashMap>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:32:64 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [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] 32 - pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stderr] 32 + pub fn add_file(&mut self, path: PathBuf, actions: Vec>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:30 [INFO] [stderr] | [INFO] [stderr] 64 | let mut actions: Vec> = vec![]; [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] 64 - let mut actions: Vec> = vec![]; [INFO] [stderr] 64 + let mut actions: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:102:30 [INFO] [stderr] | [INFO] [stderr] 102 | let actions: Vec> = Vec::new(); [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] 102 - let actions: Vec> = Vec::new(); [INFO] [stderr] 102 + let actions: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:127:31 [INFO] [stderr] | [INFO] [stderr] 127 | let actions1: Vec> = Vec::new(); [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] 127 - let actions1: Vec> = Vec::new(); [INFO] [stderr] 127 + let actions1: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:128:31 [INFO] [stderr] | [INFO] [stderr] 128 | let actions2: Vec> = Vec::new(); [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] 128 - let actions2: Vec> = Vec::new(); [INFO] [stderr] 128 + let actions2: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:165:30 [INFO] [stderr] | [INFO] [stderr] 165 | let actions: Vec> = Vec::new(); [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] 165 - let actions: Vec> = Vec::new(); [INFO] [stderr] 165 + let actions: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:186:30 [INFO] [stderr] | [INFO] [stderr] 186 | let actions: Vec> = vec![Box::new(print)]; [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] 186 - let actions: Vec> = vec![Box::new(print)]; [INFO] [stderr] 186 + let actions: Vec> = vec![Box::new(print)]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/files_watcher.rs:212:30 [INFO] [stderr] | [INFO] [stderr] 212 | let actions: Vec> = vec![ [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] 212 - let actions: Vec> = vec![ [INFO] [stderr] 212 + let actions: Vec> = vec![ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flag_help` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | flag_help: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flag_version` [INFO] [stderr] --> src/main.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | flag_version: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust_notify_demo` (bin "rust_notify_demo" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_notify_demo-8a01d491799fbcfe) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test actions::command::test::constructor ... ok [INFO] [stdout] test actions::print::test::constructor ... ok [INFO] [stdout] test actions::print::test::handle_change ... ok [INFO] [stdout] test actions::command::test::handle_change_missing_command ... ok [INFO] [stdout] test actions::command::test::handle_change_existing_command ... ok [INFO] [stdout] test files_watcher::test::watch_file_and_execute_one_print_action ... ok [INFO] [stdout] test files_watcher::test::watch_file_and_execute_no_actions ... ok [INFO] [stdout] test files_watcher::test::watch_two_files ... ok [INFO] [stdout] test files_watcher::test::watch_file_and_execute_five_print_actions ... ok [INFO] [stdout] test files_watcher::test::watch_a_single_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5314236cae32668f61bf5ee67565b9adcab0eb0ddb3b76cecb285274470381c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5314236cae32668f61bf5ee67565b9adcab0eb0ddb3b76cecb285274470381c6", kill_on_drop: false }` [INFO] [stdout] 5314236cae32668f61bf5ee67565b9adcab0eb0ddb3b76cecb285274470381c6