Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Upgrade to Leptos 0.5 #78

Closed
wants to merge 2 commits into from

clippy: disable some warnings due to leptos bug #1825

11dacbd
Select commit
Loading
Failed to load commit list.
Closed

WIP: Upgrade to Leptos 0.5 #78

clippy: disable some warnings due to leptos bug #1825
11dacbd
Select commit
Loading
Failed to load commit list.
Garnix CI / package nix-browser-doc [x86_64-linux] succeeded Oct 2, 2023 in 32s

Run results

Build succeeded

Details

Last 100 lines of logs:

unpacking sources
unpacking source archive /nix/store/4l9i9fxb5m2cm9c8f5n5857r2nkcdjdb-source
source root is source
patching sources
Executing configureCargoCommonVars
copying cargo artifacts from /nix/store/y7c3hhnjzdqmqg7q35mavh729mg25664-nix-browser-deps-0.1.0/target to target
updateAutotoolsGnuConfigScriptsPhase
configuring
will append /build/source/.cargo-home/config.toml with contents of /nix/store/qkaxjg2zapl3klg54kn54cfinrkch1zc-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
building
++ command cargo --version
cargo 1.73.0-nightly (7ac9416d8 2023-07-24)
++ command cargo doc --release --no-deps
warning: output filename collision.
The bin target `nix-health` in package `nix_health v0.2.1 (/build/source/crates/nix_health)` has the same output filename as the lib target `nix_health` in package `nix_health v0.2.1 (/build/source/crates/nix_health)`.
Colliding filename is: /build/source/target/doc/nix_health/index.html
The output filenames should be unique.
This is a known bug where multiple crates with the same name use
the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
https://github.com/rust-lang/cargo/issues/ with as much information as you
can provide.
cargo 1.73.0-nightly (7ac9416d8 2023-07-24) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu`
First unit: Unit { pkg: Package { id: PackageId { name: "nix_health", version: "0.2.1", source: "/build/source/crates/nix_health" }, ..: ".." }, target: TargetInner { name: "nix-health", required_features: Some(["ssr"]), doc: true, ..: with_path("/build/source/crates/nix_health/src/main.rs", Edition2021) }, profile: Profile { ..: default_release() }, kind: Host, mode: Doc { deps: false }, features: ["ssr"], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 2425359745960633899 }
Second unit: Unit { pkg: Package { id: PackageId { name: "nix_health", version: "0.2.1", source: "/build/source/crates/nix_health" }, ..: ".." }, target: TargetInner { ..: lib_target("nix_health", ["cdylib", "rlib"], "/build/source/crates/nix_health/src/lib.rs", Edition2021) }, profile: Profile { ..: default_release() }, kind: Host, mode: Doc { deps: false }, features: ["ssr"], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 14413086969982703275 }
    Checking nix_rs v0.2.0 (/build/source/crates/nix_rs)
 Documenting nix_rs v0.2.0 (/build/source/crates/nix_rs)
    Checking leptos_extra v0.1.0 (/build/source/crates/leptos_extra)
 Documenting leptos_extra v0.1.0 (/build/source/crates/leptos_extra)
    Checking nix_health v0.2.1 (/build/source/crates/nix_health)
 Documenting nix_health v0.2.1 (/build/source/crates/nix_health)
warning: this URL is not a hyperlink
  --> crates/nix_rs/src/env.rs:78:19
   |
78 |         /// Using https://github.com/LnL7/nix-darwin
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LnL7/nix-darwin>`
   |
   = note: bare URLs are not automatically turned into clickable links
   = note: `#[warn(rustdoc::bare_urls)]` on by default

warning: this URL is not a hyperlink
  --> crates/nix_rs/src/env.rs:82:9
   |
82 |     /// https://nixos.org/
   |         ^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nixos.org/>`
   |
   = note: bare URLs are not automatically turned into clickable links

warning: `nix_rs` (lib doc) generated 2 warnings (run `cargo fix --lib -p nix_rs` to apply 2 suggestions)
 Documenting nix-browser v0.1.0 (/build/source)
warning: unresolved link to `project_dir`
   --> crates/nix_health/src/check/direnv.rs:138:47
    |
138 | /// Check if direnv was already activated in [project_dir]
    |                                               ^^^^^^^^^^^ no item named `project_dir` in scope
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `crate::nix::config::NixConfig::trusted_users`
 --> crates/nix_health/src/check/trusted_users.rs:6:17
  |
6 | /// Check that [crate::nix::config::NixConfig::trusted_users] is set to a good value.
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `nix` in module `nix_health`

warning: unresolved link to `Checkable`
  --> crates/nix_health/src/lib.rs:19:68
   |
19 | /// Each field represents an individual check which satisfies the [Checkable] trait.
   |                                                                    ^^^^^^^^^ no item named `Checkable` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

warning: `nix_health` (lib doc) generated 3 warnings
    Finished release [optimized] target(s) in 1.53s
installing
symlinking duplicates in target to /nix/store/y7c3hhnjzdqmqg7q35mavh729mg25664-nix-browser-deps-0.1.0/target
installing target to /nix/store/3z9y65r893i5lx8l9b226z986pph1xma-nix-browser-doc-0.1.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3z9y65r893i5lx8l9b226z986pph1xma-nix-browser-doc-0.1.0
checking for references to /build/ in /nix/store/3z9y65r893i5lx8l9b226z986pph1xma-nix-browser-doc-0.1.0...
patching script interpreter paths in /nix/store/3z9y65r893i5lx8l9b226z986pph1xma-nix-browser-doc-0.1.0