[INFO] fetching crate ip2location 0.5.4... [INFO] testing ip2location-0.5.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ip2location 0.5.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ip2location 0.5.4 [INFO] finished tweaking crates.io crate ip2location 0.5.4 [INFO] tweaked toml for crates.io crate ip2location 0.5.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ip2location 0.5.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ip2location 0.5.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fcc508c218324ad80bed1e3d7f2a40c94b0561b5eb3440f11924ec2b9572fa6 [INFO] running `Command { std: "docker" "start" "-a" "2fcc508c218324ad80bed1e3d7f2a40c94b0561b5eb3440f11924ec2b9572fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fcc508c218324ad80bed1e3d7f2a40c94b0561b5eb3440f11924ec2b9572fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fcc508c218324ad80bed1e3d7f2a40c94b0561b5eb3440f11924ec2b9572fa6", kill_on_drop: false }` [INFO] [stdout] 2fcc508c218324ad80bed1e3d7f2a40c94b0561b5eb3440f11924ec2b9572fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9c297038ff26862150895f175c0a4ae23cfe0748a176bc0fa7dc9b5d53dad78e [INFO] running `Command { std: "docker" "start" "-a" "9c297038ff26862150895f175c0a4ae23cfe0748a176bc0fa7dc9b5d53dad78e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling ip2location v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 21.32s [INFO] running `Command { std: "docker" "inspect" "9c297038ff26862150895f175c0a4ae23cfe0748a176bc0fa7dc9b5d53dad78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c297038ff26862150895f175c0a4ae23cfe0748a176bc0fa7dc9b5d53dad78e", kill_on_drop: false }` [INFO] [stdout] 9c297038ff26862150895f175c0a4ae23cfe0748a176bc0fa7dc9b5d53dad78e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f1383115ab046ef1fb735d019df3453374d7d4dc9dda65b9a6faf1d9bdcedff8 [INFO] running `Command { std: "docker" "start" "-a" "f1383115ab046ef1fb735d019df3453374d7d4dc9dda65b9a6faf1d9bdcedff8", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ip2location v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2location/db.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "f1383115ab046ef1fb735d019df3453374d7d4dc9dda65b9a6faf1d9bdcedff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1383115ab046ef1fb735d019df3453374d7d4dc9dda65b9a6faf1d9bdcedff8", kill_on_drop: false }` [INFO] [stdout] f1383115ab046ef1fb735d019df3453374d7d4dc9dda65b9a6faf1d9bdcedff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8b0df8a8af48210f5999523a66b5d6f8171f1e2f6aa6c0eb695fc49efacdf9b5 [INFO] running `Command { std: "docker" "start" "-a" "8b0df8a8af48210f5999523a66b5d6f8171f1e2f6aa6c0eb695fc49efacdf9b5", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/common.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stderr] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2location/db.rs:101:22 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2location/db.rs:171:20 [INFO] [stderr] | [INFO] [stderr] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2location/db.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2location/db.rs:231:20 [INFO] [stderr] | [INFO] [stderr] 231 | fn read_record(&self, row_addr: u32) -> Result { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2proxy/db.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2proxy/db.rs:162:24 [INFO] [stderr] | [INFO] [stderr] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2proxy/db.rs:204:24 [INFO] [stderr] | [INFO] [stderr] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ip2proxy/db.rs:247:20 [INFO] [stderr] | [INFO] [stderr] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 247 | fn read_record(&self, offset: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ip2location` (lib) generated 9 warnings (run `cargo fix --lib -p ip2location` to apply 9 suggestions) [INFO] [stderr] warning: `ip2location` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ip2location-898258f9036e2cbf) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::tests_lib::test_ipv6_lookup ... FAILED [INFO] [stdout] test tests::tests_error::test_error_display ... ok [INFO] [stdout] test tests::tests_lib::test_ipv4_lookup_in_ipv4bin ... FAILED [INFO] [stdout] test tests::tests_lib::test_ip_lookup_in_proxy_bin ... FAILED [INFO] [stdout] test tests::tests_lib::test_err_filenotfound_location ... ok [INFO] [stdout] test tests::tests_lib::test_ipv4_lookup_in_ipv6bin ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::tests_lib::test_ipv6_lookup stdout ---- [INFO] [stdout] Error: IoError("Error opening DB file: No such file or directory") [INFO] [stdout] [INFO] [stdout] ---- tests::tests_lib::test_ipv4_lookup_in_ipv4bin stdout ---- [INFO] [stdout] Error: IoError("Error opening DB file: No such file or directory") [INFO] [stdout] [INFO] [stdout] ---- tests::tests_lib::test_ip_lookup_in_proxy_bin stdout ---- [INFO] [stdout] Error: IoError("Error opening DB file: No such file or directory") [INFO] [stdout] [INFO] [stdout] ---- tests::tests_lib::test_ipv4_lookup_in_ipv6bin stdout ---- [INFO] [stdout] Error: IoError("Error opening DB file: No such file or directory") [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] failures: [INFO] [stdout] tests::tests_lib::test_ip_lookup_in_proxy_bin [INFO] [stdout] tests::tests_lib::test_ipv4_lookup_in_ipv4bin [INFO] [stdout] tests::tests_lib::test_ipv4_lookup_in_ipv6bin [INFO] [stdout] tests::tests_lib::test_ipv6_lookup [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b0df8a8af48210f5999523a66b5d6f8171f1e2f6aa6c0eb695fc49efacdf9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0df8a8af48210f5999523a66b5d6f8171f1e2f6aa6c0eb695fc49efacdf9b5", kill_on_drop: false }` [INFO] [stdout] 8b0df8a8af48210f5999523a66b5d6f8171f1e2f6aa6c0eb695fc49efacdf9b5