Created
December 1, 2024 11:00
-
-
Save haruki7049/a58432fd40c99536aa53de3a27dc9f64 to your computer and use it in GitHub Desktop.
mitra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/pkgs/by-name/mi/mitra/package.nix | |
+++ b/pkgs/by-name/mi/mitra/package.nix | |
@@ -22,10 +22,12 @@ rustPlatform.buildRustPackage rec { | |
# MEMO: mitra v3.9.0 tests failed with cargo option, "--offline" | |
doCheck = false; | |
- RUSTFLAGS = [ | |
- # MEMO: mitra use ammonia crate with unstable rustc flag | |
- "--cfg=ammonia_unstable" | |
- ]; | |
+ #RUSTFLAGS = [ | |
+ # # MEMO: mitra use ammonia crate with unstable rustc flag | |
+ # "--cfg=ammonia_unstable" | |
+ #]; | |
+ | |
+ env.RUSTC_BOOTSTRAP = "1"; | |
buildFeatures = [ | |
"production" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this derivation will be built: | |
/nix/store/g8gclfvjzaxqhdj98nwnhdxvhw68zjjb-mitra-3.9.0.drv | |
building '/nix/store/g8gclfvjzaxqhdj98nwnhdxvhw68zjjb-mitra-3.9.0.drv'... | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/pk1g8wan4f332lgzyjlvpzx9bf3xq80b-source | |
source root is source | |
Executing cargoSetupPostUnpackHook | |
Finished cargoSetupPostUnpackHook | |
Running phase: patchPhase | |
Executing cargoSetupPostPatchHook | |
Validating consistency between /build/source/Cargo.lock and /build/mitra-3.9.0-vendor/Cargo.lock | |
Finished cargoSetupPostPatchHook | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
Running phase: configurePhase | |
Running phase: buildPhase | |
Executing cargoBuildHook | |
cargoBuildHook flags: -j 8 --target x86_64-unknown-linux-gnu --offline --profile release --features=production | |
Compiling proc-macro2 v1.0.78 | |
Compiling unicode-ident v1.0.8 | |
Compiling libc v0.2.150 | |
Compiling cfg-if v1.0.0 | |
Compiling serde v1.0.167 | |
Compiling version_check v0.9.4 | |
Compiling autocfg v1.1.0 | |
Compiling zeroize v1.8.1 | |
Compiling typenum v1.15.0 | |
Compiling const-oid v0.9.2 | |
Compiling bytes v1.2.0 | |
Compiling subtle v2.4.1 | |
Compiling generic-array v0.14.7 | |
Compiling smallvec v1.10.0 | |
Compiling memchr v2.7.1 | |
Compiling once_cell v1.20.2 | |
Compiling lock_api v0.4.10 | |
Compiling parking_lot_core v0.9.9 | |
Compiling quote v1.0.35 | |
Compiling syn v2.0.58 | |
Compiling getrandom v0.2.10 | |
Compiling pin-project-lite v0.2.13 | |
Compiling scopeguard v1.1.0 | |
Compiling rand_core v0.6.4 | |
Compiling itoa v1.0.1 | |
Compiling ppv-lite86 v0.2.10 | |
Compiling futures-core v0.3.31 | |
Compiling parking_lot v0.12.1 | |
Compiling futures-sink v0.3.31 | |
Compiling cc v1.0.86 | |
Compiling tokio v1.28.2 | |
Compiling cpufeatures v0.2.12 | |
Compiling futures-channel v0.3.31 | |
Compiling rand_chacha v0.3.1 | |
Compiling num_cpus v1.16.0 | |
Compiling socket2 v0.4.9 | |
Compiling block-buffer v0.10.2 | |
Compiling crypto-common v0.1.3 | |
Compiling rand v0.8.5 | |
Compiling digest v0.10.6 | |
Compiling signal-hook-registry v1.3.0 | |
Compiling syn v1.0.109 | |
Compiling futures-task v0.3.31 | |
Compiling slab v0.4.2 | |
Compiling pin-utils v0.1.0 | |
Compiling futures-io v0.3.31 | |
Compiling ryu v1.0.5 | |
Compiling tinyvec_macros v0.1.0 | |
Compiling tinyvec v1.2.0 | |
Compiling tracing-core v0.1.32 | |
Compiling percent-encoding v2.3.1 | |
Compiling base64 v0.21.4 | |
Compiling unicode-bidi v0.3.13 | |
Compiling serde_json v1.0.89 | |
Compiling fnv v1.0.7 | |
Compiling byteorder v1.4.3 | |
Compiling thiserror v1.0.50 | |
Compiling http v0.2.9 | |
Compiling libm v0.2.1 | |
Compiling unicode-normalization v0.1.22 | |
Compiling form_urlencoded v1.2.1 | |
Compiling aho-corasick v1.1.2 | |
Compiling num-traits v0.2.14 | |
Compiling regex-syntax v0.8.4 | |
Compiling idna v0.4.0 | |
Compiling regex-automata v0.4.7 | |
Compiling serde_derive v1.0.167 | |
Compiling futures-macro v0.3.31 | |
Compiling tokio-macros v2.1.0 | |
Compiling tracing-attributes v0.1.27 | |
Compiling thiserror-impl v1.0.50 | |
Compiling futures-util v0.3.31 | |
Compiling sha2 v0.10.6 | |
Compiling siphasher v0.3.5 | |
Compiling regex v1.10.6 | |
Compiling url v2.4.1 | |
Compiling base64ct v1.5.3 | |
Compiling hmac v0.12.1 | |
Compiling hashbrown v0.14.3 | |
Compiling pem-rfc7468 v0.7.0 | |
Compiling equivalent v1.0.1 | |
Compiling der v0.7.9 | |
Compiling mime v0.3.16 | |
Compiling unicase v2.6.0 | |
Compiling httparse v1.8.0 | |
Compiling ring v0.17.3 | |
Compiling semver v1.0.17 | |
Compiling async-trait v0.1.68 | |
Compiling iana-time-zone v0.1.53 | |
Compiling log v0.4.20 | |
Compiling spki v0.7.2 | |
Compiling indexmap v2.2.3 | |
Compiling mio v0.8.11 | |
Compiling tracing v0.1.40 | |
Compiling uuid v1.4.1 | |
Compiling chrono v0.4.31 | |
Compiling hex v0.4.3 | |
Compiling num_threads v0.1.6 | |
Compiling time-macros v0.2.4 | |
Compiling httpdate v1.0.2 | |
Compiling encoding_rs v0.8.28 | |
Compiling phf_shared v0.10.0 | |
Compiling md-5 v0.10.1 | |
Compiling ident_case v1.0.1 | |
Compiling strsim v0.11.1 | |
Compiling time v0.3.9 | |
Compiling untrusted v0.9.0 | |
Compiling spin v0.5.2 | |
Compiling spin v0.9.8 | |
Compiling darling_core v0.20.10 | |
Compiling phf_generator v0.10.0 | |
Compiling rustc_version v0.4.0 | |
Compiling signature v2.0.0 | |
Compiling heck v0.4.0 | |
Compiling curve25519-dalek v4.1.3 | |
Compiling mime_guess v2.0.5 | |
Compiling tokio-util v0.7.1 | |
Compiling serde_urlencoded v0.7.1 | |
Compiling ff v0.13.0 | |
Compiling h2 v0.3.26 | |
Compiling num-integer v0.1.44 | |
Compiling bitflags v1.3.2 | |
Compiling new_debug_unreachable v1.0.4 | |
Compiling rustls v0.21.12 | |
Compiling base16ct v0.2.0 | |
Compiling sec1 v0.7.3 | |
Compiling darling_macro v0.20.10 | |
Compiling group v0.13.0 | |
Compiling string_cache_codegen v0.5.2 | |
Compiling darling v0.20.10 | |
Compiling phf_codegen v0.10.0 | |
Compiling lazy_static v1.4.0 | |
Compiling pkcs8 v0.10.2 | |
Compiling futures-executor v0.3.13 | |
Compiling phf_shared v0.11.2 | |
Compiling curve25519-dalek-derive v0.1.1 | |
Compiling stringprep v0.1.2 | |
Compiling zstd-sys v2.0.4+zstd.1.5.2 | |
Compiling crypto-bigint v0.5.5 | |
Compiling num-iter v0.1.42 | |
Compiling crossbeam-utils v0.8.14 | |
Compiling fallible-iterator v0.2.0 | |
Compiling mac v0.1.1 | |
Compiling futf v0.1.4 | |
Compiling postgres-protocol v0.6.6 | |
Compiling sct v0.7.1 | |
Compiling rustls-webpki v0.101.7 | |
Compiling elliptic-curve v0.13.8 | |
Compiling phf v0.11.2 | |
Compiling markup5ever v0.11.0 | |
Compiling futures v0.3.13 | |
Compiling rfc6979 v0.4.0 | |
Compiling postgres-derive v0.4.4 | |
Compiling precomputed-hash v0.1.1 | |
Compiling array-init v2.1.0 | |
Compiling num-bigint-dig v0.8.2 | |
Compiling crunchy v0.2.2 | |
Compiling utf-8 v0.7.6 | |
Compiling tendril v0.4.2 | |
Compiling tokio-rustls v0.24.1 | |
Compiling string_cache v0.8.7 | |
Compiling ecdsa v0.16.7 | |
Compiling postgres-types v0.2.4 | |
Compiling phf v0.10.1 | |
Compiling html5ever v0.26.0 | |
Compiling miniz_oxide v0.4.4 | |
Compiling keccak v0.1.5 | |
Compiling zstd-safe v6.0.3+zstd.1.5.2 | |
Compiling doc-comment v0.3.3 | |
Compiling rustc-hex v2.1.0 | |
Compiling alloc-no-stdlib v2.0.3 | |
Compiling hashbrown v0.12.3 | |
Compiling local-waker v0.1.2 | |
Compiling crc32fast v1.2.1 | |
Compiling alloc-stdlib v0.2.1 | |
Compiling sha3 v0.10.8 | |
Compiling dashmap v5.4.0 | |
Compiling tokio-postgres v0.7.7 | |
Compiling k256 v0.13.1 | |
Compiling ed25519 v2.2.3 | |
Compiling pkcs1 v0.7.5 | |
Compiling derive_builder_core v0.20.2 | |
Compiling cfb v0.7.3 | |
Compiling rustls-pemfile v1.0.4 | |
Compiling ahash v0.7.7 | |
Compiling adler v1.0.2 | |
Compiling iri-string v0.7.6 | |
Compiling paste v1.0.7 | |
Compiling static_assertions v1.1.0 | |
Compiling try-lock v0.2.3 | |
Compiling ryu-js v0.2.2 | |
Compiling actix-service v2.0.2 | |
Compiling serde_json_canonicalizer v0.2.0 | |
Compiling want v0.3.0 | |
Compiling infer v0.13.0 | |
Compiling derive_builder_macro v0.20.2 | |
Compiling rsa v0.9.3 | |
Compiling ed25519-dalek v2.1.1 | |
Compiling brotli-decompressor v2.3.2 | |
Compiling bytestring v1.0.0 | |
Compiling actix-utils v3.0.0 | |
Compiling actix-rt v2.7.0 | |
Compiling snafu-derive v0.7.5 | |
Compiling lazy-regex-proc_macros v2.3.1 | |
Compiling http-body v0.4.4 | |
Compiling pem v2.0.1 | |
Compiling blake2 v0.10.5 | |
Compiling cookie v0.16.0 | |
Compiling base64 v0.13.0 | |
Compiling convert_case v0.4.0 | |
Compiling tiny-keccak v2.0.2 | |
Compiling bs58 v0.4.0 | |
Compiling constant_time_eq v0.1.5 | |
Compiling adler32 v1.2.0 | |
Compiling same-file v1.0.6 | |
Compiling arrayref v0.3.6 | |
Compiling arrayvec v0.7.2 | |
Compiling proc-macro-hack v0.5.19 | |
Compiling unsigned-varint v0.7.1 | |
Compiling tower-service v0.3.1 | |
Compiling deunicode v1.4.0 | |
Compiling hyper v0.14.28 | |
Compiling blake2b_simd v1.0.0 | |
Compiling slug v0.1.5 | |
Compiling apx_core v0.4.0 (/build/source/apx_core) | |
Compiling snafu v0.7.5 | |
Compiling walkdir v2.3.2 | |
Compiling deflate v1.0.0 | |
Compiling derive_more v0.99.17 | |
Compiling lazy-regex v2.3.1 | |
Compiling actix-router v0.5.1 | |
Compiling brotli v3.3.4 | |
Compiling flate2 v1.0.20 | |
Compiling derive_builder v0.20.2 | |
Compiling fixed-hash v0.8.0 | |
Compiling local-channel v0.1.2 | |
Compiling actix-codec v0.5.0 | |
Compiling toml v0.5.8 | |
Compiling ring v0.16.20 | |
Compiling sha1 v0.10.4 | |
Compiling openssl-probe v0.1.5 | |
Compiling entities v1.0.1 | |
Compiling unicode-width v0.1.10 | |
Compiling typed-arena v2.0.2 | |
Compiling language-tags v0.3.2 | |
Compiling either v1.8.0 | |
Compiling maplit v1.0.2 | |
Compiling unicode_categories v0.1.1 | |
Compiling tokio-socks v0.5.1 | |
Compiling comrak v0.24.1 | |
Compiling refinery-core v0.8.4 | |
Compiling ammonia v3.2.0 | |
Compiling html2text v0.12.4 | |
Compiling rustls-native-certs v0.6.3 | |
Compiling hyper-rustls v0.24.2 | |
Compiling actix-web-codegen v4.2.0 | |
Compiling lfs-core v0.11.1 | |
Compiling eth-blockies v1.1.0 | |
Compiling rust-argon2 v1.0.0 | |
Compiling actix-server v2.1.1 | |
Compiling rlp v0.5.1 | |
Compiling ulid v1.0.0 | |
Compiling actix-macros v0.2.3 | |
Compiling ipnet v2.3.1 | |
Compiling unicode-segmentation v1.11.0 | |
Compiling sync_wrapper v0.1.2 | |
Compiling untrusted v0.7.1 | |
Compiling webpki-roots v0.25.4 | |
Compiling deadpool-runtime v0.1.2 | |
Compiling reqwest v0.11.27 | |
Compiling deadpool v0.9.2 | |
Compiling mitra_utils v3.9.0 (/build/source/mitra_utils) | |
error[E0603]: module `rcdom` is private | |
--> mitra_utils/src/html.rs:7:5 | |
| | |
7 | rcdom::{Handle, NodeData, SerializableHandle}, | |
| ^^^^^ private module | |
| | |
note: the module `rcdom` is defined here | |
--> /build/mitra-3.9.0-vendor/ammonia-3.2.0/src/lib.rs:35:1 | |
| | |
35 | mod rcdom; | |
| ^^^^^^^^^ | |
error[E0603]: module `rcdom` is private | |
--> mitra_utils/src/html.rs:7:5 | |
| | |
7 | rcdom::{Handle, NodeData, SerializableHandle}, | |
| ^^^^^ -------- enum `NodeData` is not publicly re-exported | |
| | | |
| private module | |
| | |
note: the module `rcdom` is defined here | |
--> /build/mitra-3.9.0-vendor/ammonia-3.2.0/src/lib.rs:35:1 | |
| | |
35 | mod rcdom; | |
| ^^^^^^^^^ | |
error[E0603]: module `rcdom` is private | |
--> mitra_utils/src/html.rs:53:18 | |
| | |
53 | use ammonia::rcdom::{Handle, Node, NodeData}; | |
| ^^^^^ private module | |
| | |
note: the module `rcdom` is defined here | |
--> /build/mitra-3.9.0-vendor/ammonia-3.2.0/src/lib.rs:35:1 | |
| | |
35 | mod rcdom; | |
| ^^^^^^^^^ | |
error[E0603]: module `rcdom` is private | |
--> mitra_utils/src/html.rs:53:18 | |
| | |
53 | use ammonia::rcdom::{Handle, Node, NodeData}; | |
| ^^^^^ private module -------- enum `NodeData` is not publicly re-exported | |
| | |
note: the module `rcdom` is defined here | |
--> /build/mitra-3.9.0-vendor/ammonia-3.2.0/src/lib.rs:35:1 | |
| | |
35 | mod rcdom; | |
| ^^^^^^^^^ | |
error[E0599]: no method named `to_dom_node` found for reference `&ammonia::Document` in the current scope | |
--> mitra_utils/src/html.rs:29:14 | |
| | |
29 | document.to_dom_node() | |
| ^^^^^^^^^^^ method not found in `&Document` | |
Some errors have detailed explanations: E0599, E0603. | |
For more information about an error, try `rustc --explain E0599`. | |
error: could not compile `mitra_utils` (lib) due to 5 previous errors | |
warning: build failed, waiting for other jobs to finish... | |
error: builder for '/nix/store/g8gclfvjzaxqhdj98nwnhdxvhw68zjjb-mitra-3.9.0.drv' failed with exit code 101; | |
last 25 log lines: | |
> 35 | mod rcdom; | |
> | ^^^^^^^^^ | |
> | |
> error[E0603]: module `rcdom` is private | |
> --> mitra_utils/src/html.rs:53:18 | |
> | | |
> 53 | use ammonia::rcdom::{Handle, Node, NodeData}; | |
> | ^^^^^ private module -------- enum `NodeData` is not publicly re-exported | |
> | | |
> note: the module `rcdom` is defined here | |
> --> /build/mitra-3.9.0-vendor/ammonia-3.2.0/src/lib.rs:35:1 | |
> | | |
> 35 | mod rcdom; | |
> | ^^^^^^^^^ | |
> | |
> error[E0599]: no method named `to_dom_node` found for reference `&ammonia::Document` in the current scope | |
> --> mitra_utils/src/html.rs:29:14 | |
> | | |
> 29 | document.to_dom_node() | |
> | ^^^^^^^^^^^ method not found in `&Document` | |
> | |
> Some errors have detailed explanations: E0599, E0603. | |
> For more information about an error, try `rustc --explain E0599`. | |
> error: could not compile `mitra_utils` (lib) due to 5 previous errors | |
> warning: build failed, waiting for other jobs to finish... | |
For full logs, run 'nix-store -l /nix/store/g8gclfvjzaxqhdj98nwnhdxvhw68zjjb-mitra-3.9.0.drv'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment