[INFO] cloning repository https://github.com/anp/fomo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anp/fomo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanp%2Ffomo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanp%2Ffomo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c99b89d491ab991351f5d5435406c74f457c0ad3 [INFO] testing anp/fomo against master#9847c6406dc8182abb417b69000fcd0bc5f4a1b7 for pr-115315-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanp%2Ffomo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anp/fomo on toolchain 9847c6406dc8182abb417b69000fcd0bc5f4a1b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anp/fomo [INFO] finished tweaking git repo https://github.com/anp/fomo [INFO] tweaked toml for git repo https://github.com/anp/fomo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anp/fomo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.3.12 [INFO] [stderr] Downloaded serde_derive v0.9.6 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded fsevent v0.2.16 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded serde_codegen_internals v0.13.0 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded term_size v0.2.2 [INFO] [stderr] Downloaded memchr v1.0.1 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded serde v0.9.6 [INFO] [stderr] Downloaded syn v0.11.4 [INFO] [stderr] Downloaded itoa v0.3.0 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded backtrace-sys v0.1.10 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded dtoa v0.4.0 [INFO] [stderr] Downloaded num-iter v0.1.33 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded clap v2.20.5 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded gcc v0.3.43 [INFO] [stderr] Downloaded rustc-demangle v0.1.4 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded serde_json v0.9.6 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded fsevent-sys v0.1.6 [INFO] [stderr] Downloaded inotify v0.3.0 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded net2 v0.2.27 [INFO] [stderr] Downloaded time v0.1.36 [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded backtrace v0.3.0 [INFO] [stderr] Downloaded filetime v0.1.10 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded vec_map v0.6.0 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded tempdir v0.3.5 [INFO] [stderr] Downloaded env_logger v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23857d961a02a12c814cb2420485f10ffd267192066e0fd679a0afae11d24c15 [INFO] running `Command { std: "docker" "start" "-a" "23857d961a02a12c814cb2420485f10ffd267192066e0fd679a0afae11d24c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23857d961a02a12c814cb2420485f10ffd267192066e0fd679a0afae11d24c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23857d961a02a12c814cb2420485f10ffd267192066e0fd679a0afae11d24c15", kill_on_drop: false }` [INFO] [stdout] 23857d961a02a12c814cb2420485f10ffd267192066e0fd679a0afae11d24c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c9ab082753dde48c3f0f006dcf9c3638cf41471982575939ec701fd1521ff1a [INFO] running `Command { std: "docker" "start" "-a" "2c9ab082753dde48c3f0f006dcf9c3638cf41471982575939ec701fd1521ff1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling quote v0.3.12 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling syn v0.11.4 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling net2 v0.2.27 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling serde v0.9.6 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling term_size v0.2.2 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling itoa v0.3.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling serde_codegen_internals v0.13.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling dtoa v0.4.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling clap v2.20.5 [INFO] [stderr] Compiling serde_derive v0.9.6 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling env_logger v0.4.2 [INFO] [stderr] Compiling inotify v0.3.0 [INFO] [stderr] Compiling filetime v0.1.10 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling serde_json v0.9.6 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling fomo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DebouncedEvent` [INFO] [stdout] --> src/notify/inotify/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use super::{DebouncedEvent, Error, Op, RawEvent, RecursiveMode, Result, Watcher, op}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/notify/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | (a1 == b1 && a2 == b2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 479 - (a1 == b1 && a2 == b2) [INFO] [stdout] 479 + a1 == b1 && a2 == b2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/query.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/notify/mod.rs:531:30 [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/notify/mod.rs:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&PathBuf` instead of cloning the inner type [INFO] [stdout] --> src/fs_view.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | segments.entry(root.clone()).or_insert_with(|| Vec::new()).push(notif); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.11.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2c9ab082753dde48c3f0f006dcf9c3638cf41471982575939ec701fd1521ff1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9ab082753dde48c3f0f006dcf9c3638cf41471982575939ec701fd1521ff1a", kill_on_drop: false }` [INFO] [stdout] 2c9ab082753dde48c3f0f006dcf9c3638cf41471982575939ec701fd1521ff1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d50eeb514672119eb11411ae3d9b337792601e68d57fbeaa421c5c1c49b4e52f [INFO] running `Command { std: "docker" "start" "-a" "d50eeb514672119eb11411ae3d9b337792601e68d57fbeaa421c5c1c49b4e52f", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stdout] warning: unused import: `DebouncedEvent` [INFO] [stdout] --> src/notify/inotify/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use super::{DebouncedEvent, Error, Op, RawEvent, RecursiveMode, Result, Watcher, op}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/notify/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | (a1 == b1 && a2 == b2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 479 - (a1 == b1 && a2 == b2) [INFO] [stdout] 479 + a1 == b1 && a2 == b2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/query.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/notify/mod.rs:531:30 [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/notify/mod.rs:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&PathBuf` instead of cloning the inner type [INFO] [stdout] --> src/fs_view.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | segments.entry(root.clone()).or_insert_with(|| Vec::new()).push(notif); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling fomo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fomo::notify` [INFO] [stdout] --> tests/notify.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fomo::notify; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inflate_events` is never used [INFO] [stdout] --> tests/utils/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn inflate_events(input: Vec<(PathBuf, Op, Option)>) -> Vec<(PathBuf, Op, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_cookies` is never used [INFO] [stdout] --> tests/utils/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn extract_cookies(events: &[ (PathBuf, Op, Option) ]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sleep` is never used [INFO] [stdout] --> tests/utils/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sleep(duration: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebouncedEvent` [INFO] [stdout] --> src/notify/inotify/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use super::{DebouncedEvent, Error, Op, RawEvent, RecursiveMode, Result, Watcher, op}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/inotify/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | pub flags Mask: u32 { [INFO] [stdout] 5 | | #[doc = " Event: File was accessed."] [INFO] [stdout] 6 | | #[doc = " "] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/notify/mod.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | / bitflags! { [INFO] [stdout] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/notify/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | (a1 == b1 && a2 == b2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 479 - (a1 == b1 && a2 == b2) [INFO] [stdout] 479 + a1 == b1 && a2 == b2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/query.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/notify/mod.rs:531:30 [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 531 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | / error_chain!{ [INFO] [stdout] 56 | | foreign_links { [INFO] [stdout] 57 | | GlobError(::glob::PatternError); [INFO] [stdout] 58 | | JsonError(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sleep` is never used [INFO] [stdout] --> tests/utils/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sleep(duration: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/notify/mod.rs:511:33 [INFO] [stdout] | [INFO] [stdout] 511 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&PathBuf` instead of cloning the inner type [INFO] [stdout] --> src/fs_view.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | segments.entry(root.clone()).or_insert_with(|| Vec::new()).push(notif); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.11.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d50eeb514672119eb11411ae3d9b337792601e68d57fbeaa421c5c1c49b4e52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50eeb514672119eb11411ae3d9b337792601e68d57fbeaa421c5c1c49b4e52f", kill_on_drop: false }` [INFO] [stdout] d50eeb514672119eb11411ae3d9b337792601e68d57fbeaa421c5c1c49b4e52f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+9847c6406dc8182abb417b69000fcd0bc5f4a1b7" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d82322aa108fac8f2a51fe4830a5e6bc193f7af1bee2dbfff5e8a16efe97bcc4 [INFO] running `Command { std: "docker" "start" "-a" "d82322aa108fac8f2a51fe4830a5e6bc193f7af1bee2dbfff5e8a16efe97bcc4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DebouncedEvent` [INFO] [stderr] --> src/notify/inotify/mod.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use super::{DebouncedEvent, Error, Op, RawEvent, RecursiveMode, Result, Watcher, op}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/notify/inotify/flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / bitflags! { [INFO] [stderr] 4 | | pub flags Mask: u32 { [INFO] [stderr] 5 | | #[doc = " Event: File was accessed."] [INFO] [stderr] 6 | | #[doc = " "] [INFO] [stderr] ... | [INFO] [stderr] 177 | | } [INFO] [stderr] 178 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/notify/inotify/flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / bitflags! { [INFO] [stderr] 4 | | pub flags Mask: u32 { [INFO] [stderr] 5 | | #[doc = " Event: File was accessed."] [INFO] [stderr] 6 | | #[doc = " "] [INFO] [stderr] ... | [INFO] [stderr] 177 | | } [INFO] [stderr] 178 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/notify/mod.rs:336:3 [INFO] [stderr] | [INFO] [stderr] 336 | / bitflags! { [INFO] [stderr] 337 | | /// Holds a set of bit flags representing the actions for the event. [INFO] [stderr] 338 | | /// [INFO] [stderr] 339 | | /// For a list of possible values, have a look at the [notify::op](index.html) documentation. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/notify/mod.rs:479:9 [INFO] [stderr] | [INFO] [stderr] 479 | (a1 == b1 && a2 == b2) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 479 - (a1 == b1 && a2 == b2) [INFO] [stderr] 479 + a1 == b1 && a2 == b2 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | / error_chain!{ [INFO] [stderr] 56 | | foreign_links { [INFO] [stderr] 57 | | GlobError(::glob::PatternError); [INFO] [stderr] 58 | | JsonError(::serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 62 | | } [INFO] [stderr] 63 | | } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/query.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/notify/mod.rs:531:30 [INFO] [stderr] | [INFO] [stderr] 531 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 531 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | / error_chain!{ [INFO] [stderr] 56 | | foreign_links { [INFO] [stderr] 57 | | GlobError(::glob::PatternError); [INFO] [stderr] 58 | | JsonError(::serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 62 | | } [INFO] [stderr] 63 | | } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/notify/mod.rs:511:33 [INFO] [stderr] | [INFO] [stderr] 511 | Error::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/query.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&PathBuf` instead of cloning the inner type [INFO] [stderr] --> src/fs_view.rs:279:34 [INFO] [stderr] | [INFO] [stderr] 279 | segments.entry(root.clone()).or_insert_with(|| Vec::new()).push(notif); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fomo` (lib) generated 13 warnings (1 duplicate) (run `cargo fix --lib -p fomo` to apply 3 suggestions) [INFO] [stderr] warning: unused macro definition: `assert_eq_any` [INFO] [stderr] --> tests/utils/mod.rs:207:14 [INFO] [stderr] | [INFO] [stderr] 207 | macro_rules! assert_eq_any { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `fomo::notify` [INFO] [stderr] --> tests/notify.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use fomo::notify; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `sleep` is never used [INFO] [stderr] --> tests/utils/mod.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn sleep(duration: u64) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fomo` (test "fsevents") generated 1 warning [INFO] [stderr] warning: `fomo` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: `fomo` (test "watcher") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `fomo` (test "notify") generated 3 warnings (1 duplicate) (run `cargo fix --test "notify"` to apply 1 suggestion) [INFO] [stderr] warning: function `inflate_events` is never used [INFO] [stderr] --> tests/utils/mod.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn inflate_events(input: Vec<(PathBuf, Op, Option)>) -> Vec<(PathBuf, Op, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `extract_cookies` is never used [INFO] [stderr] --> tests/utils/mod.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn extract_cookies(events: &[ (PathBuf, Op, Option) ]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sleep` is never used [INFO] [stderr] --> tests/utils/mod.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn sleep(duration: u64) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fomo` (test "event_path") generated 4 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.11.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fomo-9cdd2bd051b9f776) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test fs_view::test::single_file_tmp_dir ... ok [INFO] [stdout] test notify::display_formatted_errors ... ok [INFO] [stdout] test fs_view::test::fixed_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/fomo-bin.rs (/opt/rustwide/target/debug/deps/fomo_bin-9f771d4a21d7b746) [INFO] [stdout] [INFO] [stderr] Running tests/debounce.rs (/opt/rustwide/target/debug/deps/debounce-888edbba8ad536ff) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test create_rename_delete_file ... ok [INFO] [stdout] test create_delete_directory ... ok [INFO] [stdout] test create_file ... ok [INFO] [stdout] test create_modify_directory ... ok [INFO] [stdout] test create_rename_delete_directory ... ok [INFO] [stdout] test create_rename_directory ... ok [INFO] [stdout] test create_directory ... ok [INFO] [stdout] test create_delete_file ... ok [INFO] [stdout] test create_rename_file ... ok [INFO] [stdout] test delete_create_file ... ok [INFO] [stdout] test create_write_modify_file ... ok [INFO] [stdout] test create_rename_remove_create ... ok [INFO] [stdout] test create_rename_write_create ... ok [INFO] [stdout] test create_rename_overwrite_file ... ok [INFO] [stdout] test delete_create_directory ... ok [INFO] [stdout] test create_rename_overwrite_directory ... ok [INFO] [stdout] test delete_directory ... ok [INFO] [stdout] test move_repeatedly ... ignored [INFO] [stdout] test delete_file ... ok [INFO] [stdout] test modify_directory ... ok [INFO] [stdout] test modify_delete_directory ... ok [INFO] [stdout] test modify_file ... ok [INFO] [stdout] test modify_rename_directory ... ok [INFO] [stdout] test modify_rename_file ... ok [INFO] [stdout] test move_out_sleep_move_in ... ok [INFO] [stdout] test rename_directory ... ok [INFO] [stdout] test rename_file ... ok [INFO] [stdout] test rename_modify_directory ... ok [INFO] [stdout] test rename_modify_file ... ok [INFO] [stdout] test rename_rename_directory ... ok [INFO] [stdout] test rename_rename_file ... ok [INFO] [stdout] test rename_write_file ... ok [INFO] [stdout] test write_delete_file ... ok [INFO] [stdout] test write_file ... ok [INFO] [stdout] test write_rename_file ... ok [INFO] [stdout] test write_long_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 11.94s [INFO] [stdout] [INFO] [stderr] Running tests/event_path.rs (/opt/rustwide/target/debug/deps/event_path-e417703808045057) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test watch_absolute_file ... ok [INFO] [stdout] test watch_absolute_directory ... ok [INFO] [stdout] test watch_canonicalized_directory ... ok [INFO] [stdout] test watch_canonicalized_file ... ok [INFO] [stdout] test watch_relative ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] Running tests/fsevents.rs (/opt/rustwide/target/debug/deps/fsevents-c426f7f8ec35ff83) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/notify.rs (/opt/rustwide/target/debug/deps/notify-5ede4e32d109863a) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test create_file ... ok [INFO] [stdout] test delete_directory ... ok [INFO] [stdout] test delete_file ... ok [INFO] [stdout] test create_rename_overwrite_file ... ok [INFO] [stdout] test create_write_modify_file ... ok [INFO] [stdout] test create_rename_overwrite_directory ... ok [INFO] [stdout] test create_directory ... ok [INFO] [stdout] test modify_directory ... ok [INFO] [stdout] test test_inflate_events ... ok [INFO] [stdout] test modify_file ... ok [INFO] [stdout] test move_out_create_file ... ok [INFO] [stdout] test move_out_create_directory ... ok [INFO] [stdout] test rename_rename_directory ... ok [INFO] [stdout] test rename_directory ... ok [INFO] [stdout] test rename_file ... ok [INFO] [stdout] test rename_rename_file ... ok [INFO] [stdout] test write_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] Running tests/watcher.rs (/opt/rustwide/target/debug/deps/watcher-c79ad25b38016bef) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test new_inotify ... ok [INFO] [stdout] test new_null ... ok [INFO] [stdout] test poll_watch_recursive_move ... ignored [INFO] [stdout] test poll_watch_recursive_move_in ... ignored [INFO] [stdout] test poll_watch_recursive_move_out ... ignored [INFO] [stdout] test new_poll ... ok [INFO] [stdout] test new_recommended ... ok [INFO] [stdout] test self_delete_file ... ok [INFO] [stdout] test self_delete_directory ... ok [INFO] [stdout] test test_watcher_send ... ok [INFO] [stdout] test test_watcher_sync ... ok [INFO] [stdout] test unwatch_directory ... ok [INFO] [stdout] test unwatch_file ... ok [INFO] [stdout] test unwatch_nonexisting ... ok [INFO] [stdout] test parent_rename_file ... ok [INFO] [stdout] test self_rename_directory ... ok [INFO] [stdout] test parent_rename_directory ... ok [INFO] [stdout] test watch_file ... ok [INFO] [stdout] test watch_nonexisting ... ok [INFO] [stdout] test watch_nonrecursive ... ok [INFO] [stdout] test watch_recursive_create_directory ... ok [INFO] [stdout] test self_rename_file ... ok [INFO] [stdout] test watch_recursive_move ... ok [INFO] [stdout] test watch_relative ... ok [INFO] [stdout] test watch_recursive_move_out ... ok [INFO] [stdout] test watch_recursive_move_in ... ok [INFO] [stdout] test poll_watch_nonrecursive ... ok [INFO] [stdout] test poll_watch_file ... ok [INFO] [stdout] test poll_watch_recursive_create_directory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 2.32s [INFO] [stdout] [INFO] [stderr] Running tests/windows.rs (/opt/rustwide/target/debug/deps/windows-890ac670d80279a6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fomo [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/notify/mod.rs:479:9 [INFO] [stderr] | [INFO] [stderr] 479 | (a1 == b1 && a2 == b2) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 479 - (a1 == b1 && a2 == b2) [INFO] [stderr] 479 + a1 == b1 && a2 == b2 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/notify/mod.rs - notify (line 24) - compile ... ok [INFO] [stdout] test src/notify/mod.rs - notify (line 61) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d82322aa108fac8f2a51fe4830a5e6bc193f7af1bee2dbfff5e8a16efe97bcc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82322aa108fac8f2a51fe4830a5e6bc193f7af1bee2dbfff5e8a16efe97bcc4", kill_on_drop: false }` [INFO] [stdout] d82322aa108fac8f2a51fe4830a5e6bc193f7af1bee2dbfff5e8a16efe97bcc4