[INFO] cloning repository https://github.com/teddy-otieno/backuptool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teddy-otieno/backuptool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c0259b4a501aa393cdacf42914e454cc2c65d78 [INFO] checking teddy-otieno/backuptool against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool 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/teddy-otieno/backuptool [INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/teddy-otieno/backuptool 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ae16d25c9ec90720a9cad43462f0cda1325374648394d8a8738be375acccfa95 [INFO] running `Command { std: "docker" "start" "-a" "ae16d25c9ec90720a9cad43462f0cda1325374648394d8a8738be375acccfa95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae16d25c9ec90720a9cad43462f0cda1325374648394d8a8738be375acccfa95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae16d25c9ec90720a9cad43462f0cda1325374648394d8a8738be375acccfa95", kill_on_drop: false }` [INFO] [stdout] ae16d25c9ec90720a9cad43462f0cda1325374648394d8a8738be375acccfa95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4905ff685d0565a6769b9e4516e860bb12a45c951b34f62ee1042bac73f526cc [INFO] running `Command { std: "docker" "start" "-a" "4905ff685d0565a6769b9e4516e860bb12a45c951b34f62ee1042bac73f526cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking backuptool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Workspace` and `create_directories_for_extraction` [INFO] [stdout] --> src/core.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use super::{Workspace, create_directories_for_extraction}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_bytes` is never used [INFO] [stdout] --> src/core.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_path_to_relative` is never used [INFO] [stdout] --> src/core.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn convert_path_to_relative(parent_path: &String, absolute_path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crawl_directory_and_append_to_archive` is never used [INFO] [stdout] --> src/core.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn crawl_directory_and_append_to_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directories_for_extraction` is never used [INFO] [stdout] --> src/core.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_directories_for_extraction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Workspace` is never constructed [INFO] [stdout] --> src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Workspace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `archive`, and `unarchive` are never used [INFO] [stdout] --> src/core.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | impl Workspace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 107 | pub fn new(path: String, path_to_backup: String, extraction_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn archive(&self) -> ZipResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn unarchive(&self) -> ZipResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "4905ff685d0565a6769b9e4516e860bb12a45c951b34f62ee1042bac73f526cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4905ff685d0565a6769b9e4516e860bb12a45c951b34f62ee1042bac73f526cc", kill_on_drop: false }` [INFO] [stdout] 4905ff685d0565a6769b9e4516e860bb12a45c951b34f62ee1042bac73f526cc [INFO] checking teddy-otieno/backuptool 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%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool 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/teddy-otieno/backuptool [INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool [INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/teddy-otieno/backuptool 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1cdbffe939d8153f3e6e46833584043b23efb047f33ab1905e51fa21e9e65940 [INFO] running `Command { std: "docker" "start" "-a" "1cdbffe939d8153f3e6e46833584043b23efb047f33ab1905e51fa21e9e65940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cdbffe939d8153f3e6e46833584043b23efb047f33ab1905e51fa21e9e65940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cdbffe939d8153f3e6e46833584043b23efb047f33ab1905e51fa21e9e65940", kill_on_drop: false }` [INFO] [stdout] 1cdbffe939d8153f3e6e46833584043b23efb047f33ab1905e51fa21e9e65940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2a726c9ea37e72308f832bada4dd307a98a1d12bc985644fe323a5c35110f4a6 [INFO] running `Command { std: "docker" "start" "-a" "2a726c9ea37e72308f832bada4dd307a98a1d12bc985644fe323a5c35110f4a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking backuptool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Workspace` and `create_directories_for_extraction` [INFO] [stdout] --> src/core.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use super::{Workspace, create_directories_for_extraction}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_bytes` is never used [INFO] [stdout] --> src/core.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_path_to_relative` is never used [INFO] [stdout] --> src/core.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn convert_path_to_relative(parent_path: &String, absolute_path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crawl_directory_and_append_to_archive` is never used [INFO] [stdout] --> src/core.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn crawl_directory_and_append_to_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directories_for_extraction` is never used [INFO] [stdout] --> src/core.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_directories_for_extraction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Workspace` is never constructed [INFO] [stdout] --> src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Workspace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `archive`, and `unarchive` are never used [INFO] [stdout] --> src/core.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | impl Workspace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 107 | pub fn new(path: String, path_to_backup: String, extraction_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn archive(&self) -> ZipResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn unarchive(&self) -> ZipResult<()> { [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/core.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let file_length = f.metadata().unwrap().len() as usize; [INFO] [stdout] 20 | let mut reader = BufReader::with_capacity(file_length, f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | reader.fill_buf().unwrap().into() [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/core.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 119 | let archive_file = File::create(&self.path_to_backup).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut archive_builder = ZipWriter::new(archive_file); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | match archive_builder.finish() { [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 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used [INFO] [stdout] --> src/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/core.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let file_length = f.metadata().unwrap().len() as usize; [INFO] [stdout] 20 | let mut reader = BufReader::with_capacity(file_length, f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | reader.fill_buf().unwrap().into() [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/core.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 119 | let archive_file = File::create(&self.path_to_backup).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut archive_builder = ZipWriter::new(archive_file); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | match archive_builder.finish() { [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 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backuptool` (bin "backuptool") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `backuptool` (bin "backuptool" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a726c9ea37e72308f832bada4dd307a98a1d12bc985644fe323a5c35110f4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a726c9ea37e72308f832bada4dd307a98a1d12bc985644fe323a5c35110f4a6", kill_on_drop: false }` [INFO] [stdout] 2a726c9ea37e72308f832bada4dd307a98a1d12bc985644fe323a5c35110f4a6