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

Repack Module Machenism #39

Merged
merged 18 commits into from
Sep 22, 2024

+

76fca63
Select commit
Loading
Failed to load commit list.
Merged

Repack Module Machenism #39

+
76fca63
Select commit
Loading
Failed to load commit list.
Garnix CI / package smartdns-rs [x86_64-linux] succeeded Sep 22, 2024 in 1s

Run results

Build succeeded

Details

Last 100 lines of logs:

   Compiling tracing-attributes v0.1.27
   Compiling futures-macro v0.3.30
   Compiling pin-project-internal v1.1.5
   Compiling thiserror-impl v1.0.60
   Compiling async-trait v0.1.80
   Compiling enum-as-inner v0.6.0
   Compiling clap_derive v4.5.4
   Compiling enum_dispatch v0.3.13
   Compiling pnet_macros v0.34.0
   Compiling hyper v1.3.1
   Compiling caps v0.5.5
   Compiling pin-project v1.1.5
   Compiling tower v0.4.13
   Compiling quinn-udp v0.4.1
   Compiling tracing-subscriber v0.3.18
   Compiling pnet_packet v0.34.0
   Compiling hyper-util v0.1.3
   Compiling rustls-webpki v0.102.3
   Compiling clap v4.5.4
   Compiling clap-verbosity-flag v2.2.0
   Compiling rustls-webpki v0.101.7
   Compiling sct v0.7.1
   Compiling futures-executor v0.3.30
   Compiling futures v0.3.30
   Compiling tokio-rustls v0.25.0
   Compiling hyper-rustls v0.26.0
   Compiling tokio-util v0.7.11
   Compiling h3 v0.0.4
   Compiling async-socks5 v0.6.0 (https://github.com/mokeyish/async-socks5.git?rev=f78eec5#f78eec58)
   Compiling async-http-proxy v1.2.5
   Compiling surge-ping v0.8.1
   Compiling serde_urlencoded v0.7.1
   Compiling neli-proc-macros v0.1.3
   Compiling h2 v0.4.4
   Compiling reqwest v0.12.4
   Compiling serde_path_to_error v0.1.16
   Compiling byte-unit v5.1.4
   Compiling serde_yaml v0.9.34+deprecated
   Compiling csv v1.3.0
   Compiling prefix-trie v0.2.5
   Compiling quinn-proto v0.10.6
   Compiling tokio-rustls v0.24.1
   Compiling neli v0.6.4
   Compiling smartdns v0.7.2 (/build/source)
   Compiling local-ip-address v0.6.1
   Compiling quinn v0.10.2
   Compiling h3-quinn v0.0.5
   Compiling hickory-proto v0.24.0 (https://github.com/mokeyish/hickory-dns.git?rev=18302fe#18302fee)
   Compiling axum-server v0.6.0
   Compiling hickory-resolver v0.24.0 (https://github.com/mokeyish/hickory-dns.git?rev=18302fe#18302fee)
   Compiling hickory-server v0.24.0 (https://github.com/mokeyish/hickory-dns.git?rev=18302fe#18302fee)
warning: elided lifetime has a name
   --> src/config/parser/mod.rs:142:41
    |
140 |     fn parse_item<'a, T: NomParser>(
    |                   -- lifetime `'a` declared here
141 |         keyword: &'static str,
142 |     ) -> impl FnMut(&'a str) -> IResult<&str, T> {
    |                                         ^ this elided lifetime gets resolved as `'a`
    |
    = note: `#[warn(elided_named_lifetimes)]` on by default

warning: unexpected `cfg` condition value: `hickory-recursor`
  --> src/dns_error.rs:27:11
   |
27 |     #[cfg(feature = "hickory-recursor")]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `disable_icmp_ping`, `dns-over-h3`, `dns-over-https`, `dns-over-https-rustls`, `dns-over-quic`, `dns-over-tls`, `dnssec`, `experimental`, `experimental-phf`, `experimental-trie`, `failed_tests`, `homebrew`, `legacy_dns_server`, `nft`, and `service`
   = help: consider adding `hickory-recursor` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `mdns`
   --> src/dns_url.rs:297:15
    |
297 |         #[cfg(feature = "mdns")]
    |               ^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `disable_icmp_ping`, `dns-over-h3`, `dns-over-https`, `dns-over-https-rustls`, `dns-over-quic`, `dns-over-tls`, `dnssec`, `experimental`, `experimental-phf`, `experimental-trie`, `failed_tests`, `homebrew`, `legacy_dns_server`, `nft`, and `service`
    = help: consider adding `mdns` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: `smartdns` (bin "smartdns") generated 3 warnings
    Finished `release` profile [optimized] target(s) in 1m 08s
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
buildPhase completed in 1 minutes 10 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
Executing cargoInstallHook
Finished cargoInstallHook
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/gnqhz3hcc7lp77if5skj576lln9rm2dg-smartdns-rs-a39b98325dfd341984e3b4a33baeec6ee8c3deb6
shrinking /nix/store/gnqhz3hcc7lp77if5skj576lln9rm2dg-smartdns-rs-a39b98325dfd341984e3b4a33baeec6ee8c3deb6/bin/smartdns
checking for references to /build/ in /nix/store/gnqhz3hcc7lp77if5skj576lln9rm2dg-smartdns-rs-a39b98325dfd341984e3b4a33baeec6ee8c3deb6...
patching script interpreter paths in /nix/store/gnqhz3hcc7lp77if5skj576lln9rm2dg-smartdns-rs-a39b98325dfd341984e3b4a33baeec6ee8c3deb6
stripping (with command strip and flags -S -p) in  /nix/store/gnqhz3hcc7lp77if5skj576lln9rm2dg-smartdns-rs-a39b98325dfd341984e3b4a33baeec6ee8c3deb6/bin