warning: use of deprecated struct `ant_quic::QuicNodeConfig`: Use P2pConfig from unified_config module instead
  --> src/bin/ant-quic.rs:20:17
   |
20 |     quic_node::{QuicNodeConfig, QuicP2PNode},
   |                 ^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated struct `ant_quic::QuicP2PNode`: Use P2pEndpoint from p2p_endpoint module instead
  --> src/bin/ant-quic.rs:20:33
   |
20 |     quic_node::{QuicNodeConfig, QuicP2PNode},
   |                                 ^^^^^^^^^^^

warning: use of deprecated struct `ant_quic::QuicP2PNode`: Use P2pEndpoint from p2p_endpoint module instead
   --> src/bin/ant-quic.rs:407:20
    |
407 |     quic_node: Arc<QuicP2PNode>,
    |                    ^^^^^^^^^^^

warning: use of deprecated struct `ant_quic::QuicNodeConfig`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:451:22
    |
451 |         let config = QuicNodeConfig {
    |                      ^^^^^^^^^^^^^^

warning: use of deprecated struct `ant_quic::QuicP2PNode`: Use P2pEndpoint from p2p_endpoint module instead
   --> src/bin/ant-quic.rs:463:34
    |
463 |         let quic_node = Arc::new(QuicP2PNode::new(config).await.map_err(
    |                                  ^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::role`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:452:13
    |
452 |             role,
    |             ^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bootstrap_nodes`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:453:13
    |
453 |             bootstrap_nodes: args.bootstrap.clone(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::enable_coordinator`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:454:13
    |
454 |             enable_coordinator: args.coordinator,
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::max_connections`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:455:13
    |
455 |             max_connections: 100,
    |             ^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::connection_timeout`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:456:13
    |
456 |             connection_timeout: Duration::from_secs(30),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::stats_interval`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:457:13
    |
457 |             stats_interval: Duration::from_secs(30),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::auth_config`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:458:13
    |
458 |             auth_config: Default::default(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bind_addr`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:459:13
    |
459 |             bind_addr: Some(args.listen),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bootstrap_nodes`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:570:13
    |
570 |         if !self.quic_node.get_config().bootstrap_nodes.is_empty()
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::role`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:571:26
    |
571 |             && !matches!(self.quic_node.get_config().role, EndpointRole::Bootstrap)
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bootstrap_nodes`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:575:17
    |
575 |                 self.quic_node.get_config().bootstrap_nodes.len()
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bootstrap_nodes`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:578:36
    |
578 |             for bootstrap_addr in &self.quic_node.get_config().bootstrap_nodes {
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated field `ant_quic::QuicNodeConfig::bootstrap_nodes`: Use P2pConfig from unified_config module instead
   --> src/bin/ant-quic.rs:608:13
    |
608 |         if !self.quic_node.get_config().bootstrap_nodes.is_empty() {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: `ant-quic` (bin "ant-quic") generated 18 warnings
   Compiling ant-quic v0.10.5 (/Users/davidirvine/Desktop/Devel/projects/ant-quic)
warning: unused import: `tracing::info`
 --> tests/external_address_verification.rs:7:5
  |
7 | use tracing::info;
  |     ^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `ant-quic` (test "external_address_verification") generated 1 warning (run `cargo fix --test "external_address_verification"` to apply 1 suggestion)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s
     Running tests/external_address_verification.rs (target/debug/deps/external_address_verification-e5c84168c07d8aae)

running 1 test
Starting external address discovery verification test
Initializing bootstrap node...
Bootstrap node started at 127.0.0.1:61838
Initializing client node...
Client node started at Some(127.0.0.1:55049)
Client connecting to bootstrap nodes...
Client connected to 1 bootstrap nodes
Waiting for external address discovery...
test test_external_address_discovery has been running for over 60 seconds
