-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
on todays master:
‰ cargo build --features tls-insecure
warning: unused macro definition: `generate_element_enum`
--> jitsi-xmpp-parsers/src/macros.rs:229:14
|
229 | macro_rules! generate_element_enum {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
warning: unused macro definition: `generate_attribute_enum`
--> jitsi-xmpp-parsers/src/macros.rs:266:14
|
266 | macro_rules! generate_attribute_enum {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `check_ns_only`
--> jitsi-xmpp-parsers/src/macros.rs:316:14
|
316 | macro_rules! check_ns_only {
| ^^^^^^^^^^^^^
warning: unused macro definition: `generate_empty_element`
--> jitsi-xmpp-parsers/src/macros.rs:328:14
|
328 | macro_rules! generate_empty_element {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `generate_id`
--> jitsi-xmpp-parsers/src/macros.rs:352:14
|
352 | macro_rules! generate_id {
| ^^^^^^^^^^^
warning: unused macro definition: `generate_elem_id`
--> jitsi-xmpp-parsers/src/macros.rs:372:14
|
372 | macro_rules! generate_elem_id {
| ^^^^^^^^^^^^^^^^
warning: unused macro definition: `impl_pubsub_item`
--> jitsi-xmpp-parsers/src/macros.rs:673:14
|
673 | macro_rules! impl_pubsub_item {
| ^^^^^^^^^^^^^^^^
warning: unused import: `jingle_rtcp_fb::RtcpFb`
--> jitsi-xmpp-parsers/src/jingle_rtp.rs:2:3
|
2 | jingle_rtcp_fb::RtcpFb,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `jitsi-xmpp-parsers` (lib) generated 8 warnings (run `cargo fix --lib -p jitsi-xmpp-parsers` to apply 1 suggestion)
Compiling lib-gst-meet v0.8.0 (/home/test/gst-meet/lib-gst-meet)
error[E0405]: cannot find trait `ServerCertVerifier` in module `rustls::client`
--> lib-gst-meet/src/tls.rs:106:22
|
106 | impl rustls::client::ServerCertVerifier for InsecureServerCertVerifier {
| ^^^^^^^^^^^^^^^^^^ not found in `rustls::client`
|
help: consider importing this trait
|
1 + use rustls::client::danger::ServerCertVerifier;
|
help: if you import `ServerCertVerifier`, refer to it directly
|
106 - impl rustls::client::ServerCertVerifier for InsecureServerCertVerifier {
106 + impl ServerCertVerifier for InsecureServerCertVerifier {
|
error[E0412]: cannot find type `Certificate` in crate `rustls`
--> lib-gst-meet/src/tls.rs:109:27
|
109 | _end_entity: &rustls::Certificate,
| ^^^^^^^^^^^ not found in `rustls`
|
help: consider importing this struct
|
1 + use rcgen::Certificate;
|
help: if you import `Certificate`, refer to it directly
|
109 - _end_entity: &rustls::Certificate,
109 + _end_entity: &Certificate,
|
error[E0412]: cannot find type `Certificate` in crate `rustls`
--> lib-gst-meet/src/tls.rs:110:31
|
110 | _intermediates: &[rustls::Certificate],
| ^^^^^^^^^^^ not found in `rustls`
|
help: consider importing this struct
|
1 + use rcgen::Certificate;
|
help: if you import `Certificate`, refer to it directly
|
110 - _intermediates: &[rustls::Certificate],
110 + _intermediates: &[Certificate],
|
error[E0412]: cannot find type `ServerName` in crate `rustls`
--> lib-gst-meet/src/tls.rs:111:28
|
111 | _server_name: &rustls::ServerName,
| ^^^^^^^^^^ not found in `rustls`
|
help: consider importing this enum
|
1 + use rustls::pki_types::ServerName;
|
help: if you import `ServerName`, refer to it directly
|
111 - _server_name: &rustls::ServerName,
111 + _server_name: &ServerName,
|
error[E0412]: cannot find type `ServerCertVerified` in module `rustls::client`
--> lib-gst-meet/src/tls.rs:115:31
|
115 | ) -> Result<rustls::client::ServerCertVerified, rustls::Error> {
| ^^^^^^^^^^^^^^^^^^ not found in `rustls::client`
|
help: consider importing this struct
|
1 + use rustls::client::danger::ServerCertVerified;
|
help: if you import `ServerCertVerified`, refer to it directly
|
115 - ) -> Result<rustls::client::ServerCertVerified, rustls::Error> {
115 + ) -> Result<ServerCertVerified, rustls::Error> {
|
error[E0433]: failed to resolve: could not find `ServerCertVerified` in `client`
--> lib-gst-meet/src/tls.rs:116:24
|
116 | Ok(rustls::client::ServerCertVerified::assertion())
| ^^^^^^^^^^^^^^^^^^ could not find `ServerCertVerified` in `client`
|
help: consider importing this struct
|
1 + use rustls::client::danger::ServerCertVerified;
|
help: if you import `ServerCertVerified`, refer to it directly
|
116 - Ok(rustls::client::ServerCertVerified::assertion())
116 + Ok(ServerCertVerified::assertion())
|
warning: unused import: `anyhow`
--> lib-gst-meet/src/conference.rs:5:14
|
5 | use anyhow::{anyhow, bail, Context, Result};
| ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> lib-gst-meet/src/colibri.rs:42:46
|
42 | .header("sec-websocket-key", base64::encode(&key))
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> lib-gst-meet/src/xmpp/connection.rs:99:44
|
99 | .header("sec-websocket-key", base64::encode(&key))
| ^^^^^^
Some errors have detailed explanations: E0405, E0412, E0433.
For more information about an error, try `rustc --explain E0405`.
warning: `lib-gst-meet` (lib) generated 3 warnings
error: could not compile `lib-gst-meet` (lib) due to 6 previous errors; 3 warnings emitted
Metadata
Metadata
Assignees
Labels
No labels