[INFO] cloning repository https://github.com/bihealth/var-agg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bihealth/var-agg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbihealth%2Fvar-agg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbihealth%2Fvar-agg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 471f9e96eaae18d5d3b9ded56b29fc186f420178 [INFO] checking bihealth/var-agg against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbihealth%2Fvar-agg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bihealth/var-agg on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bihealth/var-agg [INFO] finished tweaking git repo https://github.com/bihealth/var-agg [INFO] tweaked toml for git repo https://github.com/bihealth/var-agg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bihealth/var-agg 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded isatty v0.1.8 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded slog-async v2.3.0 [INFO] [stderr] Downloaded slog-term v2.4.0 [INFO] [stderr] Downloaded slog v2.3.3 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded itertools-num v0.1.2 [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded bv v0.7.4 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded cc v1.0.23 [INFO] [stderr] Downloaded ndarray v0.9.1 [INFO] [stderr] Downloaded statrs v0.9.0 [INFO] [stderr] Downloaded serde v1.0.76 [INFO] [stderr] Downloaded regex v1.0.4 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.17 [INFO] [stderr] Downloaded serde_derive v1.0.76 [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded ieee754 v0.2.2 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded csv v1.0.1 [INFO] [stderr] Downloaded multimap v0.4.0 [INFO] [stderr] Downloaded matrixmultiply v0.1.14 [INFO] [stderr] Downloaded termcolor v1.0.3 [INFO] [stderr] Downloaded fs-utils v1.1.0 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded bio-types v0.2.0 [INFO] [stderr] Downloaded bio v0.22.0 [INFO] [stderr] Downloaded bindgen v0.36.1 [INFO] [stderr] Downloaded rust-htslib v0.21.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0281db948de6250f426cf39c909cb460b26f608ddebd1339d739bc09786b4051 [INFO] running `Command { std: "docker" "start" "-a" "0281db948de6250f426cf39c909cb460b26f608ddebd1339d739bc09786b4051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0281db948de6250f426cf39c909cb460b26f608ddebd1339d739bc09786b4051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0281db948de6250f426cf39c909cb460b26f608ddebd1339d739bc09786b4051", kill_on_drop: false }` [INFO] [stdout] 0281db948de6250f426cf39c909cb460b26f608ddebd1339d739bc09786b4051 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3650402f01d7241bf4e9036d58fbba9682845edd2ea512f6cf2c3b8cbed557a [INFO] running `Command { std: "docker" "start" "-a" "c3650402f01d7241bf4e9036d58fbba9682845edd2ea512f6cf2c3b8cbed557a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.17 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling bindgen v0.36.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling fs-utils v1.1.0 [INFO] [stderr] Compiling ndarray v0.9.1 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bv v0.7.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking slog v2.3.3 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking statrs v0.9.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking itertools-num v0.1.2 [INFO] [stderr] Checking isatty v0.1.8 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking ieee754 v0.2.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking slog-term v2.4.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking bio-types v0.2.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking multimap v0.4.0 [INFO] [stderr] Checking csv v1.0.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking bio v0.22.0 [INFO] [stderr] Compiling rust-htslib v0.21.0 [INFO] [stderr] Checking var-agg v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bcf_utils.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | &rust_htslib::htslib::tbx_conf_vcf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | addr_of!(rust_htslib::htslib::tbx_conf_vcf), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bcf_utils.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | &rust_htslib::htslib::tbx_conf_vcf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | addr_of!(rust_htslib::htslib::tbx_conf_vcf), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 194 | struct GroupStats { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 195 | /// Name of the group [INFO] [stdout] 196 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 194 | struct GroupStats { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 195 | /// Name of the group [INFO] [stdout] 196 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `sex`, `disease_status`, and `extra_fields` are never read [INFO] [stdout] --> src/pedigree.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Individual { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 70 | /// ID of the family [INFO] [stdout] 71 | pub family: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub sex: Sex, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | /// The disease status of the individual [INFO] [stdout] 81 | pub disease_status: DiseaseStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 82 | /// Any further fields from the PED files, tokenized at TAB characters [INFO] [stdout] 83 | pub extra_fields: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Individual` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `sex`, `disease_status`, and `extra_fields` are never read [INFO] [stdout] --> src/pedigree.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Individual { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 70 | /// ID of the family [INFO] [stdout] 71 | pub family: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub sex: Sex, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | /// The disease status of the individual [INFO] [stdout] 81 | pub disease_status: DiseaseStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 82 | /// Any further fields from the PED files, tokenized at TAB characters [INFO] [stdout] 83 | pub extra_fields: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Individual` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_headings` and `extra_headings` are never read [INFO] [stdout] --> src/pedigree.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pedigree { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | pub core_headings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// The headings of the extra files (starting after disease status) [INFO] [stdout] 94 | pub extra_headings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pedigree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_headings` and `extra_headings` are never read [INFO] [stdout] --> src/pedigree.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pedigree { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | pub core_headings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// The headings of the extra files (starting after disease status) [INFO] [stdout] 94 | pub extra_headings: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pedigree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/bcf_utils.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | ffi::CString::new(path.as_bytes()).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/bcf_utils.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | ffi::CString::new(path.as_bytes()).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/bcf_utils.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | ffi::CString::new(path.as_bytes()).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/bcf_utils.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | ffi::CString::new(path.as_bytes()).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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3650402f01d7241bf4e9036d58fbba9682845edd2ea512f6cf2c3b8cbed557a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3650402f01d7241bf4e9036d58fbba9682845edd2ea512f6cf2c3b8cbed557a", kill_on_drop: false }` [INFO] [stdout] c3650402f01d7241bf4e9036d58fbba9682845edd2ea512f6cf2c3b8cbed557a