[INFO] cloning repository https://github.com/paddison/rust_rsa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paddison/rust_rsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaddison%2Frust_rsa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaddison%2Frust_rsa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05f131365c606a0bc152d0448622ad58294e8964 [INFO] checking paddison/rust_rsa against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaddison%2Frust_rsa" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paddison/rust_rsa 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/paddison/rust_rsa [INFO] finished tweaking git repo https://github.com/paddison/rust_rsa [INFO] tweaked toml for git repo https://github.com/paddison/rust_rsa written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/paddison/rust_rsa 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded rug v1.16.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1fa8de0be9af0d033624b7c7eef8a818350274233e15d9cae9b3ceb1810de1fe [INFO] running `Command { std: "docker" "start" "-a" "1fa8de0be9af0d033624b7c7eef8a818350274233e15d9cae9b3ceb1810de1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fa8de0be9af0d033624b7c7eef8a818350274233e15d9cae9b3ceb1810de1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa8de0be9af0d033624b7c7eef8a818350274233e15d9cae9b3ceb1810de1fe", kill_on_drop: false }` [INFO] [stdout] 1fa8de0be9af0d033624b7c7eef8a818350274233e15d9cae9b3ceb1810de1fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b1d51aa127361aa18963b5c8b4bc57e59b0e0c842147e49f4e25a08559703496 [INFO] running `Command { std: "docker" "start" "-a" "b1d51aa127361aa18963b5c8b4bc57e59b0e0c842147e49f4e25a08559703496", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.7 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling rug v1.16.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rsa_arbitray_precision v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Complete` [INFO] [stdout] --> src/input_module.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use rug::{Integer, Complete}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/commands/util.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_file_name(args: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f_type` is never read [INFO] [stdout] --> src/parser/opt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ParsedOpt { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | f_type: FlagType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_flag` and `verify` are never used [INFO] [stdout] --> src/parser/opt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ParsedOpt { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn is_flag(flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn verify(&self, name: &str, args: Option>) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/input_module.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let s = number_to_string(n).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/commands/util.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_file_name(args: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f_type` is never read [INFO] [stdout] --> src/parser/opt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ParsedOpt { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | f_type: FlagType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_flag` is never used [INFO] [stdout] --> src/parser/opt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ParsedOpt { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn is_flag(flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.13s [INFO] running `Command { std: "docker" "inspect" "b1d51aa127361aa18963b5c8b4bc57e59b0e0c842147e49f4e25a08559703496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d51aa127361aa18963b5c8b4bc57e59b0e0c842147e49f4e25a08559703496", kill_on_drop: false }` [INFO] [stdout] b1d51aa127361aa18963b5c8b4bc57e59b0e0c842147e49f4e25a08559703496 [INFO] checking paddison/rust_rsa against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaddison%2Frust_rsa" "/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/paddison/rust_rsa on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paddison/rust_rsa [INFO] finished tweaking git repo https://github.com/paddison/rust_rsa [INFO] tweaked toml for git repo https://github.com/paddison/rust_rsa written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paddison/rust_rsa 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4309a2db2bf9cb4b9ca1a5c409765baeda50d0424e1622e061ed6573da24bec8 [INFO] running `Command { std: "docker" "start" "-a" "4309a2db2bf9cb4b9ca1a5c409765baeda50d0424e1622e061ed6573da24bec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4309a2db2bf9cb4b9ca1a5c409765baeda50d0424e1622e061ed6573da24bec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4309a2db2bf9cb4b9ca1a5c409765baeda50d0424e1622e061ed6573da24bec8", kill_on_drop: false }` [INFO] [stdout] 4309a2db2bf9cb4b9ca1a5c409765baeda50d0424e1622e061ed6573da24bec8 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c0116e043ded33cc6a5eca2cc89e07f3f54da3e7f5d811549ea0a9b89eca61 [INFO] running `Command { std: "docker" "start" "-a" "c0c0116e043ded33cc6a5eca2cc89e07f3f54da3e7f5d811549ea0a9b89eca61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rug v1.16.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rsa_arbitray_precision v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Complete` [INFO] [stdout] --> src/input_module.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use rug::{Integer, Complete}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/input_module.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let s = number_to_string(n).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/commands/util.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_file_name(args: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f_type` is never read [INFO] [stdout] --> src/parser/opt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ParsedOpt { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | f_type: FlagType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_flag` and `verify` are never used [INFO] [stdout] --> src/parser/opt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ParsedOpt { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn is_flag(flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn verify(&self, name: &str, args: Option>) -> bool { [INFO] [stdout] | ^^^^^^ [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/key_gen.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 89 | let d = Integer::parse_radix(parts[0], 16)?.complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let n = Integer::parse_radix(parts[1], 16)?.complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let public_key_part = Integer::parse_radix(parts[2], 16)?.complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(RsaPrivateKey { d, n, public_key_part }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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/key_gen.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 127 | let e = Integer::from_str_radix(parts[0], 16)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let n = Integer::from_str_radix(parts[1], 16)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(RsaPublicKey { e, n }) [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] [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/key_gen.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 209 | let (p, q) = generate_p_q(bits, n_threads); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let n = Integer::from(&p * &q); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let n_phi = calculate_n_phi(&p, &q); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let e = generate_e(&n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let d = generate_d(&e, &n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | (RsaPrivateKey { d, n: Integer::from(&n), public_key_part: Integer::from(&e) }, RsaPublicKey { e, n }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/key_gen.rs:214:85 [INFO] [stdout] | [INFO] [stdout] 209 | let (p, q) = generate_p_q(bits, n_threads); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let n = Integer::from(&p * &q); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let n_phi = calculate_n_phi(&p, &q); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let e = generate_e(&n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let d = generate_d(&e, &n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | (RsaPrivateKey { d, n: Integer::from(&n), public_key_part: Integer::from(&e) }, RsaPublicKey { e, n }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/prime_gen.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 22 | let mut d = Integer::from(n - 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let two = Integer::from(2); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | assert_eq!(*n, Integer::from(&two.pow(s) * &d) + 1); [INFO] [stdout] 31 | (Integer::from(s), d) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa_arbitray_precision` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/commands/util.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_file_name(args: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f_type` is never read [INFO] [stdout] --> src/parser/opt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ParsedOpt { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | f_type: FlagType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_flag` is never used [INFO] [stdout] --> src/parser/opt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ParsedOpt { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn is_flag(flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [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/key_gen.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 89 | let d = Integer::parse_radix(parts[0], 16)?.complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let n = Integer::parse_radix(parts[1], 16)?.complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let public_key_part = Integer::parse_radix(parts[2], 16)?.complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(RsaPrivateKey { d, n, public_key_part }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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/key_gen.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 127 | let e = Integer::from_str_radix(parts[0], 16)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | let n = Integer::from_str_radix(parts[1], 16)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(RsaPublicKey { e, n }) [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] [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/key_gen.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 209 | let (p, q) = generate_p_q(bits, n_threads); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let n = Integer::from(&p * &q); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let n_phi = calculate_n_phi(&p, &q); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let e = generate_e(&n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let d = generate_d(&e, &n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | (RsaPrivateKey { d, n: Integer::from(&n), public_key_part: Integer::from(&e) }, RsaPublicKey { e, n }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/key_gen.rs:214:85 [INFO] [stdout] | [INFO] [stdout] 209 | let (p, q) = generate_p_q(bits, n_threads); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let n = Integer::from(&p * &q); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let n_phi = calculate_n_phi(&p, &q); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let e = generate_e(&n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let d = generate_d(&e, &n_phi); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | (RsaPrivateKey { d, n: Integer::from(&n), public_key_part: Integer::from(&e) }, RsaPublicKey { e, n }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/prime_gen.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 22 | let mut d = Integer::from(n - 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let two = Integer::from(2); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | assert_eq!(*n, Integer::from(&two.pow(s) * &d) + 1); [INFO] [stdout] 31 | (Integer::from(s), d) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa_arbitray_precision` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0c0116e043ded33cc6a5eca2cc89e07f3f54da3e7f5d811549ea0a9b89eca61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c0116e043ded33cc6a5eca2cc89e07f3f54da3e7f5d811549ea0a9b89eca61", kill_on_drop: false }` [INFO] [stdout] c0c0116e043ded33cc6a5eca2cc89e07f3f54da3e7f5d811549ea0a9b89eca61