[INFO] cloning repository https://github.com/roopeshsn/bgpkit-parser-cbindings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roopeshsn/bgpkit-parser-cbindings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froopeshsn%2Fbgpkit-parser-cbindings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froopeshsn%2Fbgpkit-parser-cbindings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ad11e1225d18744ace6b0105afc433c1f5efb26
[INFO] checking roopeshsn/bgpkit-parser-cbindings against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froopeshsn%2Fbgpkit-parser-cbindings" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/roopeshsn/bgpkit-parser-cbindings
[INFO] finished tweaking git repo https://github.com/roopeshsn/bgpkit-parser-cbindings
[INFO] tweaked toml for git repo https://github.com/roopeshsn/bgpkit-parser-cbindings written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roopeshsn/bgpkit-parser-cbindings on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/roopeshsn/bgpkit-parser-cbindings already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded suppaftp v7.0.6
[INFO] [stderr]   Downloaded lazy-regex v3.4.1
[INFO] [stderr]   Downloaded oneio v0.19.2
[INFO] [stderr]   Downloaded aws-region v0.28.0
[INFO] [stderr]   Downloaded aws-creds v0.39.0
[INFO] [stderr]   Downloaded rust-s3 v0.37.0
[INFO] [stderr]   Downloaded lazy-regex-proc_macros v3.4.1
[INFO] [stderr]   Downloaded bgpkit-parser v0.12.0
[INFO] [stderr]   Downloaded aws-lc-rs v1.14.1
[INFO] [stderr]   Downloaded syn v2.0.107
[INFO] [stderr]   Downloaded webpki-roots v1.0.3
[INFO] [stderr]   Downloaded rustls v0.23.33
[INFO] [stderr]   Downloaded flate2 v1.1.4
[INFO] [stderr]   Downloaded aws-lc-sys v0.32.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e95fdc4a8b433f011079408d9e16afcc85883d477b4a4d33c9e599739e9c774d
[INFO] running `Command { std: "docker" "start" "-a" "e95fdc4a8b433f011079408d9e16afcc85883d477b4a4d33c9e599739e9c774d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e95fdc4a8b433f011079408d9e16afcc85883d477b4a4d33c9e599739e9c774d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e95fdc4a8b433f011079408d9e16afcc85883d477b4a4d33c9e599739e9c774d", kill_on_drop: false }`
[INFO] [stdout] e95fdc4a8b433f011079408d9e16afcc85883d477b4a4d33c9e599739e9c774d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e06acf2e337a311f19c0d9edf5c0e98620953f06072daab706bb6c968c7647d7
[INFO] running `Command { std: "docker" "start" "-a" "e06acf2e337a311f19c0d9edf5c0e98620953f06072daab706bb6c968c7647d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling rustls v0.23.33
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking flate2 v1.1.4
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking webpki-roots v1.0.3
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking num_enum v0.7.4
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking rustls-webpki v0.103.7
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking oneio v0.19.2
[INFO] [stderr]     Checking bgpkit-parser v0.12.0
[INFO] [stderr]     Checking bgpkit-parser-cbindings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CString`
[INFO] [stdout]  --> src/lib.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `I_AM_DEAD` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     I_AM_DEAD = 3,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `IAmDead`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PEER_DOWN` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     PEER_DOWN = 4,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `PeerDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BGP4PLUS_01` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     BGP4PLUS_01 = 10,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bgp4plus01`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TABLE_DUMP` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     TABLE_DUMP = 12,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `TableDump`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TABLE_DUMP_V2` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     TABLE_DUMP_V2 = 13,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TableDumpV2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BGP4MP_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     BGP4MP_ET = 17,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Bgp4mpEt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ISIS_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     ISIS_ET = 33,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `IsisEt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OSPFv3_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     OSPFv3_ET = 49,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Ospfv3Et`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn count(&mut self) -> usize {
[INFO] [stdout]    |                                ----- expected `usize` because of return type
[INFO] [stdout] 17 |         let count = &self.parser.into_iter().count();
[INFO] [stdout] 18 |         return count;
[INFO] [stdout]    |                ^^^^^ expected `usize`, found `&usize`
[INFO] [stdout]    |
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 18 |         return *count;
[INFO] [stdout]    |                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CString`
[INFO] [stdout]  --> src/lib.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `I_AM_DEAD` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     I_AM_DEAD = 3,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `IAmDead`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PEER_DOWN` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     PEER_DOWN = 4,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `PeerDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BGP4PLUS_01` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     BGP4PLUS_01 = 10,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Bgp4plus01`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TABLE_DUMP` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     TABLE_DUMP = 12,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `TableDump`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TABLE_DUMP_V2` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     TABLE_DUMP_V2 = 13,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TableDumpV2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BGP4MP_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     BGP4MP_ET = 17,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Bgp4mpEt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ISIS_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     ISIS_ET = 33,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `IsisEt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OSPFv3_ET` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     OSPFv3_ET = 49,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Ospfv3Et`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bgpkit-parser-cbindings` (lib test) due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn count(&mut self) -> usize {
[INFO] [stdout]    |                                ----- expected `usize` because of return type
[INFO] [stdout] 17 |         let count = &self.parser.into_iter().count();
[INFO] [stdout] 18 |         return count;
[INFO] [stdout]    |                ^^^^^ expected `usize`, found `&usize`
[INFO] [stdout]    |
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 18 |         return *count;
[INFO] [stdout]    |                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bgpkit-parser-cbindings` (lib) due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e06acf2e337a311f19c0d9edf5c0e98620953f06072daab706bb6c968c7647d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e06acf2e337a311f19c0d9edf5c0e98620953f06072daab706bb6c968c7647d7", kill_on_drop: false }`
[INFO] [stdout] e06acf2e337a311f19c0d9edf5c0e98620953f06072daab706bb6c968c7647d7
