[INFO] fetching crate geoip 0.0.14...
[INFO] testing geoip-0.0.14 against 1.75.0 for beta-1.76-1
[INFO] extracting crate geoip 0.0.14 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate geoip 0.0.14 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate geoip 0.0.14
[INFO] finished tweaking crates.io crate geoip 0.0.14
[INFO] tweaked toml for crates.io crate geoip 0.0.14 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded geoip-sys v0.0.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b59e4c1474e470d5dcd9aa7eec3f7ea7f96c0a9f0001696475407f4db0a0709d
[INFO] running `Command { std: "docker" "start" "-a" "b59e4c1474e470d5dcd9aa7eec3f7ea7f96c0a9f0001696475407f4db0a0709d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b59e4c1474e470d5dcd9aa7eec3f7ea7f96c0a9f0001696475407f4db0a0709d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b59e4c1474e470d5dcd9aa7eec3f7ea7f96c0a9f0001696475407f4db0a0709d", kill_on_drop: false }`
[INFO] [stdout] b59e4c1474e470d5dcd9aa7eec3f7ea7f96c0a9f0001696475407f4db0a0709d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35a30c12c629effa9ea88bc5aa8f545f3e1134912be24e58b0119411d3bb28c2
[INFO] running `Command { std: "docker" "start" "-a" "35a30c12c629effa9ea88bc5aa8f545f3e1134912be24e58b0119411d3bb28c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling geoip-sys v0.0.14
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling geoip v0.0.14 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:40
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:40
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/geoip/lib.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             std::mem::forget(cres);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^----^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              argument has type `*const GeoIpRecord`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(forgetting_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:354:58
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:355:57
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:376:58
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:377:57
[INFO] [stdout]     |
[INFO] [stdout] 377 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.39s
[INFO] running `Command { std: "docker" "inspect" "35a30c12c629effa9ea88bc5aa8f545f3e1134912be24e58b0119411d3bb28c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35a30c12c629effa9ea88bc5aa8f545f3e1134912be24e58b0119411d3bb28c2", kill_on_drop: false }`
[INFO] [stdout] 35a30c12c629effa9ea88bc5aa8f545f3e1134912be24e58b0119411d3bb28c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21ad3d8f5748afd51c9072f50111d23708bea22a2b4a6e454ddd0dceb1cb5442
[INFO] running `Command { std: "docker" "start" "-a" "21ad3d8f5748afd51c9072f50111d23708bea22a2b4a6e454ddd0dceb1cb5442", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:40
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:40
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/geoip/lib.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             std::mem::forget(cres);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^----^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              argument has type `*const GeoIpRecord`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(forgetting_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:354:58
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:355:57
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:376:58
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling geoip v0.0.14 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:377:57
[INFO] [stdout]     |
[INFO] [stdout] 377 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:86:40
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/geoip/lib.rs:93:40
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/geoip/lib.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             std::mem::forget(cres);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^----^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              argument has type `*const GeoIpRecord`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(forgetting_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:354:58
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:355:57
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:376:58
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 ffi::CString::new(country_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/geoip/lib.rs:377:57
[INFO] [stdout]     |
[INFO] [stdout] 377 |                 ffi::CString::new(region_code).unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcAAwmC2/symbols.o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5.geoip.fa88cf1a8bc6b972-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5.geoip.fa88cf1a8bc6b972-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5.geoip.fa88cf1a8bc6b972-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5.geoip.fa88cf1a8bc6b972-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5.5233iyhu3kytacds.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librustc_serialize-738cfa055e92ab76.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-3df1bed8075ce1de.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-2076fd86b325cb5d.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-caa7152ee70c190f.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-04e6425e07f02a3c.rlib" "/opt/rustwide/target/debug/deps/libgeoip_sys-6e0a1224b609bf0f.rlib" "/opt/rustwide/target/debug/deps/liblibc-f01c1240f7c859d0.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-591486ebcb9a7ead.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-90f6ddbf82de36ec.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-480c41e9d4e1f677.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-db744c0ca03eed1d.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-8ba652dc7d4b285a.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d5f4520a9ebc0d58.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4ad84de58f0cb463.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0d10aae2e0f38735.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c17cff739e6745b.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b29e17139dde1aa8.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1f975299829cc7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86bae3bc3079f89b.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-321b82c30dffdf5f.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3dd8a6810a0bdfef.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-eb39a61c0c879984.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-aa769569f91c3548.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-510a192a50a983ed.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-0577018320f99037.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-193cf992125ccd4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8e138eaf26ebb4a8.rlib" "-Wl,-Bdynamic" "-lGeoIP" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/geoip-9e58cec6449903e5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lGeoIP: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `geoip` (lib test) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "21ad3d8f5748afd51c9072f50111d23708bea22a2b4a6e454ddd0dceb1cb5442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21ad3d8f5748afd51c9072f50111d23708bea22a2b4a6e454ddd0dceb1cb5442", kill_on_drop: false }`
[INFO] [stdout] 21ad3d8f5748afd51c9072f50111d23708bea22a2b4a6e454ddd0dceb1cb5442
