stat_route_objects 0.1.1

Parse RPSL in the IRR to verify observed BGP routes
Documentation
Build #1692775 2025-01-31 05:25:58

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.86.0-nightly (a730edcd6 2025-01-30)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/stat_route_objects-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/stat_route_objects-0.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250130-1.86.0-nightly-a730edcd6\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 2cf441ff7a7a6036f3bff001c8029a9a29c6f77051300da34ffbd185ecee4930
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2cf441ff7a7a6036f3bff001c8029a9a29c6f77051300da34ffbd185ecee4930", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking route_verification_bgp v0.5.0
[INFO] [stderr]     Checking route_verification_parse v0.2.0
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:24:46
[INFO] [stderr]     |
[INFO] [stderr] 24  |         Community(call) => Filter::Community(call),
[INFO] [stderr]     |                            ----------------- ^^^^ expected `route_verification_ir::Call`, found `route_verification_lex::Call`
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            arguments to this enum variant are incorrect
[INFO] [stderr]     |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/community.rs:5:1
[INFO] [stderr]     |
[INFO] [stderr] 5   | pub struct Call {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^ this is the expected type `route_verification_ir::Call`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/community.rs:5:1
[INFO] [stderr]     |
[INFO] [stderr] 5   | pub struct Call {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^ this is the found type `route_verification_lex::Call`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lib.rs:10:5
[INFO] [stderr]     |
[INFO] [stderr] 10  | use shared_struct::{action::Actions, stats::Counts};
[INFO] [stderr]     |     ------------- one version of crate `route_verification_shared_struct` used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:1:7
[INFO] [stderr]     |
[INFO] [stderr] 1   | use ::lex;
[INFO] [stderr]     |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_ir-0.2.0/src/filter.rs:167:5
[INFO] [stderr]     |
[INFO] [stderr] 167 |     Community(Call),
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lex.rs:59:42
[INFO] [stderr]    |
[INFO] [stderr] 59 |     let imports = parse_imports(imports, counts);
[INFO] [stderr]    |                   -------------          ^^^^^^ expected `route_verification_lex::Counts`, found `route_verification_ir::Counts`
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the expected type `route_verification_lex::Counts`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the found type `route_verification_ir::Counts`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:1:7
[INFO] [stderr]    |
[INFO] [stderr] 1  | use ::lex;
[INFO] [stderr]    |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lib.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use shared_struct::{action::Actions, stats::Counts};
[INFO] [stderr]    |     ------------- one version of crate `route_verification_shared_struct` used here, as a direct dependency of the current crate
[INFO] [stderr]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/mp_import.rs:5:8
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub fn parse_imports(imports: mp_import::Versions, counts: &mut Counts) -> Versions {
[INFO] [stderr]    |        ^^^^^^^^^^^^^                               -------------------
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lex.rs:60:42
[INFO] [stderr]    |
[INFO] [stderr] 60 |     let exports = parse_imports(exports, counts);
[INFO] [stderr]    |                   -------------          ^^^^^^ expected `route_verification_lex::Counts`, found `route_verification_ir::Counts`
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the expected type `route_verification_lex::Counts`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the found type `route_verification_ir::Counts`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:1:7
[INFO] [stderr]    |
[INFO] [stderr] 1  | use ::lex;
[INFO] [stderr]    |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lib.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use shared_struct::{action::Actions, stats::Counts};
[INFO] [stderr]    |     ------------- one version of crate `route_verification_shared_struct` used here, as a direct dependency of the current crate
[INFO] [stderr]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/mp_import.rs:5:8
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub fn parse_imports(imports: mp_import::Versions, counts: &mut Counts) -> Versions {
[INFO] [stderr]    |        ^^^^^^^^^^^^^                               -------------------
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/mp_import.rs:42:59
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let mp_filter = parse_filter(mp_filter, &mp_peerings, counts);
[INFO] [stderr]    |                     ------------                          ^^^^^^ expected `route_verification_ir::Counts`, found `route_verification_lex::Counts`
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the expected type `route_verification_ir::Counts`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/stats.rs:2:1
[INFO] [stderr]    |
[INFO] [stderr] 2  | pub struct Counts {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ this is the found type `route_verification_lex::Counts`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lib.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use shared_struct::{action::Actions, stats::Counts};
[INFO] [stderr]    |     ------------- one version of crate `route_verification_shared_struct` used here, as a direct dependency of the current crate
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:1:7
[INFO] [stderr]    |
[INFO] [stderr] 1  | use ::lex;
[INFO] [stderr]    |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:6:8
[INFO] [stderr]    |
[INFO] [stderr] 6  | pub fn parse_filter(
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 9  |     counts: &mut Counts,
[INFO] [stderr]    |     -------------------
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/peering.rs:15:33
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let actions = parse_actions(actions);
[INFO] [stderr]    |                   ------------- ^^^^^^^ expected `route_verification_ir::Action`, found `route_verification_lex::Action`
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/action.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum Action {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ this is the expected type `route_verification_ir::Action`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/action.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum Action {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ this is the found type `route_verification_lex::Action`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/lib.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use shared_struct::{action::Actions, stats::Counts};
[INFO] [stderr]    |     ------------- one version of crate `route_verification_shared_struct` used here, as a direct dependency of the current crate
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/filter.rs:1:7
[INFO] [stderr]    |
[INFO] [stderr] 1  | use ::lex;
[INFO] [stderr]    |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_parse-0.2.0/src/action.rs:7:8
[INFO] [stderr]    |
[INFO] [stderr] 7  | pub fn parse_actions(actions: Actions) -> Actions {
[INFO] [stderr]    |        ^^^^^^^^^^^^^ ----------------
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `route_verification_parse` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_bgp-0.5.0/src/cmp/filter.rs:32:59
[INFO] [stderr]     |
[INFO] [stderr] 32  |             Community(community) => self.filter_community(community),
[INFO] [stderr]     |                                          ---------------- ^^^^^^^^^ expected `route_verification_lex::Call`, found `route_verification_ir::Call`
[INFO] [stderr]     |                                          |
[INFO] [stderr]     |                                          arguments to this method are incorrect
[INFO] [stderr]     |
[INFO] [stderr] note: two different versions of crate `route_verification_shared_struct` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.2.2/src/community.rs:5:1
[INFO] [stderr]     |
[INFO] [stderr] 5   | pub struct Call {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^ this is the expected type `route_verification_lex::Call`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_shared_struct-0.1.1/src/community.rs:5:1
[INFO] [stderr]     |
[INFO] [stderr] 5   | pub struct Call {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^ this is the found type `route_verification_ir::Call`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_bgp-0.5.0/src/cmp/filter.rs:1:7
[INFO] [stderr]     |
[INFO] [stderr] 1   | use ::lex::Call;
[INFO] [stderr]     |       --- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_lex`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_bgp-0.5.0/src/lib.rs:6:5
[INFO] [stderr]     |
[INFO] [stderr] 6   | use ir::*;
[INFO] [stderr]     |     -- one version of crate `route_verification_shared_struct` used here, as a dependency of crate `route_verification_ir`
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] note: method defined here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/route_verification_bgp-0.5.0/src/cmp/filter.rs:294:8
[INFO] [stderr]     |
[INFO] [stderr] 294 |     fn filter_community(&self, community: &Call) -> AnyReport {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^        ----------------
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `route_verification_bgp` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "2cf441ff7a7a6036f3bff001c8029a9a29c6f77051300da34ffbd185ecee4930", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf441ff7a7a6036f3bff001c8029a9a29c6f77051300da34ffbd185ecee4930", kill_on_drop: false }`
[INFO] [stdout] 2cf441ff7a7a6036f3bff001c8029a9a29c6f77051300da34ffbd185ecee4930