[INFO] fetching crate graphix-package-fs 0.6.0... [INFO] linting graphix-package-fs-0.6.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate graphix-package-fs 0.6.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate graphix-package-fs 0.6.0 [INFO] finished tweaking crates.io crate graphix-package-fs 0.6.0 [INFO] tweaked toml for crates.io crate graphix-package-fs 0.6.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graphix-package-fs 0.6.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate graphix-package-fs 0.6.0 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded poolshark_derive v0.1.2 [INFO] [stderr] Downloaded netidx-derive v0.31.5 [INFO] [stderr] Downloaded netidx-core v0.31.5 [INFO] [stderr] Downloaded hybrid-array v0.4.7 [INFO] [stderr] Downloaded digest v0.11.1 [INFO] [stderr] Downloaded file-id v0.2.3 [INFO] [stderr] Downloaded libgssapi-sys v0.3.3 [INFO] [stderr] Downloaded escaping v0.2.3 [INFO] [stderr] Downloaded graphix-rt v0.6.0 [INFO] [stderr] Downloaded cross-krb5 v0.4.2 [INFO] [stderr] Downloaded cp_r v0.5.2 [INFO] [stderr] Downloaded pkcs5 v0.7.1 [INFO] [stderr] Downloaded notify-debouncer-full v0.6.0 [INFO] [stderr] Downloaded extended-notify v0.1.0 [INFO] [stderr] Downloaded graphix-package v0.6.0 [INFO] [stderr] Downloaded graphix-package-core v0.6.0 [INFO] [stderr] Downloaded x509-parser v0.18.1 [INFO] [stderr] Downloaded netidx-protocols v0.31.5 [INFO] [stderr] Downloaded libgssapi v0.9.1 [INFO] [stderr] Downloaded fish-printf v0.2.1 [INFO] [stderr] Downloaded crates_io_api v0.12.0 [INFO] [stderr] Downloaded graphix-derive v0.6.0 [INFO] [stderr] Downloaded netidx-netproto v0.31.3 [INFO] [stderr] Downloaded netidx-value v0.31.6 [INFO] [stderr] Downloaded immutable-chunkmap v2.1.2 [INFO] [stderr] Downloaded graphix-compiler v0.6.0 [INFO] [stderr] Downloaded netidx v0.31.5 [INFO] [stderr] Downloaded poolshark v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88bb3c173b31cee1c729f6f5bbf1dddac736ec975666a3a9cde5a79b0f147d84 [INFO] running `Command { std: "docker" "start" "-a" "88bb3c173b31cee1c729f6f5bbf1dddac736ec975666a3a9cde5a79b0f147d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88bb3c173b31cee1c729f6f5bbf1dddac736ec975666a3a9cde5a79b0f147d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88bb3c173b31cee1c729f6f5bbf1dddac736ec975666a3a9cde5a79b0f147d84", kill_on_drop: false }` [INFO] [stdout] 88bb3c173b31cee1c729f6f5bbf1dddac736ec975666a3a9cde5a79b0f147d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0326b52c94d7053a02355c8322b90880f78ff201f4bbc7120193ed4d8214d1d8 [INFO] running `Command { std: "docker" "start" "-a" "0326b52c94d7053a02355c8322b90880f78ff201f4bbc7120193ed4d8214d1d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling hybrid-array v0.4.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling deranged v0.5.6 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking digest v0.11.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling fish-printf v0.2.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling if-addrs v0.15.0 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Compiling keyring v3.6.3 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Compiling toml_edit v0.25.3+spec-1.1.0 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking toml v1.0.3+spec-1.1.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking cp_r v0.5.2 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking file-id v0.2.3 [INFO] [stderr] Checking jiff v0.2.20 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking notify-debouncer-full v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling poolshark_derive v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling netidx-derive v0.31.5 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling asn1-rs v0.7.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking der-parser v10.0.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking x509-parser v0.18.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking triomphe v0.1.15 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking poolshark v0.2.7 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking immutable-chunkmap v2.1.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling escaping v0.2.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cargo_toml v0.22.3 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking handlebars v6.4.0 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking netidx-core v0.31.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling libgssapi-sys v0.3.3 [INFO] [stderr] Checking libgssapi v0.9.1 [INFO] [stderr] Checking cross-krb5 v0.4.2 [INFO] [stderr] Checking netidx-value v0.31.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking extended-notify v0.1.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking netidx-netproto v0.31.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking crates_io_api v0.12.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking netidx v0.31.5 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking netidx-protocols v0.31.5 [INFO] [stderr] Checking graphix-compiler v0.6.0 [INFO] [stderr] Checking graphix-rt v0.6.0 [INFO] [stderr] Compiling graphix-derive v0.6.0 [INFO] [stderr] Checking graphix-package v0.6.0 [INFO] [stderr] Checking graphix-package-core v0.6.0 [INFO] [stderr] Checking graphix-package-fs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn eval(args: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] = note: `#[warn(clippy::manual_async_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | fn eval((all, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | fn eval((all, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fn eval((path, value): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | fn eval((path, value): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | fn eval((follow_symlinks, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/watch.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl Into for $enum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | / impl_value_conv!(WInterest { [INFO] [stdout] 57 | | Established, [INFO] [stdout] 58 | | Any, [INFO] [stdout] 59 | | Access, [INFO] [stdout] ... | [INFO] [stdout] 90 | | Other, [INFO] [stdout] 91 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: replace the `Into` implementation with `From` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_value_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/watch.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | tx: mpsc::Sender)>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 204 | _scope: &'b graphix_compiler::Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 205 | _args: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 201 ~ fn init<'a>( [INFO] [stdout] 202 | _ctx: &'a mut ExecCtx, [INFO] [stdout] 203 | _fntyp: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 204 ~ _scope: &graphix_compiler::Scope, [INFO] [stdout] 205 ~ _args: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 291 | _scope: &'b Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 292 | _from: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 375 | / watch!( [INFO] [stdout] 376 | | type_name: WatchBuiltIn, [INFO] [stdout] 377 | | builtin_name: "fs_watch", [INFO] [stdout] 378 | | graphix_type: "fn(?#interest:Array, string) -> Result", [INFO] [stdout] ... | [INFO] [stdout] 389 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: this warning originates in the macro `watch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 288 ~ fn init<'a>( [INFO] [stdout] 289 | ctx: &'a mut ExecCtx, [INFO] [stdout] 290 | _typ: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 291 ~ _scope: &Scope, [INFO] [stdout] 292 ~ _from: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 291 | _scope: &'b Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 292 | _from: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 391 | / watch!( [INFO] [stdout] 392 | | type_name: WatchFullBuiltIn, [INFO] [stdout] 393 | | builtin_name: "fs_watch_full", [INFO] [stdout] 394 | | graphix_type: "fn(?#interest:Array, string) -> Result", [INFO] [stdout] ... | [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: this warning originates in the macro `watch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 288 ~ fn init<'a>( [INFO] [stdout] 289 | ctx: &'a mut ExecCtx, [INFO] [stdout] 290 | _typ: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 291 ~ _scope: &Scope, [INFO] [stdout] 292 ~ _from: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn eval(args: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/lib.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | static BUF: RefCell = RefCell::new(String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(String::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | static BUF: RefCell = RefCell::new(PathBuf::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(PathBuf::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Value::String(convert_path(&path))) [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn eval(args: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] = note: `#[warn(clippy::manual_async_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | fn eval((all, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/dir.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | fn eval((all, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fn eval((path, value): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | fn eval((path, value): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/file.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn eval(path: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/metadata.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | fn eval((follow_symlinks, path): Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/watch.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl Into for $enum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | / impl_value_conv!(WInterest { [INFO] [stdout] 57 | | Established, [INFO] [stdout] 58 | | Any, [INFO] [stdout] 59 | | Access, [INFO] [stdout] ... | [INFO] [stdout] 90 | | Other, [INFO] [stdout] 91 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: replace the `Into` implementation with `From` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_value_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/watch.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | tx: mpsc::Sender)>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 204 | _scope: &'b graphix_compiler::Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 205 | _args: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 201 ~ fn init<'a>( [INFO] [stdout] 202 | _ctx: &'a mut ExecCtx, [INFO] [stdout] 203 | _fntyp: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 204 ~ _scope: &graphix_compiler::Scope, [INFO] [stdout] 205 ~ _args: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 291 | _scope: &'b Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 292 | _from: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 375 | / watch!( [INFO] [stdout] 376 | | type_name: WatchBuiltIn, [INFO] [stdout] 377 | | builtin_name: "fs_watch", [INFO] [stdout] 378 | | graphix_type: "fn(?#interest:Array, string) -> Result", [INFO] [stdout] ... | [INFO] [stdout] 389 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: this warning originates in the macro `watch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 288 ~ fn init<'a>( [INFO] [stdout] 289 | ctx: &'a mut ExecCtx, [INFO] [stdout] 290 | _typ: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 291 ~ _scope: &Scope, [INFO] [stdout] 292 ~ _from: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b, 'c [INFO] [stdout] --> src/watch.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | fn init<'a, 'b, 'c>( [INFO] [stdout] | ^^ ^^ [INFO] [stdout] ... [INFO] [stdout] 291 | _scope: &'b Scope, [INFO] [stdout] | ^^ [INFO] [stdout] 292 | _from: &'c [Node], [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 391 | / watch!( [INFO] [stdout] 392 | | type_name: WatchFullBuiltIn, [INFO] [stdout] 393 | | builtin_name: "fs_watch_full", [INFO] [stdout] 394 | | graphix_type: "fn(?#interest:Array, string) -> Result", [INFO] [stdout] ... | [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: this warning originates in the macro `watch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 288 ~ fn init<'a>( [INFO] [stdout] 289 | ctx: &'a mut ExecCtx, [INFO] [stdout] 290 | _typ: &'a graphix_compiler::typ::FnType, [INFO] [stdout] 291 ~ _scope: &Scope, [INFO] [stdout] 292 ~ _from: &[Node], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn eval(args: Self::Args) -> impl Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/lib.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | static BUF: RefCell = RefCell::new(String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(String::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | static BUF: RefCell = RefCell::new(PathBuf::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(PathBuf::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | Some(Value::String(convert_path(&path))) [INFO] [stdout] | ^^^^^ help: change this to: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/metadata.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | / if let Value::Array(pair) = item { [INFO] [stdout] 14 | | if pair.len() == 2 { [INFO] [stdout] 15 | | if let (Value::String(key), val) = (&pair[0], &pair[1]) { [INFO] [stdout] 16 | | map.insert(key.to_string(), val.clone()); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 13 ~ if let Value::Array(pair) = item [INFO] [stdout] 14 ~ && pair.len() == 2 { [INFO] [stdout] 15 | if let (Value::String(key), val) = (&pair[0], &pair[1]) { [INFO] [stdout] 16 | map.insert(key.to_string(), val.clone()); [INFO] [stdout] 17 | } [INFO] [stdout] 18 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/metadata.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | / if pair.len() == 2 { [INFO] [stdout] 15 | | if let (Value::String(key), val) = (&pair[0], &pair[1]) { [INFO] [stdout] 16 | | map.insert(key.to_string(), val.clone()); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 14 ~ if pair.len() == 2 [INFO] [stdout] 15 ~ && let (Value::String(key), val) = (&pair[0], &pair[1]) { [INFO] [stdout] 16 | map.insert(key.to_string(), val.clone()); [INFO] [stdout] 17 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/readdir.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / if let Value::Array(pair) = item { [INFO] [stdout] 21 | | if pair.len() == 2 { [INFO] [stdout] 22 | | if let Value::String(key) = &pair[0] { [INFO] [stdout] 23 | | if &**key == field { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 20 ~ if let Value::Array(pair) = item [INFO] [stdout] 21 ~ && pair.len() == 2 { [INFO] [stdout] 22 | if let Value::String(key) = &pair[0] { [INFO] [stdout] ... [INFO] [stdout] 26 | } [INFO] [stdout] 27 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/readdir.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | / if pair.len() == 2 { [INFO] [stdout] 22 | | if let Value::String(key) = &pair[0] { [INFO] [stdout] 23 | | if &**key == field { [INFO] [stdout] 24 | | return Ok(&pair[1]); [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 21 ~ if pair.len() == 2 [INFO] [stdout] 22 ~ && let Value::String(key) = &pair[0] { [INFO] [stdout] 23 | if &**key == field { [INFO] [stdout] 24 | return Ok(&pair[1]); [INFO] [stdout] 25 | } [INFO] [stdout] 26 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/readdir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | / if let Value::String(key) = &pair[0] { [INFO] [stdout] 23 | | if &**key == field { [INFO] [stdout] 24 | | return Ok(&pair[1]); [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 22 ~ if let Value::String(key) = &pair[0] [INFO] [stdout] 23 ~ && &**key == field { [INFO] [stdout] 24 | return Ok(&pair[1]); [INFO] [stdout] 25 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/test/watch.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | / if let GXEvent::Updated(id, v) = event { [INFO] [stdout] 406 | | if matches!(v, Value::String(_)) { [INFO] [stdout] 407 | | eprintln!("Event for {}: {v}", id.inner()); [INFO] [stdout] ... | [INFO] [stdout] 428 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 405 ~ if let GXEvent::Updated(id, v) = event [INFO] [stdout] 406 ~ && matches!(v, Value::String(_)) { [INFO] [stdout] 407 | eprintln!("Event for {}: {v}", id.inner()); [INFO] [stdout] ... [INFO] [stdout] 426 | } [INFO] [stdout] 427 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 07s [INFO] running `Command { std: "docker" "inspect" "0326b52c94d7053a02355c8322b90880f78ff201f4bbc7120193ed4d8214d1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0326b52c94d7053a02355c8322b90880f78ff201f4bbc7120193ed4d8214d1d8", kill_on_drop: false }` [INFO] [stdout] 0326b52c94d7053a02355c8322b90880f78ff201f4bbc7120193ed4d8214d1d8