We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following error appears when trying to compile the nauthz gRPC example code:
aidik@vm:examples/nauthz ‹master*›$ cargo build --release Downloaded tokio-util v0.7.4 Downloaded axum v0.6.4 Downloaded 2 crates (228.7 KB) in 0.38s Compiling proc-macro2 v1.0.51 Compiling unicode-ident v1.0.6 Compiling quote v1.0.23 Compiling syn v1.0.107 Compiling libc v0.2.139 Compiling autocfg v1.1.0 Compiling log v0.4.17 Compiling cfg-if v1.0.0 Compiling indexmap v1.9.2 Compiling pin-project-lite v0.2.9 Compiling bytes v1.4.0 Compiling futures-core v0.3.26 Compiling memchr v2.5.0 Compiling tokio v1.25.0 Compiling mio v0.8.5 Compiling tokio-macros v1.8.2 Compiling socket2 v0.4.7 Compiling num_cpus v1.15.0 Compiling anyhow v1.0.69 Compiling once_cell v1.17.0 Compiling futures-task v0.3.26 Compiling either v1.8.1 Compiling tracing-core v0.1.30 Compiling tracing-attributes v0.1.23 Compiling futures-util v0.3.26 Compiling tracing v0.1.37 Compiling itertools v0.10.5 Compiling slab v0.4.7 Compiling itoa v1.0.5 Compiling pin-utils v0.1.0 Compiling rustversion v1.0.11 Compiling fnv v1.0.7 Compiling http v0.2.8 Compiling prost-derive v0.11.6 Compiling hashbrown v0.12.3 Compiling futures-sink v0.3.26 Compiling tokio-util v0.7.4 Compiling getrandom v0.2.8 Compiling tower-service v0.3.2 Compiling rand_core v0.6.4 Compiling http-body v0.4.5 Compiling pin-project-internal v1.0.12 Compiling futures-channel v0.3.26 Compiling httparse v1.8.0 Compiling ppv-lite86 v0.2.17 Compiling prettyplease v0.1.23 Compiling pin-project v1.0.12 Compiling prost v0.11.6 Compiling rand_chacha v0.3.1 Compiling regex-syntax v0.6.28 Compiling tower-layer v0.3.2 Compiling fastrand v1.8.0 Compiling try-lock v0.2.4 Compiling remove_dir_all v0.5.3 Compiling async-trait v0.1.64 Compiling fixedbitset v0.4.2 Compiling petgraph v0.6.3 Compiling regex v1.7.1 Compiling tempfile v3.3.0 Compiling want v0.3.0 Compiling rand v0.8.5 Compiling prost-types v0.11.6 Compiling which v4.4.0 Compiling axum-core v0.3.2 Compiling h2 v0.3.15 Compiling httpdate v1.0.2 Compiling serde v1.0.152 Compiling multimap v0.8.3 Compiling lazy_static v1.4.0 Compiling heck v0.4.1 Compiling prost-build v0.11.6 Compiling tower v0.4.13 Compiling hyper v0.14.24 Compiling axum v0.6.4 Compiling bitflags v1.3.2 Compiling mime v0.3.16 Compiling http-range-header v0.3.0 Compiling tower-http v0.3.5 Compiling tonic-build v0.8.4 Compiling tokio-io-timeout v1.2.0 Compiling async-stream-impl v0.3.3 Compiling sync_wrapper v0.1.2 Compiling percent-encoding v2.2.0 Compiling matchit v0.7.0 Compiling async-stream v0.3.3 Compiling hyper-timeout v0.4.1 Compiling nauthz-server v0.1.0 (/home/aidik/nostr-rs-relay/examples/nauthz) Compiling tracing-futures v0.2.5 Compiling tokio-stream v0.1.11 Compiling base64 v0.13.1 Compiling tonic v0.8.3 error[E0432]: unresolved import `nauthz_grpc::authorization_server` --> src/main.rs:3:18 | 3 | use nauthz_grpc::authorization_server::{Authorization, AuthorizationServer}; | ^^^^^^^^^^^^^^^^^^^^ could not find `authorization_server` in `nauthz_grpc` For more information about this error, try `rustc --explain E0432`. error: could not compile `nauthz-server` (bin "nauthz-server") due to previous error
The text was updated successfully, but these errors were encountered:
[scsibug#141] - Fix Build - Set build_server to true
7256f96
This will allow to compile the gRPC example. Fix for scsibug#141
fix: build gRPC server code
79abd98
This will allow the gRPC example to compile. Fix for #141
09ac3c1
This will allow the gRPC example to compile. Fix for scsibug#141
No branches or pull requests
The following error appears when trying to compile the nauthz gRPC example code:
The text was updated successfully, but these errors were encountered: