[INFO] cloning repository https://github.com/Jaxii/geoip-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaxii/geoip-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaxii%2Fgeoip-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaxii%2Fgeoip-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5887140d733bda9189d2730f711d64dd3e7aad7d [INFO] checking Jaxii/geoip-parser-rs/5887140d733bda9189d2730f711d64dd3e7aad7d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaxii%2Fgeoip-parser-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaxii/geoip-parser-rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaxii/geoip-parser-rs [INFO] finished tweaking git repo https://github.com/Jaxii/geoip-parser-rs [INFO] tweaked toml for git repo https://github.com/Jaxii/geoip-parser-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jaxii/geoip-parser-rs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a085f89099ca2a3024893a36a1a0eab9ea1cccd91ab2a6b6b736eb9f7e170fad [INFO] running `Command { std: "docker" "start" "-a" "a085f89099ca2a3024893a36a1a0eab9ea1cccd91ab2a6b6b736eb9f7e170fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a085f89099ca2a3024893a36a1a0eab9ea1cccd91ab2a6b6b736eb9f7e170fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a085f89099ca2a3024893a36a1a0eab9ea1cccd91ab2a6b6b736eb9f7e170fad", kill_on_drop: false }` [INFO] [stdout] a085f89099ca2a3024893a36a1a0eab9ea1cccd91ab2a6b6b736eb9f7e170fad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 750cc925ee5fe95b073969e6d0a4d92e59d3b90c26f418a118066750a96865d9 [INFO] running `Command { std: "docker" "start" "-a" "750cc925ee5fe95b073969e6d0a4d92e59d3b90c26f418a118066750a96865d9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking http v0.2.10 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking sqlite v0.32.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking geoip-parser v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/country.rs (1 fix) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct IPAddressAllocation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 47 | registry: String, //todo make enum too [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | country_code: CountryCode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | ip_version: String, //todo: "ipv4" or "ipv6" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | ip_address: Ipv4Addr, //todo: handle IPv6 addresses too [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | block_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | date: String, //todo: proper date [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | status: String, //options: assigned, reserved, allocated [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPAddressAllocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/country.rs (1 fix) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct IPAddressAllocation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 47 | registry: String, //todo make enum too [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | country_code: CountryCode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | ip_version: String, //todo: "ipv4" or "ipv6" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | ip_address: Ipv4Addr, //todo: handle IPv6 addresses too [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | block_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | date: String, //todo: proper date [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | status: String, //options: assigned, reserved, allocated [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPAddressAllocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.93s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking geoip-parser v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0599]: no variant or associated item named `COUNT` found for enum `CountryCode` in the current scope [INFO] [stdout] --> src/country.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | println!("CountryCode enum count: {}", CountryCode::COUNT); [INFO] [stdout] | ^^^^^ variant or associated item not found in `CountryCode` [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum CountryCode { [INFO] [stdout] | -------------------- variant or associated item `COUNT` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `EnumCount` which provides `COUNT` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use strum::EnumCount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct IPAddressAllocation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 47 | registry: String, //todo make enum too [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | country_code: CountryCode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | ip_version: String, //todo: "ipv4" or "ipv6" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | ip_address: Ipv4Addr, //todo: handle IPv6 addresses too [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | block_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | date: String, //todo: proper date [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | status: String, //options: assigned, reserved, allocated [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPAddressAllocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geoip-parser` (bin "geoip-parser" test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "750cc925ee5fe95b073969e6d0a4d92e59d3b90c26f418a118066750a96865d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750cc925ee5fe95b073969e6d0a4d92e59d3b90c26f418a118066750a96865d9", kill_on_drop: false }` [INFO] [stdout] 750cc925ee5fe95b073969e6d0a4d92e59d3b90c26f418a118066750a96865d9