[INFO] fetching crate cloc 0.6.2... [INFO] checking cloc-0.6.2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate cloc 0.6.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cloc 0.6.2 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 crates.io crate cloc 0.6.2 [INFO] finished tweaking crates.io crate cloc 0.6.2 [INFO] tweaked toml for crates.io crate cloc 0.6.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate cloc 0.6.2 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] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.11 [INFO] [stderr] Downloaded structopt v0.3.18 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded proc-macro2 v1.0.23 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 606d835b3840d31d44844249154647fd217af1ef965f16d6db499d7692e2c41a [INFO] running `Command { std: "docker" "start" "-a" "606d835b3840d31d44844249154647fd217af1ef965f16d6db499d7692e2c41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "606d835b3840d31d44844249154647fd217af1ef965f16d6db499d7692e2c41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606d835b3840d31d44844249154647fd217af1ef965f16d6db499d7692e2c41a", kill_on_drop: false }` [INFO] [stdout] 606d835b3840d31d44844249154647fd217af1ef965f16d6db499d7692e2c41a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 558185d09f3693320263fb188cc31f690f570ec09b0adf4919e7f183efe33a8a [INFO] running `Command { std: "docker" "start" "-a" "558185d09f3693320263fb188cc31f690f570ec09b0adf4919e7f183efe33a8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling structopt-derive v0.4.11 [INFO] [stderr] Checking structopt v0.3.18 [INFO] [stderr] Checking cloc v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_ext` is never read [INFO] [stdout] --> src/calculator.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | language: &'static str, [INFO] [stdout] 135 | file_ext: Vec<&'static str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `output` is never read [INFO] [stdout] --> src/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub output: Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_ext` is never read [INFO] [stdout] --> src/calculator.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | language: &'static str, [INFO] [stdout] 135 | file_ext: Vec<&'static str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `output` is never read [INFO] [stdout] --> src/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub output: Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.45s [INFO] running `Command { std: "docker" "inspect" "558185d09f3693320263fb188cc31f690f570ec09b0adf4919e7f183efe33a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558185d09f3693320263fb188cc31f690f570ec09b0adf4919e7f183efe33a8a", kill_on_drop: false }` [INFO] [stdout] 558185d09f3693320263fb188cc31f690f570ec09b0adf4919e7f183efe33a8a [INFO] checking cloc-0.6.2 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate cloc 0.6.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cloc 0.6.2 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 crates.io crate cloc 0.6.2 [INFO] finished tweaking crates.io crate cloc 0.6.2 [INFO] tweaked toml for crates.io crate cloc 0.6.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate cloc 0.6.2 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6255f59e8f0bd9d9184df9c9db282534e06f17c014dd64b4fa5f117a60aca3a5 [INFO] running `Command { std: "docker" "start" "-a" "6255f59e8f0bd9d9184df9c9db282534e06f17c014dd64b4fa5f117a60aca3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6255f59e8f0bd9d9184df9c9db282534e06f17c014dd64b4fa5f117a60aca3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6255f59e8f0bd9d9184df9c9db282534e06f17c014dd64b4fa5f117a60aca3a5", kill_on_drop: false }` [INFO] [stdout] 6255f59e8f0bd9d9184df9c9db282534e06f17c014dd64b4fa5f117a60aca3a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6f633c503a3f6923268ed95a85b06e2275f40ef9fa20779c68ef6bf2ef032bcc [INFO] running `Command { std: "docker" "start" "-a" "6f633c503a3f6923268ed95a85b06e2275f40ef9fa20779c68ef6bf2ef032bcc", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.11 [INFO] [stderr] Checking structopt v0.3.18 [INFO] [stderr] Checking cloc v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_ext` is never read [INFO] [stdout] --> src/calculator.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | language: &'static str, [INFO] [stdout] 135 | file_ext: Vec<&'static str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `output` is never read [INFO] [stdout] --> src/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub output: Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has a derived impl for the trait `Debug`, but this is 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:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let entry = entry.and_then(|entry| fs::canonicalize(entry).ok()).unwrap_or_else(|| { [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/calculator.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | .and_then(|info| Self::statistical_detail(filename, info).ok()) [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/engine.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | .and_then(|filename| fs::read_to_string(filename).ok()) [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/engine.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|content| content.lines().filter_map(|path| fs::canonicalize(path).ok()).collect::>()) [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/executor.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(receiver: Arc>>) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let thread = thread::spawn(move || Self::work(receiver)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | [INFO] [stdout] 18 | Self { thread: Some(thread) } [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/options.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / #[structopt( [INFO] [stdout] 80 | | long = "output", [INFO] [stdout] 81 | | default_value = "Terminal", [INFO] [stdout] 82 | | help = "alternative parameters: Terminal, Markdown\n" [INFO] [stdout] 83 | | )] [INFO] [stdout] 84 | | pub output: Output, [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/options.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / #[structopt( [INFO] [stdout] 87 | | long = "sort-by", [INFO] [stdout] 88 | | default_value = "language", [INFO] [stdout] 89 | | help = "alternative parameters: language, files, size, blank, comment, code\n" [INFO] [stdout] 90 | | )] [INFO] [stdout] 91 | | pub sort_by: SortBy, [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/options.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / #[structopt( [INFO] [stdout] 94 | | long = "order-by", [INFO] [stdout] 95 | | default_value = "asc", [INFO] [stdout] 96 | | help = "alternative parameters: asc, desc\n" [INFO] [stdout] 97 | | )] [INFO] [stdout] 98 | | pub order_by: OrderBy, [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 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cloc` (bin "cloc" test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `file_ext` is never read [INFO] [stdout] --> src/calculator.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | language: &'static str, [INFO] [stdout] 135 | file_ext: Vec<&'static str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `output` is never read [INFO] [stdout] --> src/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub output: Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has a derived impl for the trait `Debug`, but this is 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:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let entry = entry.and_then(|entry| fs::canonicalize(entry).ok()).unwrap_or_else(|| { [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/calculator.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | .and_then(|info| Self::statistical_detail(filename, info).ok()) [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/engine.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | .and_then(|filename| fs::read_to_string(filename).ok()) [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/engine.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|content| content.lines().filter_map(|path| fs::canonicalize(path).ok()).collect::>()) [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/executor.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(receiver: Arc>>) -> Self { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let thread = thread::spawn(move || Self::work(receiver)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | [INFO] [stdout] 18 | Self { thread: Some(thread) } [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/options.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / #[structopt( [INFO] [stdout] 80 | | long = "output", [INFO] [stdout] 81 | | default_value = "Terminal", [INFO] [stdout] 82 | | help = "alternative parameters: Terminal, Markdown\n" [INFO] [stdout] 83 | | )] [INFO] [stdout] 84 | | pub output: Output, [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/options.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / #[structopt( [INFO] [stdout] 87 | | long = "sort-by", [INFO] [stdout] 88 | | default_value = "language", [INFO] [stdout] 89 | | help = "alternative parameters: language, files, size, blank, comment, code\n" [INFO] [stdout] 90 | | )] [INFO] [stdout] 91 | | pub sort_by: SortBy, [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/options.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / #[structopt( [INFO] [stdout] 94 | | long = "order-by", [INFO] [stdout] 95 | | default_value = "asc", [INFO] [stdout] 96 | | help = "alternative parameters: asc, desc\n" [INFO] [stdout] 97 | | )] [INFO] [stdout] 98 | | pub order_by: OrderBy, [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 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cloc` (bin "cloc") due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f633c503a3f6923268ed95a85b06e2275f40ef9fa20779c68ef6bf2ef032bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f633c503a3f6923268ed95a85b06e2275f40ef9fa20779c68ef6bf2ef032bcc", kill_on_drop: false }` [INFO] [stdout] 6f633c503a3f6923268ed95a85b06e2275f40ef9fa20779c68ef6bf2ef032bcc