[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 beta-2022-04-10 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 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/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" "+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-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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53064a60c416549c1b657501439f5c8215257e8752784b9e67222b4498289dd7 [INFO] running `Command { std: "docker" "start" "-a" "53064a60c416549c1b657501439f5c8215257e8752784b9e67222b4498289dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53064a60c416549c1b657501439f5c8215257e8752784b9e67222b4498289dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53064a60c416549c1b657501439f5c8215257e8752784b9e67222b4498289dd7", kill_on_drop: false }` [INFO] [stdout] 53064a60c416549c1b657501439f5c8215257e8752784b9e67222b4498289dd7 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c9f431314a9f1a2b3cbad57f010b5fa2957e944d7c3793edc538f6cfa3bb17 [INFO] running `Command { std: "docker" "start" "-a" "22c9f431314a9f1a2b3cbad57f010b5fa2957e944d7c3793edc538f6cfa3bb17", 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 syn v1.0.16 [INFO] [stderr] Compiling winapi v0.2.8 [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 regex-syntax v0.6.15 [INFO] [stderr] Compiling bytes v0.3.0 [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 aho-corasick v0.7.9 [INFO] [stderr] Compiling walkdir v0.1.8 [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 inotify v0.2.3 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling rand v0.4.6 [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 16.36s [INFO] running `Command { std: "docker" "inspect" "22c9f431314a9f1a2b3cbad57f010b5fa2957e944d7c3793edc538f6cfa3bb17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c9f431314a9f1a2b3cbad57f010b5fa2957e944d7c3793edc538f6cfa3bb17", kill_on_drop: false }` [INFO] [stdout] 22c9f431314a9f1a2b3cbad57f010b5fa2957e944d7c3793edc538f6cfa3bb17 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43848cb429079db52862f610bdf85201f687f7e9c56f164aa5cade08c1ac626b [INFO] running `Command { std: "docker" "start" "-a" "43848cb429079db52862f610bdf85201f687f7e9c56f164aa5cade08c1ac626b", kill_on_drop: false }` [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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_notify_demo-3c8ffbeb878413cd) [INFO] running `Command { std: "docker" "inspect" "43848cb429079db52862f610bdf85201f687f7e9c56f164aa5cade08c1ac626b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43848cb429079db52862f610bdf85201f687f7e9c56f164aa5cade08c1ac626b", kill_on_drop: false }` [INFO] [stdout] 43848cb429079db52862f610bdf85201f687f7e9c56f164aa5cade08c1ac626b [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e68f32cf83869a7ec198a2a9515d77295fd9cb299a795304fff9db48899cd01 [INFO] running `Command { std: "docker" "start" "-a" "7e68f32cf83869a7ec198a2a9515d77295fd9cb299a795304fff9db48899cd01", 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.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_notify_demo-3c8ffbeb878413cd) [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::command::test::handle_change_missing_command ... ok [INFO] [stdout] test actions::print::test::handle_change ... ok [INFO] [stdout] test actions::command::test::handle_change_existing_command ... ok [INFO] [stdout] test files_watcher::test::watch_a_single_file ... ok [INFO] [stdout] test files_watcher::test::watch_file_and_execute_no_actions ... 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_five_print_actions ... ok [INFO] [stdout] test files_watcher::test::watch_two_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e68f32cf83869a7ec198a2a9515d77295fd9cb299a795304fff9db48899cd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e68f32cf83869a7ec198a2a9515d77295fd9cb299a795304fff9db48899cd01", kill_on_drop: false }` [INFO] [stdout] 7e68f32cf83869a7ec198a2a9515d77295fd9cb299a795304fff9db48899cd01