[INFO] cloning repository https://github.com/autoschematic-sh/autoschematic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/autoschematic-sh/autoschematic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautoschematic-sh%2Fautoschematic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautoschematic-sh%2Fautoschematic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f75392c1012dd0d6eb72ea12bf81cdb074575ce [INFO] testing autoschematic-sh/autoschematic against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautoschematic-sh%2Fautoschematic" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/autoschematic-sh/autoschematic [INFO] finished tweaking git repo https://github.com/autoschematic-sh/autoschematic [INFO] tweaked toml for git repo https://github.com/autoschematic-sh/autoschematic written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/autoschematic-sh/autoschematic on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/autoschematic-sh/autoschematic 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/autoschematic-server/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/autoschematic/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/autoschematic-lsp/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/autoschematic-core/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/autoschematic-server/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded ff v0.13.0 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded time-macros v0.2.19 [INFO] [stderr] Downloaded snafu-derive v0.8.5 [INFO] [stderr] Downloaded rustls-native-certs v0.8.1 [INFO] [stderr] Downloaded basic-toml v0.1.9 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded toml v0.9.5 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded derive_more-impl v2.0.1 [INFO] [stderr] Downloaded oauth2 v5.0.0 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.2 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Downloaded libz-sys v1.1.21 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded pulldown-cmark v0.13.0 [INFO] [stderr] Downloaded rustls v0.23.26 [INFO] [stderr] Downloaded zerocopy-derive v0.8.16 [INFO] [stderr] Downloaded zerocopy v0.8.16 [INFO] [stderr] Downloaded sysinfo v0.37.0 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded tonic v0.14.1 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded regex-lite v0.1.6 [INFO] [stderr] Downloaded git2 v0.20.1 [INFO] [stderr] Downloaded opentelemetry_sdk v0.30.0 [INFO] [stderr] Downloaded derive_more v2.0.1 [INFO] [stderr] Downloaded askama_derive v0.14.0 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded libgit2-sys v0.18.1+1.9.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded derive_more v0.99.19 [INFO] [stderr] Downloaded askama_parser v0.14.0 [INFO] [stderr] Downloaded quinn-proto v0.11.9 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded axum v0.8.3 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded askama v0.14.0 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded webpki-roots v0.26.8 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded actix-cors v0.7.1 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] [stderr] Downloaded snafu v0.8.5 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded hyper-util v0.1.10 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] [stderr] Downloaded time v0.3.37 [INFO] [stderr] Downloaded octocrab v0.44.0 [INFO] [stderr] Downloaded tower-http v0.6.2 [INFO] [stderr] Downloaded dirs-sys v0.5.0 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded iri-string v0.7.7 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded toml_parser v1.0.2 [INFO] [stderr] Downloaded toml_writer v1.0.2 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded quinn v0.11.6 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded actix-web-codegen v4.3.0 [INFO] [stderr] Downloaded bytestring v1.4.0 [INFO] [stderr] Downloaded actix-ws v0.3.0 [INFO] [stderr] Downloaded pem v3.0.4 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded tarpc-plugins v0.14.0 [INFO] [stderr] Downloaded educe v0.5.11 [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.31.0 [INFO] [stderr] Downloaded tarpc v0.37.0 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded clap_derive v4.5.28 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded crypto-bigint v0.5.5 [INFO] [stderr] Downloaded k256 v0.13.4 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded tonic-prost v0.14.1 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded file-guard v0.2.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded ecdsa v0.16.9 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded tokio-rustls v0.26.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded rfc6979 v0.4.0 [INFO] [stderr] Downloaded sec1 v0.7.3 [INFO] [stderr] Downloaded elliptic-curve v0.13.8 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded quinn-udp v0.5.9 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded group v0.13.0 [INFO] [stderr] Downloaded base16ct v0.2.0 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded process-wrap v9.0.0 [INFO] [stderr] Downloaded objc2-io-kit v0.3.1 [INFO] [stderr] Downloaded opentelemetry v0.30.0 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded ron-pfnsec-fork v0.11.0 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded tokio-util v0.7.13 [INFO] [stderr] Downloaded tower-lsp-server v0.22.0 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v21.0.0 [INFO] [stderr] Downloaded serdect v0.2.0 [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded tonic-build v0.14.1 [INFO] [stderr] Downloaded tonic-prost-build v0.14.1 [INFO] [stderr] Downloaded env_home v0.1.0 [INFO] [stderr] Downloaded which v8.0.0 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c82acce61cb1a78a0447d3035f540a772c76886951e2f05adbfcbd0539c7bbb9 [INFO] running `Command { std: "docker" "start" "-a" "c82acce61cb1a78a0447d3035f540a772c76886951e2f05adbfcbd0539c7bbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c82acce61cb1a78a0447d3035f540a772c76886951e2f05adbfcbd0539c7bbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82acce61cb1a78a0447d3035f540a772c76886951e2f05adbfcbd0539c7bbb9", kill_on_drop: false }` [INFO] [stdout] c82acce61cb1a78a0447d3035f540a772c76886951e2f05adbfcbd0539c7bbb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0d50433ef51eb3bda5401774b4c75a36f2e011031bc6e29429fd46c15b7aafb [INFO] running `Command { std: "docker" "start" "-a" "c0d50433ef51eb3bda5401774b4c75a36f2e011031bc6e29429fd46c15b7aafb", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/autoschematic-server/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-core/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-server/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-lsp/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.16 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v21.0.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tonic-build v0.14.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling opentelemetry v0.30.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling libgit2-sys v0.18.1+1.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling opentelemetry_sdk v0.30.0 [INFO] [stderr] Compiling tonic-prost-build v0.14.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tonic v0.14.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling autoschematic-core v0.8.1 (/opt/rustwide/workdir/autoschematic-core) [INFO] [stderr] Compiling tracing-opentelemetry v0.31.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tarpc-plugins v0.14.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling tarpc v0.37.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling process-wrap v9.0.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling tonic-prost v0.14.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling ron-pfnsec-fork v0.11.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sysinfo v0.37.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling iri-string v0.7.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling lsp-types v0.97.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling octocrab v0.44.0 [INFO] [stderr] Compiling webbrowser v1.0.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling askama v0.14.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling oauth2 v5.0.0 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling actix-ws v0.3.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling git2 v0.20.1 [INFO] [stderr] Compiling tower-lsp-server v0.22.0 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/bundle.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] 205 + let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> autoschematic-core/src/config_rbac.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectorOutbox` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | Connector, ConnectorInbox, ConnectorOutbox, FilterResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use anyhow::{Context, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `JoinSet` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::task::{JoinHandle, JoinSet}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | impl From>>> for ErrorMessage { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - impl From>>> for ErrorMessage { [INFO] [stdout] 29 + impl From>>> for ErrorMessage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - fn from(value: PoisonError>>) -> Self { [INFO] [stdout] 30 + fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diag::DiagnosticResponse` [INFO] [stdout] --> autoschematic-core/src/grpc_bridge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | diag::DiagnosticResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 'connector: for connector_def in &prefix_def.connectors { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlanReport` and `VirtToPhyResponse` [INFO] [stdout] --> autoschematic-core/src/workflow/unbundle.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | connector::{Connector, FilterResponse, VirtToPhyResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | report::{PlanReport, UnbundleReport}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | salt: base64::encode(salt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | nonce: base64::encode(nonce), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | ciphertext: base64::encode(ciphertext), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | let privkey_string = base64::decode(privkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | base64::decode(&secret.ephemeral_pubkey)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let salt = base64::decode(&secret.salt)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let nonce = base64::decode(&secret.nonce)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | base64::decode(&secret.ciphertext)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | let (stdout_r, stdout_w) = (stdout_r, stdout_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | let (stderr_r, stderr_w) = (stderr_r, stderr_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pid` is never read [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut pid: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let stdout_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | let stderr_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git_stage` [INFO] [stdout] --> autoschematic-core/src/report.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn write_to_disk(&self, overbundle: bool, git_stage: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_shortname` [INFO] [stdout] --> autoschematic-core/src/workflow/apply.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | connector_shortname: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_shortname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_outputs` [INFO] [stdout] --> autoschematic-core/src/workflow/get.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | crate::connector::VirtToPhyResponse::Deferred(read_outputs) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_def` [INFO] [stdout] --> autoschematic-core/src/workflow/get_skeletons.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let Some(prefix_def) = autoschematic_config.prefixes.get(prefix_str) else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `semaphore` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | semaphore: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_semaphore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imported_subcount` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let imported_subcount: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 188 | let _imported_subcount: usize = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_FUZZY_DIST` [INFO] [stdout] | [INFO] [stdout] 188 - let imported_subcount: usize = 0; [INFO] [stdout] 188 + let template::MAX_FUZZY_DIST: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | while let Some(res) = import_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | while let Some(res) = subpath_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let root = repo_root()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `have_filter` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let have_filter = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_have_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | connector::{handle::ConnectorHandle, Connector, ConnectorInbox}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | Spec::Binary { path, protocol } => protocol.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/config.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> autoschematic-core/src/config.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | version, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git` [INFO] [stdout] --> autoschematic-core/src/config.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | git, [INFO] [stdout] | ^^^ help: try ignoring the field: `git: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | path, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | Spec::TypescriptLocal { path } => Protocol::Grpc, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> autoschematic-core/src/config.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | Spec::Binary { path, protocol } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outbox` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | async fn task_exec(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 550 | async fn list_metrics(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:33 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seal_new_secrets_from_folder` is never used [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn seal_new_secrets_from_folder( [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 `config` and `keystore` are never read [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ConnectorCache { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | config: AutoschematicConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | keystore: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling autoschematic-lsp v0.8.0 (/opt/rustwide/workdir/autoschematic-lsp) [INFO] [stderr] Compiling autoschematic v0.8.1 (/opt/rustwide/workdir/autoschematic) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> autoschematic/src/plan.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic/src/task.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unused import: `io::Write` [INFO] [stdout] --> autoschematic/src/unbundle.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `report::PlanReport` [INFO] [stdout] --> autoschematic/src/unbundle.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | connector_cache::ConnectorCache, git_util::get_staged_files, report::PlanReport, workflow::unbundle::write_unbundle_element, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `colour_op_message` and `try_colour_op_message_diff` [INFO] [stdout] --> autoschematic/src/unbundle.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | util::{colour_op_message, try_colour_op_message_diff}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic/src/seal.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | salt: base64::encode(salt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | nonce: base64::encode(nonce), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ciphertext: base64::encode(ciphertext), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector` [INFO] [stdout] --> autoschematic-lsp/src/main.rs:436:26 [INFO] [stdout] | [INFO] [stdout] 436 | let (connector, mut inbox) = connector_cache [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/apply.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | prefix: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/apply.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subpath: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/create.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector` [INFO] [stdout] --> autoschematic/src/create.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_name` [INFO] [stdout] --> autoschematic/src/create.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let connector_name = connector_names.get(connector_i).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic/src/import.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | ... ImportMessage::GetSuccess { prefix, addr } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic/src/import.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | ... ImportMessage::WroteFile { path } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic/src/import.rs:154:67 [INFO] [stdout] | [INFO] [stdout] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_counts` [INFO] [stdout] --> autoschematic/src/import.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let import_counts = autoschematic_core::workflow::import::import_all( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_name` [INFO] [stdout] --> autoschematic/src/install.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | for (prefix_name, prefix) in &config.prefixes { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic/src/install.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> autoschematic/src/install.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/plan.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/plan.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/seal.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn seal(domain: &str, prefix: Option<&str>, path: &Path, in_path: Option<&Path>, key_id: Option<&str>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `autoschematic_config` [INFO] [stdout] --> autoschematic/src/seal.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let autoschematic_config = load_autoschematic_config()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_autoschematic_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_filter` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let connector_filter = fuzz_config.connector_filter.map(|c| format!("-c {c}")).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_filter` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let prefix_filter = format!("-p {}", self.prefix.to_string_lossy()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let message = format!("fuzz-test-{rand_suffix}"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic/src/task.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | TaskMessage::IssueComment(ref comment) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> autoschematic/src/task.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic/src/task.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_send` [INFO] [stdout] --> autoschematic/src/task.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_handle` [INFO] [stdout] --> autoschematic/src/task.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic/src/task.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_registry_key` [INFO] [stdout] --> autoschematic/src/task.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let error_registry_key = registry_key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/unbundle.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | prefix: &Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/unbundle.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | subpath: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `have_nonempty_unbundle` is assigned to, but never used [INFO] [stdout] --> autoschematic/src/unbundle.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut have_nonempty_unbundle = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_have_nonempty_unbundle` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `have_nonempty_unbundle` is never read [INFO] [stdout] --> autoschematic/src/unbundle.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | have_nonempty_unbundle = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> autoschematic/src/apply.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | for (idx, val) in pair.into_inner().filter(|p| p.as_rule() == Rule::value).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_str` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let key_str = match key.as_rule() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_str` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let key_str = match key.as_rule() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> autoschematic-lsp/src/reindent.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | && delim.chars().all(|d| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | owner: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | repo: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | installation_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | let _ = drain_inbox(&mut self.inbox).await.map_err(async |e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `topRes` should have a snake case name [INFO] [stdout] --> autoschematic-lsp/src/main.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let topRes = self.connector_cache.top().await; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `top_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinnerData` is never constructed [INFO] [stdout] --> autoschematic/src/spinner/utils/spinner_data.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SpinnerData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_ID` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CLIENT_ID: &str = "GITHUB_CLIENT_ID"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_via_github` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn login_via_github() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `persist_github_token` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn persist_github_token(token: &AccessToken) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_github_token` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn load_github_token() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> autoschematic/src/ui.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanDisplay` is never constructed [INFO] [stdout] --> autoschematic/src/ui.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct PlanDisplay { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, `previous`, and `toggle_expand` are never used [INFO] [stdout] --> autoschematic/src/ui.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl PlanDisplay { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 31 | fn new() -> PlanDisplay { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn toggle_expand(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_app` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn run_app(terminal: &mut Terminal, app: &mut PlanDisplay) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn ui(f: &mut Frame, app: &mut PlanDisplay) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling autoschematic-server v0.8.0 (/opt/rustwide/workdir/autoschematic-server) [INFO] [stdout] warning: unused imports: `SkeletonImportErrorTemplate` and `SkeletonImportSuccessTemplate` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:21:96 [INFO] [stdout] | [INFO] [stdout] 21 | PlanOverallErrorTemplate, PlanOverallSuccessTemplate, PlanSuccessTemplate, PrLockHeld, SkeletonImportErrorTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | SkeletonImportSuccessTemplate, random_failure_emoji, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-server/src/task.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unused import: `actix_files::NamedFile` [INFO] [stdout] --> autoschematic-server/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_files::NamedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Tera` [INFO] [stdout] --> autoschematic-server/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use tera::Tera; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest` and `ServiceResponse` [INFO] [stdout] --> autoschematic-server/src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | dev::{ServiceRequest, ServiceResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-server/src/main.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|key| base64::decode(key).expect("Invalid SESSION_KEY format"))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head_sha` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_sha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let cache = self.cache.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | let (owner, repo, installation_id) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some((access_token, github_username)) = has_valid_session(&session).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | let (res, session, stream) = actix_ws::handle(&req, stream)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let stream = stream [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:379:52 [INFO] [stdout] | [INFO] [stdout] 379 | Ok(AggregatedMessage::Text(text)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:384:54 [INFO] [stdout] | [INFO] [stdout] 384 | Ok(AggregatedMessage::Binary(bin)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:420:15 [INFO] [stdout] | [INFO] [stdout] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:420:29 [INFO] [stdout] | [INFO] [stdout] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:453:15 [INFO] [stdout] | [INFO] [stdout] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:453:29 [INFO] [stdout] | [INFO] [stdout] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:457:23 [INFO] [stdout] | [INFO] [stdout] 457 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let stream = stream [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | .map_err(|e| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(config) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | for (key, entry) in entries.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | ... prefix, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_filter` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_filter` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:74:75 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> autoschematic-server/src/task.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | ... 'attempt: for i in [0..max_attempts] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> autoschematic-server/src/task.rs:83:75 [INFO] [stdout] | [INFO] [stdout] 83 | ... Err(octocrab::Error::GitHub { source, backtrace }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `backtrace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> autoschematic-server/src/task.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/task.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> autoschematic-server/src/task.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (client, token) = credentials::octocrab_installation_client(octocrab::models::InstallationId(installation_id)).await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_send` [INFO] [stdout] --> autoschematic-server/src/task.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_handle` [INFO] [stdout] --> autoschematic-server/src/task.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic-server/src/task.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_registry_key` [INFO] [stdout] --> autoschematic-server/src/task.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let error_registry_key = registry_key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | repo.runs.remove(run_key); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connector::Connector` [INFO] [stdout] --> autoschematic-server/src/changeset.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | use autoschematic_core::{config::AutoschematicConfig, connector::Connector, connector_cache::ConnectorCache, report::PlanReportSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> autoschematic-server/src/object.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut created_obj: Vec<&Object> = created_obj [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dashboard_app` is never used [INFO] [stdout] --> autoschematic-server/src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn dashboard_app() -> actix_web::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> autoschematic-server/src/main.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | async fn root() -> impl Responder { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_sha` and `base_ref` are never read [INFO] [stdout] --> autoschematic-server/src/changeset.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ChangeSet { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub head_sha: String, [INFO] [stdout] 50 | pub base_ref: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_reaction_standalone` is never used [INFO] [stdout] --> autoschematic-server/src/changeset/util.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | pub async fn add_reaction_standalone(webhook_event: WebhookEvent, content: ReactionContent) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl ChangeSetCache { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dashboard_list` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub async fn dashboard_list(session: Session) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repo_runs_subscribe` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | async fn repo_runs_subscribe(req: HttpRequest, stream: web::Payload) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_state_subscribe` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | pub async fn task_state_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrInfo` is never constructed [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct PrInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pr_info` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_pr_info(access_token: &str, owner: &str, repo: &str, pr: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_installations` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn get_installations(jwt: &SecretBox) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidKeystoreString`, `InvalidLockString`, `InvalidHeaderValue`, and `RepoLocked` are never constructed [INFO] [stdout] --> autoschematic-server/src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AutoschematicServerErrorType { [INFO] [stdout] | ---------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidKeystoreString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidLockString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | InvalidHeaderValue(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | RepoLocked(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AutoschematicServerErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_comment` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn create_comment( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GithubJwtClaims` is never constructed [INFO] [stdout] --> autoschematic-server/src/github_util.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct GithubJwtClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_jwt` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create_jwt() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rbac_config_for_repo` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn get_rbac_config_for_repo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepoLockStore` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RepoLockStore: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepoLock` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait RepoLock { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repolockstore_init` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn repolockstore_init(name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskLockStore` is never constructed [INFO] [stdout] --> autoschematic-server/src/repolock/ondisk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OnDiskLockStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskLock` is never constructed [INFO] [stdout] --> autoschematic-server/src/repolock/ondisk.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OnDiskLock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import`, `import_overwrite`, and `plan_apply_import_complete` are never used [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl TestTask { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn import(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn import_overwrite( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn plan_apply_import_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> autoschematic-server/src/template.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PlanErrorTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 42 | pub prefix: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deferred_count` is never read [INFO] [stdout] --> autoschematic-server/src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PlanDeferralLoopTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 58 | pub failure_emoji: &'static str, [INFO] [stdout] 59 | pub deferred_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkeletonImportErrorTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct SkeletonImportErrorTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkeletonImportSuccessTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct SkeletonImportSuccessTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExplainErrorTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ExplainErrorTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectorStdout` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ConnectorStdout { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Owner` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Owner = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Repo` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Repo = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PullRequest` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PullRequest = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run_sender` is never read [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RepoData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | runs: IndexMap, [INFO] [stdout] 32 | run_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_started` is never read [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RunData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 37 | #[serde(skip)] [INFO] [stdout] 38 | pub time_started: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_repos`, `list_runs`, `subscribe_runs`, and `delete_run` are never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait TraceStore: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 62 | async fn list_repos(&self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | async fn list_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | async fn list_runs_for_pr(&self, repo_key: &RepoKey, pr: u64) -> anyhow::Result>; [INFO] [stdout] 65 | async fn subscribe_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | async fn get_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result; [INFO] [stdout] 67 | async fn delete_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_prefix` is never used [INFO] [stdout] --> autoschematic-server/src/util.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn clear_prefix(prefix: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_prefix_keep_outputs` is never used [INFO] [stdout] --> autoschematic-server/src/util.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn clear_prefix_keep_outputs(prefix: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 04s [INFO] running `Command { std: "docker" "inspect" "c0d50433ef51eb3bda5401774b4c75a36f2e011031bc6e29429fd46c15b7aafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d50433ef51eb3bda5401774b4c75a36f2e011031bc6e29429fd46c15b7aafb", kill_on_drop: false }` [INFO] [stdout] c0d50433ef51eb3bda5401774b4c75a36f2e011031bc6e29429fd46c15b7aafb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11d23bd6feb646cdcd2cfaccd428d3e033590cb5c8710bd756dda8b7c28078bb [INFO] running `Command { std: "docker" "start" "-a" "11d23bd6feb646cdcd2cfaccd428d3e033590cb5c8710bd756dda8b7c28078bb", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/autoschematic-server/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-lsp/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-server/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-core/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/bundle.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] 205 + let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> autoschematic-core/src/config_rbac.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectorOutbox` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | Connector, ConnectorInbox, ConnectorOutbox, FilterResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use anyhow::{Context, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `JoinSet` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::task::{JoinHandle, JoinSet}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | impl From>>> for ErrorMessage { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - impl From>>> for ErrorMessage { [INFO] [stdout] 29 + impl From>>> for ErrorMessage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - fn from(value: PoisonError>>) -> Self { [INFO] [stdout] 30 + fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diag::DiagnosticResponse` [INFO] [stdout] --> autoschematic-core/src/grpc_bridge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | diag::DiagnosticResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 'connector: for connector_def in &prefix_def.connectors { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlanReport` and `VirtToPhyResponse` [INFO] [stdout] --> autoschematic-core/src/workflow/unbundle.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | connector::{Connector, FilterResponse, VirtToPhyResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | report::{PlanReport, UnbundleReport}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | salt: base64::encode(salt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | nonce: base64::encode(nonce), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | ciphertext: base64::encode(ciphertext), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | let privkey_string = base64::decode(privkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | base64::decode(&secret.ephemeral_pubkey)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let salt = base64::decode(&secret.salt)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let nonce = base64::decode(&secret.nonce)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | base64::decode(&secret.ciphertext)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | let (stdout_r, stdout_w) = (stdout_r, stdout_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | let (stderr_r, stderr_w) = (stderr_r, stderr_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pid` is never read [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut pid: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let stdout_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | let stderr_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git_stage` [INFO] [stdout] --> autoschematic-core/src/report.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn write_to_disk(&self, overbundle: bool, git_stage: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_shortname` [INFO] [stdout] --> autoschematic-core/src/workflow/apply.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | connector_shortname: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_shortname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_outputs` [INFO] [stdout] --> autoschematic-core/src/workflow/get.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | crate::connector::VirtToPhyResponse::Deferred(read_outputs) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_def` [INFO] [stdout] --> autoschematic-core/src/workflow/get_skeletons.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let Some(prefix_def) = autoschematic_config.prefixes.get(prefix_str) else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `semaphore` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | semaphore: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_semaphore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imported_subcount` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let imported_subcount: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 188 | let _imported_subcount: usize = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_FUZZY_DIST` [INFO] [stdout] | [INFO] [stdout] 188 - let imported_subcount: usize = 0; [INFO] [stdout] 188 + let template::MAX_FUZZY_DIST: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | while let Some(res) = import_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | while let Some(res) = subpath_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let root = repo_root()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `have_filter` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let have_filter = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_have_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | connector::{handle::ConnectorHandle, Connector, ConnectorInbox}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | Spec::Binary { path, protocol } => protocol.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/config.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> autoschematic-core/src/config.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | version, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git` [INFO] [stdout] --> autoschematic-core/src/config.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | git, [INFO] [stdout] | ^^^ help: try ignoring the field: `git: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | path, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | Spec::TypescriptLocal { path } => Protocol::Grpc, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> autoschematic-core/src/config.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | Spec::Binary { path, protocol } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outbox` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | async fn task_exec(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 550 | async fn list_metrics(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:33 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seal_new_secrets_from_folder` is never used [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn seal_new_secrets_from_folder( [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 `config` and `keystore` are never read [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ConnectorCache { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | config: AutoschematicConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | keystore: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling autoschematic-lsp v0.8.0 (/opt/rustwide/workdir/autoschematic-lsp) [INFO] [stderr] Compiling autoschematic-core v0.8.1 (/opt/rustwide/workdir/autoschematic-core) [INFO] [stderr] Compiling autoschematic-server v0.8.0 (/opt/rustwide/workdir/autoschematic-server) [INFO] [stderr] Compiling autoschematic v0.8.1 (/opt/rustwide/workdir/autoschematic) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> autoschematic/src/plan.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic/src/task.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unused import: `io::Write` [INFO] [stdout] --> autoschematic/src/unbundle.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `report::PlanReport` [INFO] [stdout] --> autoschematic/src/unbundle.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | connector_cache::ConnectorCache, git_util::get_staged_files, report::PlanReport, workflow::unbundle::write_unbundle_element, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `colour_op_message` and `try_colour_op_message_diff` [INFO] [stdout] --> autoschematic/src/unbundle.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | util::{colour_op_message, try_colour_op_message_diff}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic/src/seal.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | salt: base64::encode(salt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | nonce: base64::encode(nonce), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic/src/seal.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | ciphertext: base64::encode(ciphertext), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/apply.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | prefix: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/apply.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subpath: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/create.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector` [INFO] [stdout] --> autoschematic/src/create.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_name` [INFO] [stdout] --> autoschematic/src/create.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let connector_name = connector_names.get(connector_i).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic/src/import.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | ... ImportMessage::GetSuccess { prefix, addr } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic/src/import.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | ... ImportMessage::WroteFile { path } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/import.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic/src/import.rs:154:67 [INFO] [stdout] | [INFO] [stdout] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_counts` [INFO] [stdout] --> autoschematic/src/import.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let import_counts = autoschematic_core::workflow::import::import_all( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector` [INFO] [stdout] --> autoschematic-lsp/src/main.rs:436:26 [INFO] [stdout] | [INFO] [stdout] 436 | let (connector, mut inbox) = connector_cache [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_name` [INFO] [stdout] --> autoschematic/src/install.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | for (prefix_name, prefix) in &config.prefixes { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic/src/install.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> autoschematic/src/install.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/plan.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/plan.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/seal.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn seal(domain: &str, prefix: Option<&str>, path: &Path, in_path: Option<&Path>, key_id: Option<&str>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `autoschematic_config` [INFO] [stdout] --> autoschematic/src/seal.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let autoschematic_config = load_autoschematic_config()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_autoschematic_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SkeletonImportErrorTemplate` and `SkeletonImportSuccessTemplate` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:21:96 [INFO] [stdout] | [INFO] [stdout] 21 | PlanOverallErrorTemplate, PlanOverallSuccessTemplate, PlanSuccessTemplate, PrLockHeld, SkeletonImportErrorTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | SkeletonImportSuccessTemplate, random_failure_emoji, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-server/src/task.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unused import: `actix_files::NamedFile` [INFO] [stdout] --> autoschematic-server/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_files::NamedFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Tera` [INFO] [stdout] --> autoschematic-server/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use tera::Tera; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest` and `ServiceResponse` [INFO] [stdout] --> autoschematic-server/src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | dev::{ServiceRequest, ServiceResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_filter` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let connector_filter = fuzz_config.connector_filter.map(|c| format!("-c {c}")).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_filter` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let prefix_filter = format!("-p {}", self.prefix.to_string_lossy()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> autoschematic/src/task/test_task/fuzz_test.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let message = format!("fuzz-test-{rand_suffix}"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic/src/task.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | TaskMessage::IssueComment(ref comment) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> autoschematic/src/task.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic/src/task.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_send` [INFO] [stdout] --> autoschematic/src/task.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_handle` [INFO] [stdout] --> autoschematic/src/task.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic/src/task.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_registry_key` [INFO] [stdout] --> autoschematic/src/task.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let error_registry_key = registry_key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic/src/unbundle.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | prefix: &Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subpath` [INFO] [stdout] --> autoschematic/src/unbundle.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | subpath: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `have_nonempty_unbundle` is assigned to, but never used [INFO] [stdout] --> autoschematic/src/unbundle.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut have_nonempty_unbundle = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_have_nonempty_unbundle` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `have_nonempty_unbundle` is never read [INFO] [stdout] --> autoschematic/src/unbundle.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | have_nonempty_unbundle = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-server/src/main.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|key| base64::decode(key).expect("Invalid SESSION_KEY format"))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> autoschematic/src/apply.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | owner: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | repo: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | installation_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic/src/task/test_task.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | let _ = drain_inbox(&mut self.inbox).await.map_err(async |e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinnerData` is never constructed [INFO] [stdout] --> autoschematic/src/spinner/utils/spinner_data.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SpinnerData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_ID` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CLIENT_ID: &str = "GITHUB_CLIENT_ID"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_via_github` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn login_via_github() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `persist_github_token` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn persist_github_token(token: &AccessToken) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_github_token` is never used [INFO] [stdout] --> autoschematic/src/sso.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn load_github_token() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> autoschematic/src/ui.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanDisplay` is never constructed [INFO] [stdout] --> autoschematic/src/ui.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct PlanDisplay { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, `previous`, and `toggle_expand` are never used [INFO] [stdout] --> autoschematic/src/ui.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl PlanDisplay { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 31 | fn new() -> PlanDisplay { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn toggle_expand(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_app` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn run_app(terminal: &mut Terminal, app: &mut PlanDisplay) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui` is never used [INFO] [stdout] --> autoschematic/src/ui.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn ui(f: &mut Frame, app: &mut PlanDisplay) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | for (idx, val) in pair.into_inner().filter(|p| p.as_rule() == Rule::value).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_str` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let key_str = match key.as_rule() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_str` [INFO] [stdout] --> autoschematic-lsp/src/path_at.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let key_str = match key.as_rule() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> autoschematic-lsp/src/reindent.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | && delim.chars().all(|d| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `topRes` should have a snake case name [INFO] [stdout] --> autoschematic-lsp/src/main.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let topRes = self.connector_cache.top().await; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `top_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/bundle.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] 205 + let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> autoschematic-core/src/config_rbac.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectorOutbox` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | Connector, ConnectorInbox, ConnectorOutbox, FilterResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use anyhow::{Context, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `JoinSet` [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::task::{JoinHandle, JoinSet}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/diag.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | impl From>>> for ErrorMessage { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - impl From>>> for ErrorMessage { [INFO] [stdout] 29 + impl From>>> for ErrorMessage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> autoschematic-core/src/error.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - fn from(value: PoisonError>>) -> Self { [INFO] [stdout] 30 + fn from(value: PoisonError>>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diag::DiagnosticResponse` [INFO] [stdout] --> autoschematic-core/src/grpc_bridge.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | diag::DiagnosticResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/task.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `python` [INFO] [stdout] --> autoschematic-core/src/util.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "python")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stdout] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 'connector: for connector_def in &prefix_def.connectors { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlanReport` and `VirtToPhyResponse` [INFO] [stdout] --> autoschematic-core/src/workflow/unbundle.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | connector::{Connector, FilterResponse, VirtToPhyResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | report::{PlanReport, UnbundleReport}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head_sha` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_sha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let cache = self.cache.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | let (owner, repo, installation_id) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some((access_token, github_username)) = has_valid_session(&session).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | let (res, session, stream) = actix_ws::handle(&req, stream)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let stream = stream [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:379:52 [INFO] [stdout] | [INFO] [stdout] 379 | Ok(AggregatedMessage::Text(text)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:384:54 [INFO] [stdout] | [INFO] [stdout] 384 | Ok(AggregatedMessage::Binary(bin)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | salt: base64::encode(salt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | nonce: base64::encode(nonce), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | ciphertext: base64::encode(ciphertext), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | let privkey_string = base64::decode(privkey_string_base64)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | base64::decode(&secret.ephemeral_pubkey)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let salt = base64::decode(&secret.salt)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let nonce = base64::decode(&secret.nonce)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> autoschematic-core/src/keystore.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | base64::decode(&secret.ciphertext)?.as_slice(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:420:15 [INFO] [stdout] | [INFO] [stdout] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:420:29 [INFO] [stdout] | [INFO] [stdout] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:453:15 [INFO] [stdout] | [INFO] [stdout] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `github_username` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:453:29 [INFO] [stdout] | [INFO] [stdout] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:457:23 [INFO] [stdout] | [INFO] [stdout] 457 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `installation_id` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let stream = stream [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | .map_err(|e| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(config) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | for (key, entry) in entries.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic-server/src/event_handlers.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | ... prefix, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | let (stdout_r, stdout_w) = (stdout_r, stdout_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_w` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | let (stderr_r, stderr_w) = (stderr_r, stderr_w); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pid` is never read [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut pid: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let stdout_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_thread` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | let stderr_thread = tokio::task::spawn_blocking(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_filter` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_filter` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:74:75 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> autoschematic-server/src/task.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | ... 'attempt: for i in [0..max_attempts] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> autoschematic-server/src/task.rs:83:75 [INFO] [stdout] | [INFO] [stdout] 83 | ... Err(octocrab::Error::GitHub { source, backtrace }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `backtrace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> autoschematic-server/src/task.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> autoschematic-server/src/task.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> autoschematic-server/src/task.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let (client, token) = credentials::octocrab_installation_client(octocrab::models::InstallationId(installation_id)).await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_send` [INFO] [stdout] --> autoschematic-server/src/task.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_handle` [INFO] [stdout] --> autoschematic-server/src/task.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic-server/src/task.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_registry_key` [INFO] [stdout] --> autoschematic-server/src/task.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let error_registry_key = registry_key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git_stage` [INFO] [stdout] --> autoschematic-core/src/report.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn write_to_disk(&self, overbundle: bool, git_stage: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_shortname` [INFO] [stdout] --> autoschematic-core/src/workflow/apply.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | connector_shortname: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_shortname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_outputs` [INFO] [stdout] --> autoschematic-core/src/workflow/get.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | crate::connector::VirtToPhyResponse::Deferred(read_outputs) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix_def` [INFO] [stdout] --> autoschematic-core/src/workflow/get_skeletons.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let Some(prefix_def) = autoschematic_config.prefixes.get(prefix_str) else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | repo.runs.remove(run_key); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `semaphore` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | semaphore: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_semaphore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imported_subcount` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let imported_subcount: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 188 | let _imported_subcount: usize = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_FUZZY_DIST` [INFO] [stdout] | [INFO] [stdout] 188 - let imported_subcount: usize = 0; [INFO] [stdout] 188 + let template::MAX_FUZZY_DIST: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | while let Some(res) = import_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> autoschematic-core/src/workflow/import.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | while let Some(res) = subpath_joinset.join_next().await {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let root = repo_root()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `have_filter` [INFO] [stdout] --> autoschematic-core/src/workflow/rename.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let have_filter = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_have_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connector::Connector` [INFO] [stdout] --> autoschematic-server/src/changeset.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | use autoschematic_core::{config::AutoschematicConfig, connector::Connector, connector_cache::ConnectorCache, report::PlanReportSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> autoschematic-server/src/object.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut created_obj: Vec<&Object> = created_obj [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_handle` [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let reader_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dashboard_app` is never used [INFO] [stdout] --> autoschematic-server/src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn dashboard_app() -> actix_web::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> autoschematic-server/src/main.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | async fn root() -> impl Responder { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_sha` and `base_ref` are never read [INFO] [stdout] --> autoschematic-server/src/changeset.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ChangeSet { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub head_sha: String, [INFO] [stdout] 50 | pub base_ref: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_reaction_standalone` is never used [INFO] [stdout] --> autoschematic-server/src/changeset/util.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | pub async fn add_reaction_standalone(webhook_event: WebhookEvent, content: ReactionContent) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> autoschematic-server/src/changeset_cache.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl ChangeSetCache { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dashboard_list` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub async fn dashboard_list(session: Session) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repo_runs_subscribe` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | async fn repo_runs_subscribe(req: HttpRequest, stream: web::Payload) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_state_subscribe` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/routes.rs:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | pub async fn task_state_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrInfo` is never constructed [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct PrInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pr_info` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_pr_info(access_token: &str, owner: &str, repo: &str, pr: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_installations` is never used [INFO] [stdout] --> autoschematic-server/src/dashboard/api_util.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn get_installations(jwt: &SecretBox) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidKeystoreString`, `InvalidLockString`, `InvalidHeaderValue`, and `RepoLocked` are never constructed [INFO] [stdout] --> autoschematic-server/src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AutoschematicServerErrorType { [INFO] [stdout] | ---------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidKeystoreString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidLockString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | InvalidHeaderValue(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | RepoLocked(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AutoschematicServerErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_comment` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn create_comment( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GithubJwtClaims` is never constructed [INFO] [stdout] --> autoschematic-server/src/github_util.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct GithubJwtClaims { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_jwt` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create_jwt() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rbac_config_for_repo` is never used [INFO] [stdout] --> autoschematic-server/src/github_util.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn get_rbac_config_for_repo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepoLockStore` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RepoLockStore: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepoLock` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait RepoLock { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repolockstore_init` is never used [INFO] [stdout] --> autoschematic-server/src/repolock.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn repolockstore_init(name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskLockStore` is never constructed [INFO] [stdout] --> autoschematic-server/src/repolock/ondisk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OnDiskLockStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OnDiskLock` is never constructed [INFO] [stdout] --> autoschematic-server/src/repolock/ondisk.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OnDiskLock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import`, `import_overwrite`, and `plan_apply_import_complete` are never used [INFO] [stdout] --> autoschematic-server/src/task/test_task/util.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl TestTask { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn import(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn import_overwrite( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn plan_apply_import_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prefix` is never read [INFO] [stdout] --> autoschematic-server/src/template.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PlanErrorTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 42 | pub prefix: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deferred_count` is never read [INFO] [stdout] --> autoschematic-server/src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PlanDeferralLoopTemplate { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 58 | pub failure_emoji: &'static str, [INFO] [stdout] 59 | pub deferred_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkeletonImportErrorTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct SkeletonImportErrorTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkeletonImportSuccessTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct SkeletonImportSuccessTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExplainErrorTemplate` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ExplainErrorTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectorStdout` is never constructed [INFO] [stdout] --> autoschematic-server/src/template.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ConnectorStdout { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Owner` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Owner = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Repo` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Repo = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PullRequest` is never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PullRequest = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run_sender` is never read [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RepoData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | runs: IndexMap, [INFO] [stdout] 32 | run_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_started` is never read [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RunData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 37 | #[serde(skip)] [INFO] [stdout] 38 | pub time_started: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_repos`, `list_runs`, `subscribe_runs`, and `delete_run` are never used [INFO] [stdout] --> autoschematic-server/src/tracestore.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait TraceStore: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 62 | async fn list_repos(&self) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | async fn list_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | async fn list_runs_for_pr(&self, repo_key: &RepoKey, pr: u64) -> anyhow::Result>; [INFO] [stdout] 65 | async fn subscribe_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | async fn get_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result; [INFO] [stdout] 67 | async fn delete_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_prefix` is never used [INFO] [stdout] --> autoschematic-server/src/util.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn clear_prefix(prefix: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_prefix_keep_outputs` is never used [INFO] [stdout] --> autoschematic-server/src/util.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn clear_prefix_keep_outputs(prefix: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> autoschematic-core/src/connector/spawn.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | connector::{handle::ConnectorHandle, Connector, ConnectorInbox}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | Spec::Binary { path, protocol } => protocol.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/config.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> autoschematic-core/src/config.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | version, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git` [INFO] [stdout] --> autoschematic-core/src/config.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | git, [INFO] [stdout] | ^^^ help: try ignoring the field: `git: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | path, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> autoschematic-core/src/config.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | binary, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> autoschematic-core/src/config.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | features, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> autoschematic-core/src/config.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | Spec::TypescriptLocal { path } => Protocol::Grpc, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> autoschematic-core/src/config.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | Spec::Binary { path, protocol } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outbox` [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | async fn task_exec(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:550:34 [INFO] [stdout] | [INFO] [stdout] 550 | async fn list_metrics(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:33 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> autoschematic-core/src/connector.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seal_new_secrets_from_folder` is never used [INFO] [stdout] --> autoschematic-core/src/connector/spawn/sandbox.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | fn seal_new_secrets_from_folder( [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 `config` and `keystore` are never read [INFO] [stdout] --> autoschematic-core/src/connector_cache.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ConnectorCache { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | config: AutoschematicConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | keystore: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.99s [INFO] running `Command { std: "docker" "inspect" "11d23bd6feb646cdcd2cfaccd428d3e033590cb5c8710bd756dda8b7c28078bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d23bd6feb646cdcd2cfaccd428d3e033590cb5c8710bd756dda8b7c28078bb", kill_on_drop: false }` [INFO] [stdout] 11d23bd6feb646cdcd2cfaccd428d3e033590cb5c8710bd756dda8b7c28078bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dad91509226b58014d74397302ceac39658fe24e02c9e0439d0a77c7585f24bc [INFO] running `Command { std: "docker" "start" "-a" "dad91509226b58014d74397302ceac39658fe24e02c9e0439d0a77c7585f24bc", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/autoschematic-server/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-server/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-core/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic-lsp/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/autoschematic/Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/bundle.rs:205:44 [INFO] [stderr] | [INFO] [stderr] 205 | let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 205 - let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] 205 + let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PathBuf` and `Path` [INFO] [stderr] --> autoschematic-core/src/config_rbac.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/connector/spawn.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/connector/spawn.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> autoschematic-core/src/connector_cache.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ConnectorOutbox` [INFO] [stderr] --> autoschematic-core/src/connector_cache.rs:12:36 [INFO] [stderr] | [INFO] [stderr] 12 | Connector, ConnectorInbox, ConnectorOutbox, FilterResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bail` [INFO] [stderr] --> autoschematic-core/src/connector_cache.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | use anyhow::{Context, bail}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JoinHandle` and `JoinSet` [INFO] [stderr] --> autoschematic-core/src/connector_cache.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio::task::{JoinHandle, JoinSet}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/diag.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/diag.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/diag.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/diag.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/diag.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg_attr(feature = "python", derive(FromPyObject))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/error.rs:29:53 [INFO] [stderr] | [INFO] [stderr] 29 | impl From>>> for ErrorMessage { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - impl From>>> for ErrorMessage { [INFO] [stderr] 29 + impl From>>> for ErrorMessage { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/error.rs:30:62 [INFO] [stderr] | [INFO] [stderr] 30 | fn from(value: PoisonError>>) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 - fn from(value: PoisonError>>) -> Self { [INFO] [stderr] 30 + fn from(value: PoisonError>>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `diag::DiagnosticResponse` [INFO] [stderr] --> autoschematic-core/src/grpc_bridge.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | diag::DiagnosticResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/task.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/task.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/util.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-core/src/util.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `grpc`, `nix`, `prost`, `sandbox`, `tonic`, `tonic-build`, `tonic-prost`, and `tonic-prost-build` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> autoschematic-core/src/workflow/rename.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | 'connector: for connector_def in &prefix_def.connectors { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PlanReport` and `VirtToPhyResponse` [INFO] [stderr] --> autoschematic-core/src/workflow/unbundle.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | connector::{Connector, FilterResponse, VirtToPhyResponse}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | report::{PlanReport, UnbundleReport}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:66:39 [INFO] [stderr] | [INFO] [stderr] 66 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:67:27 [INFO] [stderr] | [INFO] [stderr] 67 | salt: base64::encode(salt), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | nonce: base64::encode(nonce), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:69:33 [INFO] [stderr] | [INFO] [stderr] 69 | ciphertext: base64::encode(ciphertext), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:76:38 [INFO] [stderr] | [INFO] [stderr] 76 | let privkey_string = base64::decode(privkey_string_base64)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | base64::decode(&secret.ephemeral_pubkey)?.as_slice(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:85:28 [INFO] [stderr] | [INFO] [stderr] 85 | let salt = base64::decode(&secret.salt)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let nonce = base64::decode(&secret.nonce)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-core/src/keystore.rs:97:25 [INFO] [stderr] | [INFO] [stderr] 97 | base64::decode(&secret.ciphertext)?.as_slice(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stdout_w` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:252:20 [INFO] [stderr] | [INFO] [stderr] 252 | let (stdout_r, stdout_w) = (stdout_r, stdout_w); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_w` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stderr_w` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:253:20 [INFO] [stderr] | [INFO] [stderr] 253 | let (stderr_r, stderr_w) = (stderr_r, stderr_w); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_w` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `pid` is never read [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | let mut pid: Option = None; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stdout_thread` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:364:9 [INFO] [stderr] | [INFO] [stderr] 364 | let stdout_thread = tokio::task::spawn_blocking(move || { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_thread` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stderr_thread` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:392:9 [INFO] [stderr] | [INFO] [stderr] 392 | let stderr_thread = tokio::task::spawn_blocking(move || { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_thread` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `git_stage` [INFO] [stderr] --> autoschematic-core/src/report.rs:109:57 [INFO] [stderr] | [INFO] [stderr] 109 | pub async fn write_to_disk(&self, overbundle: bool, git_stage: bool) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_stage` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connector_shortname` [INFO] [stderr] --> autoschematic-core/src/workflow/apply.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | connector_shortname: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_shortname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `read_outputs` [INFO] [stderr] --> autoschematic-core/src/workflow/get.rs:43:63 [INFO] [stderr] | [INFO] [stderr] 43 | crate::connector::VirtToPhyResponse::Deferred(read_outputs) => { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_outputs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix_def` [INFO] [stderr] --> autoschematic-core/src/workflow/get_skeletons.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | let Some(prefix_def) = autoschematic_config.prefixes.get(prefix_str) else { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_def` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `semaphore` [INFO] [stderr] --> autoschematic-core/src/workflow/import.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | semaphore: Arc, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_semaphore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `imported_subcount` [INFO] [stderr] --> autoschematic-core/src/workflow/import.rs:188:17 [INFO] [stderr] | [INFO] [stderr] 188 | let imported_subcount: usize = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 188 | let _imported_subcount: usize = 0; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_FUZZY_DIST` [INFO] [stderr] | [INFO] [stderr] 188 - let imported_subcount: usize = 0; [INFO] [stderr] 188 + let template::MAX_FUZZY_DIST: usize = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> autoschematic-core/src/workflow/import.rs:290:28 [INFO] [stderr] | [INFO] [stderr] 290 | while let Some(res) = import_joinset.join_next().await {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> autoschematic-core/src/workflow/import.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | while let Some(res) = subpath_joinset.join_next().await {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> autoschematic-core/src/workflow/rename.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let root = repo_root()?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `have_filter` [INFO] [stderr] --> autoschematic-core/src/workflow/rename.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let have_filter = false; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_have_filter` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Connector` [INFO] [stderr] --> autoschematic-core/src/connector/spawn.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | connector::{handle::ConnectorHandle, Connector, ConnectorInbox}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> autoschematic-core/src/config.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | Spec::Binary { path, protocol } => protocol.clone(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> autoschematic-core/src/config.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | name, [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `version` [INFO] [stderr] --> autoschematic-core/src/config.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | version, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binary` [INFO] [stderr] --> autoschematic-core/src/config.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | binary, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `git` [INFO] [stderr] --> autoschematic-core/src/config.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | git, [INFO] [stderr] | ^^^ help: try ignoring the field: `git: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `features` [INFO] [stderr] --> autoschematic-core/src/config.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | features, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> autoschematic-core/src/config.rs:101:17 [INFO] [stderr] | [INFO] [stderr] 101 | path, [INFO] [stderr] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binary` [INFO] [stderr] --> autoschematic-core/src/config.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | binary, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `features` [INFO] [stderr] --> autoschematic-core/src/config.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | features, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `features: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> autoschematic-core/src/config.rs:106:37 [INFO] [stderr] | [INFO] [stderr] 106 | Spec::TypescriptLocal { path } => Protocol::Grpc, [INFO] [stderr] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol` [INFO] [stderr] --> autoschematic-core/src/config.rs:143:34 [INFO] [stderr] | [INFO] [stderr] 143 | Spec::Binary { path, protocol } => { [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `outbox` [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:74:45 [INFO] [stderr] | [INFO] [stderr] 74 | async fn new(name: &str, prefix: &Path, outbox: ConnectorOutbox) -> Result, anyhow::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbox` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> autoschematic-core/src/connector.rs:543:31 [INFO] [stderr] | [INFO] [stderr] 543 | async fn task_exec(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> autoschematic-core/src/connector.rs:550:34 [INFO] [stderr] | [INFO] [stderr] 550 | async fn list_metrics(&self, addr: &Path, ) -> anyhow::Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> autoschematic-core/src/connector.rs:554:33 [INFO] [stderr] | [INFO] [stderr] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> autoschematic-core/src/connector.rs:554:46 [INFO] [stderr] | [INFO] [stderr] 554 | async fn read_metric(&self, addr: &Path, name: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: function `seal_new_secrets_from_folder` is never used [INFO] [stderr] --> autoschematic-core/src/connector/spawn/sandbox.rs:482:4 [INFO] [stderr] | [INFO] [stderr] 482 | fn seal_new_secrets_from_folder( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `keystore` are never read [INFO] [stderr] --> autoschematic-core/src/connector_cache.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct ConnectorCache { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | config: AutoschematicConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 37 | keystore: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `autoschematic-core` (lib) generated 68 warnings (run `cargo fix --lib -p autoschematic-core` to apply 11 suggestions) [INFO] [stderr] warning: unused variable: `connector` [INFO] [stderr] --> autoschematic-lsp/src/main.rs:436:26 [INFO] [stderr] | [INFO] [stderr] 436 | let (connector, mut inbox) = connector_cache [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> autoschematic-lsp/src/path_at.rs:149:18 [INFO] [stderr] | [INFO] [stderr] 149 | for (idx, val) in pair.into_inner().filter(|p| p.as_rule() == Rule::value).enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_str` [INFO] [stderr] --> autoschematic-lsp/src/path_at.rs:170:25 [INFO] [stderr] | [INFO] [stderr] 170 | let key_str = match key.as_rule() { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_str` [INFO] [stderr] --> autoschematic-lsp/src/path_at.rs:287:25 [INFO] [stderr] | [INFO] [stderr] 287 | let key_str = match key.as_rule() { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> autoschematic-lsp/src/reindent.rs:186:43 [INFO] [stderr] | [INFO] [stderr] 186 | && delim.chars().all(|d| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: variable `topRes` should have a snake case name [INFO] [stderr] --> autoschematic-lsp/src/main.rs:288:21 [INFO] [stderr] | [INFO] [stderr] 288 | let topRes = self.connector_cache.top().await; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `top_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `autoschematic-lsp` (bin "autoschematic-lsp" test) generated 6 warnings [INFO] [stderr] warning: `autoschematic-core` (lib test) generated 68 warnings (68 duplicates) [INFO] [stderr] warning: unused import: `io::Write` [INFO] [stderr] --> autoschematic/src/plan.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{io::Write, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic/src/task.rs:188:15 [INFO] [stderr] | [INFO] [stderr] 188 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::Write` [INFO] [stderr] --> autoschematic/src/unbundle.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{io::Write, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `report::PlanReport` [INFO] [stderr] --> autoschematic/src/unbundle.rs:4:66 [INFO] [stderr] | [INFO] [stderr] 4 | connector_cache::ConnectorCache, git_util::get_staged_files, report::PlanReport, workflow::unbundle::write_unbundle_element, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `colour_op_message` and `try_colour_op_message_diff` [INFO] [stderr] --> autoschematic/src/unbundle.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | util::{colour_op_message, try_colour_op_message_diff}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic/src/seal.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | let pubkey_string = base64::decode(pubkey_string_base64)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic/src/seal.rs:83:35 [INFO] [stderr] | [INFO] [stderr] 83 | ephemeral_pubkey: base64::encode(ephemeral_pubkey.as_bytes()), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic/src/seal.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | salt: base64::encode(salt), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic/src/seal.rs:85:24 [INFO] [stderr] | [INFO] [stderr] 85 | nonce: base64::encode(nonce), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> autoschematic/src/seal.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | ciphertext: base64::encode(ciphertext), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/apply.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | prefix: Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subpath` [INFO] [stderr] --> autoschematic/src/apply.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | subpath: Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/create.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connector` [INFO] [stderr] --> autoschematic/src/create.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn create(prefix: &Option, connector: &Option) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connector_name` [INFO] [stderr] --> autoschematic/src/create.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let connector_name = connector_names.get(connector_i).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/import.rs:144:59 [INFO] [stderr] | [INFO] [stderr] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> autoschematic/src/import.rs:144:67 [INFO] [stderr] | [INFO] [stderr] 144 | ... ImportMessage::StartGet { prefix, addr } => {} [INFO] [stderr] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/import.rs:145:61 [INFO] [stderr] | [INFO] [stderr] 145 | ... ImportMessage::GetSuccess { prefix, addr } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> autoschematic/src/import.rs:153:60 [INFO] [stderr] | [INFO] [stderr] 153 | ... ImportMessage::WroteFile { path } => {} [INFO] [stderr] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/import.rs:154:59 [INFO] [stderr] | [INFO] [stderr] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> autoschematic/src/import.rs:154:67 [INFO] [stderr] | [INFO] [stderr] 154 | ... ImportMessage::NotFound { prefix, addr } => {} [INFO] [stderr] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `import_counts` [INFO] [stderr] --> autoschematic/src/import.rs:170:21 [INFO] [stderr] | [INFO] [stderr] 170 | let import_counts = autoschematic_core::workflow::import::import_all( [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_counts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix_name` [INFO] [stderr] --> autoschematic/src/install.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | for (prefix_name, prefix) in &config.prefixes { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binary` [INFO] [stderr] --> autoschematic/src/install.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | binary, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `binary: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol` [INFO] [stderr] --> autoschematic/src/install.rs:67:21 [INFO] [stderr] | [INFO] [stderr] 67 | protocol, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/plan.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subpath` [INFO] [stderr] --> autoschematic/src/plan.rs:12:72 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn plan(prefix: &Option, connector: &Option, subpath: &Option) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/seal.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn seal(domain: &str, prefix: Option<&str>, path: &Path, in_path: Option<&Path>, key_id: Option<&str>) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `autoschematic_config` [INFO] [stderr] --> autoschematic/src/seal.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let autoschematic_config = load_autoschematic_config()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_autoschematic_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connector_filter` [INFO] [stderr] --> autoschematic/src/task/test_task/fuzz_test.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let connector_filter = fuzz_config.connector_filter.map(|c| format!("-c {c}")).unwrap_or_default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix_filter` [INFO] [stderr] --> autoschematic/src/task/test_task/fuzz_test.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let prefix_filter = format!("-p {}", self.prefix.to_string_lossy()); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> autoschematic/src/task/test_task/fuzz_test.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | let message = format!("fuzz-test-{rand_suffix}"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic/src/task.rs:74:55 [INFO] [stderr] | [INFO] [stderr] 74 | TaskMessage::IssueComment(ref comment) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> autoschematic/src/task.rs:114:20 [INFO] [stderr] | [INFO] [stderr] 114 | Ok(msg) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> autoschematic/src/task.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dummy_send` [INFO] [stderr] --> autoschematic/src/task.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `broadcast_handle` [INFO] [stderr] --> autoschematic/src/task.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader_handle` [INFO] [stderr] --> autoschematic/src/task.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let reader_handle = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error_registry_key` [INFO] [stderr] --> autoschematic/src/task.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let error_registry_key = registry_key.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic/src/unbundle.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | prefix: &Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subpath` [INFO] [stderr] --> autoschematic/src/unbundle.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | subpath: &Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subpath` [INFO] [stderr] [INFO] [stderr] warning: variable `have_nonempty_unbundle` is assigned to, but never used [INFO] [stderr] --> autoschematic/src/unbundle.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut have_nonempty_unbundle = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_have_nonempty_unbundle` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `have_nonempty_unbundle` is never read [INFO] [stderr] --> autoschematic/src/unbundle.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | have_nonempty_unbundle = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> autoschematic/src/apply.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `owner` [INFO] [stderr] --> autoschematic/src/task/test_task.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | owner: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo` [INFO] [stderr] --> autoschematic/src/task/test_task.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | repo: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `installation_id` [INFO] [stderr] --> autoschematic/src/task/test_task.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | installation_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> autoschematic/src/task/test_task.rs:64:67 [INFO] [stderr] | [INFO] [stderr] 64 | let _ = drain_inbox(&mut self.inbox).await.map_err(async |e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: struct `SpinnerData` is never constructed [INFO] [stderr] --> autoschematic/src/spinner/utils/spinner_data.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct SpinnerData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `CLIENT_ID` is never used [INFO] [stderr] --> autoschematic/src/sso.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const CLIENT_ID: &str = "GITHUB_CLIENT_ID"; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `login_via_github` is never used [INFO] [stderr] --> autoschematic/src/sso.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn login_via_github() -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `persist_github_token` is never used [INFO] [stderr] --> autoschematic/src/sso.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn persist_github_token(token: &AccessToken) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_github_token` is never used [INFO] [stderr] --> autoschematic/src/sso.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn load_github_token() -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Item` is never constructed [INFO] [stderr] --> autoschematic/src/ui.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | struct Item { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanDisplay` is never constructed [INFO] [stderr] --> autoschematic/src/ui.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | struct PlanDisplay { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `next`, `previous`, and `toggle_expand` are never used [INFO] [stderr] --> autoschematic/src/ui.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 30 | impl PlanDisplay { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 31 | fn new() -> PlanDisplay { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | fn next(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | fn previous(&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn toggle_expand(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> autoschematic/src/ui.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_app` is never used [INFO] [stderr] --> autoschematic/src/ui.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | fn run_app(terminal: &mut Terminal, app: &mut PlanDisplay) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ui` is never used [INFO] [stderr] --> autoschematic/src/ui.rs:146:4 [INFO] [stderr] | [INFO] [stderr] 146 | fn ui(f: &mut Frame, app: &mut PlanDisplay) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SkeletonImportErrorTemplate` and `SkeletonImportSuccessTemplate` [INFO] [stderr] --> autoschematic-server/src/event_handlers.rs:21:96 [INFO] [stderr] | [INFO] [stderr] 21 | PlanOverallErrorTemplate, PlanOverallSuccessTemplate, PlanSuccessTemplate, PrLockHeld, SkeletonImportErrorTemplate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | SkeletonImportSuccessTemplate, random_failure_emoji, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `python` [INFO] [stderr] --> autoschematic-server/src/task.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | #[cfg(feature = "python")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` [INFO] [stderr] = help: consider adding `python` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_files::NamedFile` [INFO] [stderr] --> autoschematic-server/src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use actix_files::NamedFile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tera::Tera` [INFO] [stderr] --> autoschematic-server/src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use tera::Tera; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ServiceRequest` and `ServiceResponse` [INFO] [stderr] --> autoschematic-server/src/main.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | dev::{ServiceRequest, ServiceResponse}, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> autoschematic-server/src/main.rs:93:28 [INFO] [stderr] | [INFO] [stderr] 93 | .map(|key| base64::decode(key).expect("Invalid SESSION_KEY format"))?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `owner` [INFO] [stderr] --> autoschematic-server/src/changeset_cache.rs:94:32 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo` [INFO] [stderr] --> autoschematic-server/src/changeset_cache.rs:94:47 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `head_sha` [INFO] [stderr] --> autoschematic-server/src/changeset_cache.rs:94:61 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_sha` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cache` [INFO] [stderr] --> autoschematic-server/src/changeset_cache.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | let cache = self.cache.lock().await; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `github_username` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:101:29 [INFO] [stderr] | [INFO] [stderr] 101 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `installation_id` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:166:23 [INFO] [stderr] | [INFO] [stderr] 166 | let (owner, repo, installation_id) = param.into_inner(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `github_username` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:168:32 [INFO] [stderr] | [INFO] [stderr] 168 | if let Some((access_token, github_username)) = has_valid_session(&session).await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:286:15 [INFO] [stderr] | [INFO] [stderr] 286 | let (res, session, stream) = actix_ws::handle(&req, stream)?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:287:9 [INFO] [stderr] | [INFO] [stderr] 287 | let stream = stream [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:379:52 [INFO] [stderr] | [INFO] [stderr] 379 | Ok(AggregatedMessage::Text(text)) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bin` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:384:54 [INFO] [stderr] | [INFO] [stderr] 384 | Ok(AggregatedMessage::Binary(bin)) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:415:5 [INFO] [stderr] | [INFO] [stderr] 415 | req: HttpRequest, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `access_token` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:420:15 [INFO] [stderr] | [INFO] [stderr] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `github_username` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:420:29 [INFO] [stderr] | [INFO] [stderr] 420 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:439:5 [INFO] [stderr] | [INFO] [stderr] 439 | req: HttpRequest, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `access_token` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:453:15 [INFO] [stderr] | [INFO] [stderr] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `github_username` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:453:29 [INFO] [stderr] | [INFO] [stderr] 453 | let Some((access_token, github_username)) = has_valid_session(&session).await? else { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_github_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `installation_id` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:457:23 [INFO] [stderr] | [INFO] [stderr] 457 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:529:29 [INFO] [stderr] | [INFO] [stderr] 529 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `installation_id` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:497:23 [INFO] [stderr] | [INFO] [stderr] 497 | let (owner, repo, installation_id, prefix, task_name) = param.into_inner(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_installation_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:516:13 [INFO] [stderr] | [INFO] [stderr] 516 | let stream = stream [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> autoschematic-server/src/dashboard/api_util.rs:204:31 [INFO] [stderr] | [INFO] [stderr] 204 | .map_err(|e| {}) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> autoschematic-server/src/dashboard/api_util.rs:216:24 [INFO] [stderr] | [INFO] [stderr] 216 | Ok(config) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> autoschematic-server/src/event_handlers.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | for (key, entry) in entries.iter() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> autoschematic-server/src/event_handlers.rs:364:29 [INFO] [stderr] | [INFO] [stderr] 364 | ... prefix, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `prefix: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:56:28 [INFO] [stderr] | [INFO] [stderr] 56 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix_filter` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:74:54 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connector_filter` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:74:75 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn apply(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:100:28 [INFO] [stderr] | [INFO] [stderr] 100 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | let (comment_type, comment) = wait_for_comment_types( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> autoschematic-server/src/task.rs:74:43 [INFO] [stderr] | [INFO] [stderr] 74 | ... 'attempt: for i in [0..max_attempts] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `backtrace` [INFO] [stderr] --> autoschematic-server/src/task.rs:83:75 [INFO] [stderr] | [INFO] [stderr] 83 | ... Err(octocrab::Error::GitHub { source, backtrace }) => { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `backtrace: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> autoschematic-server/src/task.rs:129:20 [INFO] [stderr] | [INFO] [stderr] 129 | Ok(msg) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> autoschematic-server/src/task.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> autoschematic-server/src/task.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | let (client, token) = credentials::octocrab_installation_client(octocrab::models::InstallationId(installation_id)).await?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dummy_send` [INFO] [stderr] --> autoschematic-server/src/task.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | let (dummy_send, registry_broadcast) = tokio::sync::broadcast::channel(64); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_send` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `broadcast_handle` [INFO] [stderr] --> autoschematic-server/src/task.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let broadcast_handle: tokio::task::JoinHandle> = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader_handle` [INFO] [stderr] --> autoschematic-server/src/task.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | let reader_handle = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error_registry_key` [INFO] [stderr] --> autoschematic-server/src/task.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | let error_registry_key = registry_key.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_registry_key` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:153:19 [INFO] [stderr] | [INFO] [stderr] 153 | repo.runs.remove(run_key); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `connector::Connector` [INFO] [stderr] --> autoschematic-server/src/changeset.rs:8:55 [INFO] [stderr] | [INFO] [stderr] 8 | use autoschematic_core::{config::AutoschematicConfig, connector::Connector, connector_cache::ConnectorCache, report::PlanReportSet}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> autoschematic-server/src/object.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let mut created_obj: Vec<&Object> = created_obj [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader_handle` [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | let reader_handle = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stderr] [INFO] [stderr] warning: function `dashboard_app` is never used [INFO] [stderr] --> autoschematic-server/src/main.rs:185:4 [INFO] [stderr] | [INFO] [stderr] 185 | fn dashboard_app() -> actix_web::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `root` is never used [INFO] [stderr] --> autoschematic-server/src/main.rs:190:10 [INFO] [stderr] | [INFO] [stderr] 190 | async fn root() -> impl Responder { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `base_sha` and `base_ref` are never read [INFO] [stderr] --> autoschematic-server/src/changeset.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct ChangeSet { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | pub base_sha: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 49 | pub head_sha: String, [INFO] [stderr] 50 | pub base_ref: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_reaction_standalone` is never used [INFO] [stderr] --> autoschematic-server/src/changeset/util.rs:279:14 [INFO] [stderr] | [INFO] [stderr] 279 | pub async fn add_reaction_standalone(webhook_event: WebhookEvent, content: ReactionContent) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove` is never used [INFO] [stderr] --> autoschematic-server/src/changeset_cache.rs:94:18 [INFO] [stderr] | [INFO] [stderr] 21 | impl ChangeSetCache { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | pub async fn remove(&self, owner: String, repo: String, head_sha: String) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dashboard_list` is never used [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | pub async fn dashboard_list(session: Session) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `repo_runs_subscribe` is never used [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:285:10 [INFO] [stderr] | [INFO] [stderr] 285 | async fn repo_runs_subscribe(req: HttpRequest, stream: web::Payload) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `task_state_subscribe` is never used [INFO] [stderr] --> autoschematic-server/src/dashboard/routes.rs:475:14 [INFO] [stderr] | [INFO] [stderr] 475 | pub async fn task_state_subscribe( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PrInfo` is never constructed [INFO] [stderr] --> autoschematic-server/src/dashboard/api_util.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 103 | pub struct PrInfo { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_pr_info` is never used [INFO] [stderr] --> autoschematic-server/src/dashboard/api_util.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | pub async fn get_pr_info(access_token: &str, owner: &str, repo: &str, pr: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_installations` is never used [INFO] [stderr] --> autoschematic-server/src/dashboard/api_util.rs:140:14 [INFO] [stderr] | [INFO] [stderr] 140 | pub async fn get_installations(jwt: &SecretBox) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidKeystoreString`, `InvalidLockString`, `InvalidHeaderValue`, and `RepoLocked` are never constructed [INFO] [stderr] --> autoschematic-server/src/error.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum AutoschematicServerErrorType { [INFO] [stderr] | ---------------------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | InvalidKeystoreString(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | InvalidLockString(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | InvalidHeaderValue(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | [INFO] [stderr] 35 | RepoLocked(String), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AutoschematicServerErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `create_comment` is never used [INFO] [stderr] --> autoschematic-server/src/github_util.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | pub async fn create_comment( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GithubJwtClaims` is never constructed [INFO] [stderr] --> autoschematic-server/src/github_util.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | struct GithubJwtClaims { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_jwt` is never used [INFO] [stderr] --> autoschematic-server/src/github_util.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn create_jwt() -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_rbac_config_for_repo` is never used [INFO] [stderr] --> autoschematic-server/src/github_util.rs:95:14 [INFO] [stderr] | [INFO] [stderr] 95 | pub async fn get_rbac_config_for_repo( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `RepoLockStore` is never used [INFO] [stderr] --> autoschematic-server/src/repolock.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait RepoLockStore: Send + Sync + std::fmt::Debug { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `RepoLock` is never used [INFO] [stderr] --> autoschematic-server/src/repolock.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait RepoLock { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `repolockstore_init` is never used [INFO] [stderr] --> autoschematic-server/src/repolock.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn repolockstore_init(name: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OnDiskLockStore` is never constructed [INFO] [stderr] --> autoschematic-server/src/repolock/ondisk.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct OnDiskLockStore { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OnDiskLock` is never constructed [INFO] [stderr] --> autoschematic-server/src/repolock/ondisk.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct OnDiskLock { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `import`, `import_overwrite`, and `plan_apply_import_complete` are never used [INFO] [stderr] --> autoschematic-server/src/task/test_task/util.rs:89:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl TestTask { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | pub async fn import(&mut self, issue_number: u64, prefix_filter: &str, connector_filter: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub async fn import_overwrite( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub async fn plan_apply_import_complete( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `prefix` is never read [INFO] [stderr] --> autoschematic-server/src/template.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct PlanErrorTemplate { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 42 | pub prefix: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `deferred_count` is never read [INFO] [stderr] --> autoschematic-server/src/template.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct PlanDeferralLoopTemplate { [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] 58 | pub failure_emoji: &'static str, [INFO] [stderr] 59 | pub deferred_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SkeletonImportErrorTemplate` is never constructed [INFO] [stderr] --> autoschematic-server/src/template.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub struct SkeletonImportErrorTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SkeletonImportSuccessTemplate` is never constructed [INFO] [stderr] --> autoschematic-server/src/template.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 144 | pub struct SkeletonImportSuccessTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExplainErrorTemplate` is never constructed [INFO] [stderr] --> autoschematic-server/src/template.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub struct ExplainErrorTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConnectorStdout` is never constructed [INFO] [stderr] --> autoschematic-server/src/template.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct ConnectorStdout { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Owner` is never used [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | type Owner = String; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Repo` is never used [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | type Repo = String; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `PullRequest` is never used [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | type PullRequest = u64; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `run_sender` is never read [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct RepoData { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 31 | runs: IndexMap, [INFO] [stderr] 32 | run_sender: Sender, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RepoData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `time_started` is never read [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct RunData { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 37 | #[serde(skip)] [INFO] [stderr] 38 | pub time_started: Instant, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RunData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `list_repos`, `list_runs`, `subscribe_runs`, and `delete_run` are never used [INFO] [stderr] --> autoschematic-server/src/tracestore.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 61 | pub trait TraceStore: Send + Sync + std::fmt::Debug { [INFO] [stderr] | ---------- methods in this trait [INFO] [stderr] 62 | async fn list_repos(&self) -> anyhow::Result>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 63 | async fn list_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 64 | async fn list_runs_for_pr(&self, repo_key: &RepoKey, pr: u64) -> anyhow::Result>; [INFO] [stderr] 65 | async fn subscribe_runs(&self, repo_key: &RepoKey) -> anyhow::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 66 | async fn get_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result; [INFO] [stderr] 67 | async fn delete_run(&self, repo_key: &RepoKey, run_key: &RunKey) -> anyhow::Result<()>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clear_prefix` is never used [INFO] [stderr] --> autoschematic-server/src/util.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | pub async fn clear_prefix(prefix: &Path) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clear_prefix_keep_outputs` is never used [INFO] [stderr] --> autoschematic-server/src/util.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn clear_prefix_keep_outputs(prefix: &Path) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `autoschematic` (bin "autoschematic" test) generated 59 warnings (run `cargo fix --bin "autoschematic" --tests` to apply 4 suggestions) [INFO] [stderr] warning: `autoschematic-server` (bin "autoschematic-server" test) generated 87 warnings (run `cargo fix --bin "autoschematic-server" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/autoschematic-5c149fdf687befbe) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/autoschematic_core-c4c3b9e32e34c5f2) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test config_rbac::tests::allows_apply_if_approved_by_success ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_if_approved_by_connector_mismatch_or_no_approval ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_with_approval_needs_connectors ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_without_approval_needs_connectors ... ok [INFO] [stdout] test config_rbac::tests::allows_read_positive_and_negative ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_without_approval_positive_and_negative ... ok [INFO] [stdout] test config_rbac::tests::roles_for_user_empty ... ok [INFO] [stdout] test config_rbac::tests::roles_for_user_single_and_multiple ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_no_match ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_exact_match ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_parent ... ok [INFO] [stdout] test config_rbac::tests::allows_read_requires_connectors_some ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_parent_prefix_match ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_prefix_match ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_region ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_region_wildcard ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_wildcard_at_start ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_wildcard_match ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_wildcard_mismatch ... ok [INFO] [stdout] test glob::tests::test_addr_matches_filter_wrong_region ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_with_approval_flag_behavior ... ok [INFO] [stdout] test config_rbac::tests::allows_apply_if_approved_by_no_connectors_allows_any ... ok [INFO] [stdout] test config_rbac::tests::grants_for_prefix_filters_correctly ... ok [INFO] [stdout] test config_rbac::tests::grants_for_prefix_multiple_roles_combined ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/autoschematic_lsp-0f28503e75a40686) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/autoschematic_server-8a472bdbcaf593b1) [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test url_builder::tests::create_google_url ... ok [INFO] [stdout] test url_builder::tests::create_url_with_routes ... ok [INFO] [stdout] test url_builder::tests::create_url_with_params ... ok [INFO] [stdout] test object::tests::test_sort_objects_by_apply_order ... ok [INFO] [stdout] test url_builder::tests::create_url_without_port ... ok [INFO] [stdout] test url_builder::tests::create_url_with_ports_routes_and_params ... ok [INFO] [stdout] test url_builder::tests::create_url_without_port_and_multiple_params ... ok [INFO] [stdout] test url_builder::tests::test_set_host ... ok [INFO] [stdout] test url_builder::tests::test_set_port ... ok [INFO] [stdout] test url_builder::tests::test_set_protocol ... ok [INFO] [stdout] test url_builder::tests::create_url_without_port_and_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests autoschematic_core [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/bundle.rs:205:44 [INFO] [stderr] | [INFO] [stderr] 205 | let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 205 - let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] 205 + let bundle: Arc = as Bundle>::new(name, prefix).await?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/error.rs:29:53 [INFO] [stderr] | [INFO] [stderr] 29 | impl From>>> for ErrorMessage { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - impl From>>> for ErrorMessage { [INFO] [stderr] 29 + impl From>>> for ErrorMessage { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> autoschematic-core/src/error.rs:30:62 [INFO] [stderr] | [INFO] [stderr] 30 | fn from(value: PoisonError>>) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 - fn from(value: PoisonError>>) -> Self { [INFO] [stderr] 30 + fn from(value: PoisonError>>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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] running `Command { std: "docker" "inspect" "dad91509226b58014d74397302ceac39658fe24e02c9e0439d0a77c7585f24bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad91509226b58014d74397302ceac39658fe24e02c9e0439d0a77c7585f24bc", kill_on_drop: false }` [INFO] [stdout] dad91509226b58014d74397302ceac39658fe24e02c9e0439d0a77c7585f24bc