[INFO] fetching crate ip2location 0.6.0... [INFO] testing ip2location-0.6.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ip2location 0.6.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ip2location 0.6.0 [INFO] finished tweaking crates.io crate ip2location 0.6.0 [INFO] tweaked toml for crates.io crate ip2location 0.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ip2location 0.6.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ip2location 0.6.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.9.5 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5a2477c7d324061fd5a3746fe2f49b9f3ff86283d8635385e20893e66d85c2d [INFO] running `Command { std: "docker" "start" "-a" "e5a2477c7d324061fd5a3746fe2f49b9f3ff86283d8635385e20893e66d85c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5a2477c7d324061fd5a3746fe2f49b9f3ff86283d8635385e20893e66d85c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a2477c7d324061fd5a3746fe2f49b9f3ff86283d8635385e20893e66d85c2d", kill_on_drop: false }` [INFO] [stdout] e5a2477c7d324061fd5a3746fe2f49b9f3ff86283d8635385e20893e66d85c2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a63c9644c96a7f9f4a792e1c662035747751f7fb1d7c874b7bf4dab447d9608 [INFO] running `Command { std: "docker" "start" "-a" "0a63c9644c96a7f9f4a792e1c662035747751f7fb1d7c874b7bf4dab447d9608", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [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 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.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 28.65s [INFO] running `Command { std: "docker" "inspect" "0a63c9644c96a7f9f4a792e1c662035747751f7fb1d7c874b7bf4dab447d9608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a63c9644c96a7f9f4a792e1c662035747751f7fb1d7c874b7bf4dab447d9608", kill_on_drop: false }` [INFO] [stdout] 0a63c9644c96a7f9f4a792e1c662035747751f7fb1d7c874b7bf4dab447d9608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544c4343ce6e94cff38794a462e44097fb17adfe380d3b59dfc91019bbcc3414 [INFO] running `Command { std: "docker" "start" "-a" "544c4343ce6e94cff38794a462e44097fb17adfe380d3b59dfc91019bbcc3414", kill_on_drop: false }` [INFO] [stderr] Compiling ip2location v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2location/db.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ip2proxy/db.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 2.41s [INFO] running `Command { std: "docker" "inspect" "544c4343ce6e94cff38794a462e44097fb17adfe380d3b59dfc91019bbcc3414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544c4343ce6e94cff38794a462e44097fb17adfe380d3b59dfc91019bbcc3414", kill_on_drop: false }` [INFO] [stdout] 544c4343ce6e94cff38794a462e44097fb17adfe380d3b59dfc91019bbcc3414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6ad507aae82529ac48272ce3d47c56e4dd6b5985003d99deff8082e775c528f [INFO] running `Command { std: "docker" "start" "-a" "c6ad507aae82529ac48272ce3d47c56e4dd6b5985003d99deff8082e775c528f", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/common.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 171 | fn ipv4_lookup(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ip2location/db.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 201 | fn ipv6_lookup(&self, ipv6: Ipv6Addr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 231 | fn read_record(&self, row_addr: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn ip_lookup(&self, ip: IpAddr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 162 | fn get_ipv4_record(&self, mut ip_number: u32) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 is elided here ----------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | fn get_ipv6_record(&self, ip_address: Ipv6Addr) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ip2proxy/db.rs:247:20 [INFO] [stderr] | [INFO] [stderr] 247 | fn read_record(&self, offset: u32) -> Result { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ip2location-8edcdf469b6cd614) [INFO] [stdout] [INFO] [stdout] running 6 tests [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_err_filenotfound_location ... ok [INFO] [stdout] test tests::tests_lib::test_ip_lookup_in_proxy_bin ... FAILED [INFO] [stdout] test tests::tests_lib::test_ipv4_lookup_in_ipv6bin ... FAILED [INFO] [stdout] test tests::tests_lib::test_ipv6_lookup ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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] ---- tests::tests_lib::test_ipv6_lookup stdout ---- [INFO] [stdout] Error: IoError("Error opening DB file: No such file or directory") [INFO] [stdout] [INFO] [stdout] [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.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c6ad507aae82529ac48272ce3d47c56e4dd6b5985003d99deff8082e775c528f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ad507aae82529ac48272ce3d47c56e4dd6b5985003d99deff8082e775c528f", kill_on_drop: false }` [INFO] [stdout] c6ad507aae82529ac48272ce3d47c56e4dd6b5985003d99deff8082e775c528f