[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/471f9e96eaae18d5d3b9ded56b29fc186f420178 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbihealth%2Fvar-agg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bihealth/var-agg on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-2-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cae50ccf3fcfcb2d2b42f5418727e2aa801e96296df3745f9c80ef9df0a3ff6 [INFO] running `Command { std: "docker" "start" "-a" "3cae50ccf3fcfcb2d2b42f5418727e2aa801e96296df3745f9c80ef9df0a3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cae50ccf3fcfcb2d2b42f5418727e2aa801e96296df3745f9c80ef9df0a3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cae50ccf3fcfcb2d2b42f5418727e2aa801e96296df3745f9c80ef9df0a3ff6", kill_on_drop: false }` [INFO] [stdout] 3cae50ccf3fcfcb2d2b42f5418727e2aa801e96296df3745f9c80ef9df0a3ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f97eaedf51a964a986f56ae79ce78a87f69cb4edf81598ab3cba6f12c0d749c [INFO] running `Command { std: "docker" "start" "-a" "7f97eaedf51a964a986f56ae79ce78a87f69cb4edf81598ab3cba6f12c0d749c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.17 [INFO] [stderr] Checking libc v0.2.43 [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 glob v0.2.11 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling libloading v0.5.0 [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 nom v3.2.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling bindgen v0.36.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling fs-utils v1.1.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling bv v0.7.4 [INFO] [stderr] Compiling ndarray v0.9.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking slog v2.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking statrs v0.9.0 [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 ieee754 v0.2.2 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking slog-term v2.4.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bio-types v0.2.0 [INFO] [stderr] Checking csv v1.0.1 [INFO] [stderr] Checking multimap v0.4.0 [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 95 | let mut header = bcf::header::Header::from_template_subset(&reader.header(), &[]) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let mut out_header = bcf::header::Header::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | bcf::Writer::from_path(&path, &header, uncompressed, vcf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: aborting due to 1 previous error; 6 warnings emitted [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] [stderr] error: could not compile `var-agg` (bin "var-agg") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 95 | let mut header = bcf::header::Header::from_template_subset(&reader.header(), &[]) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let mut out_header = bcf::header::Header::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | bcf::Writer::from_path(&path, &header, uncompressed, vcf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] [stderr] error: could not compile `var-agg` (bin "var-agg" test) due to 2 previous errors; 6 warnings emitted [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] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f97eaedf51a964a986f56ae79ce78a87f69cb4edf81598ab3cba6f12c0d749c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f97eaedf51a964a986f56ae79ce78a87f69cb4edf81598ab3cba6f12c0d749c", kill_on_drop: false }` [INFO] [stdout] 7f97eaedf51a964a986f56ae79ce78a87f69cb4edf81598ab3cba6f12c0d749c