[INFO] cloning repository https://github.com/oldwomanjosiah/anotify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oldwomanjosiah/anotify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foldwomanjosiah%2Fanotify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foldwomanjosiah%2Fanotify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 044e51a1f376f6193ac6f35b009a975e5cd4761a [INFO] building oldwomanjosiah/anotify against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foldwomanjosiah%2Fanotify" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/oldwomanjosiah/anotify [INFO] finished tweaking git repo https://github.com/oldwomanjosiah/anotify [INFO] tweaked toml for git repo https://github.com/oldwomanjosiah/anotify written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oldwomanjosiah/anotify on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oldwomanjosiah/anotify 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44deab19a6e24f79489ee67f2c44e1e9ec6182a056e394d3337d18cb1e717b1e [INFO] running `Command { std: "docker" "start" "-a" "44deab19a6e24f79489ee67f2c44e1e9ec6182a056e394d3337d18cb1e717b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44deab19a6e24f79489ee67f2c44e1e9ec6182a056e394d3337d18cb1e717b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44deab19a6e24f79489ee67f2c44e1e9ec6182a056e394d3337d18cb1e717b1e", kill_on_drop: false }` [INFO] [stdout] 44deab19a6e24f79489ee67f2c44e1e9ec6182a056e394d3337d18cb1e717b1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00be57a26aeaad20351cfed5fd601bd97ef13fb9a2056245c3b93f0ac83e88fb [INFO] running `Command { std: "docker" "start" "-a" "00be57a26aeaad20351cfed5fd601bd97ef13fb9a2056245c3b93f0ac83e88fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling anotify v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `displaydoc::Display` [INFO] [stdout] --> src/task/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use displaydoc::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/task/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/task/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if #[cfg(all(tokio_unstable, feature = "tracing"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FileWatchFuture { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 77 | pub(crate) inner: OnceRecv, [INFO] [stdout] 78 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FileWatchStream { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 83 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 84 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DirectoryWatchFuture { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 88 | pub(crate) inner: OnceRecv, [INFO] [stdout] 89 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DirectoryWatchStream { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 94 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 95 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AnotifyError` [INFO] [stdout] 6 | pub enum AnotifyError { [INFO] [stdout] | ------------ `AnotifyError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_InitError` [INFO] [stdout] 13 | pub enum InitError { [INFO] [stdout] | --------- `InitError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | watch_token_tx.send(*wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = watch_token_tx.send(*wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | watch_token_tx.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = watch_token_tx.send(wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.68s [INFO] running `Command { std: "docker" "inspect" "00be57a26aeaad20351cfed5fd601bd97ef13fb9a2056245c3b93f0ac83e88fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00be57a26aeaad20351cfed5fd601bd97ef13fb9a2056245c3b93f0ac83e88fb", kill_on_drop: false }` [INFO] [stdout] 00be57a26aeaad20351cfed5fd601bd97ef13fb9a2056245c3b93f0ac83e88fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31cc6a26c9ed7a33d3e5076645c96a0686304ed99b716be41f8eec4e2c5c1d05 [INFO] running `Command { std: "docker" "start" "-a" "31cc6a26c9ed7a33d3e5076645c96a0686304ed99b716be41f8eec4e2c5c1d05", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling anotify v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `displaydoc::Display` [INFO] [stdout] --> src/task/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use displaydoc::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/task/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/task/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if #[cfg(all(tokio_unstable, feature = "tracing"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FileWatchFuture { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 77 | pub(crate) inner: OnceRecv, [INFO] [stdout] 78 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FileWatchStream { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 83 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 84 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DirectoryWatchFuture { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 88 | pub(crate) inner: OnceRecv, [INFO] [stdout] 89 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DirectoryWatchStream { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 94 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 95 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AnotifyError` [INFO] [stdout] 6 | pub enum AnotifyError { [INFO] [stdout] | ------------ `AnotifyError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_InitError` [INFO] [stdout] 13 | pub enum InitError { [INFO] [stdout] | --------- `InitError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | watch_token_tx.send(*wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = watch_token_tx.send(*wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | watch_token_tx.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = watch_token_tx.send(wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `displaydoc::Display` [INFO] [stdout] --> src/task/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use displaydoc::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/task/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/task/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if #[cfg(all(tokio_unstable, feature = "tracing"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FileWatchFuture { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 77 | pub(crate) inner: OnceRecv, [INFO] [stdout] 78 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FileWatchStream { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 83 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 84 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DirectoryWatchFuture { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 88 | pub(crate) inner: OnceRecv, [INFO] [stdout] 89 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DirectoryWatchStream { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 94 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 95 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_AnotifyError` [INFO] [stdout] 6 | pub enum AnotifyError { [INFO] [stdout] | ------------ `AnotifyError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_InitError` [INFO] [stdout] 13 | pub enum InitError { [INFO] [stdout] | --------- `InitError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | watch_token_tx.send(*wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = watch_token_tx.send(*wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | watch_token_tx.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = watch_token_tx.send(wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.93s [INFO] running `Command { std: "docker" "inspect" "31cc6a26c9ed7a33d3e5076645c96a0686304ed99b716be41f8eec4e2c5c1d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cc6a26c9ed7a33d3e5076645c96a0686304ed99b716be41f8eec4e2c5c1d05", kill_on_drop: false }` [INFO] [stdout] 31cc6a26c9ed7a33d3e5076645c96a0686304ed99b716be41f8eec4e2c5c1d05