[INFO] cloning repository https://github.com/JosephPrichard/Zipper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephPrichard/Zipper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephPrichard%2FZipper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephPrichard%2FZipper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 965b19f42878311e33e252e947d3a069b62f29ac [INFO] checking JosephPrichard/Zipper/965b19f42878311e33e252e947d3a069b62f29ac against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephPrichard%2FZipper" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephPrichard/Zipper on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/JosephPrichard/Zipper [INFO] finished tweaking git repo https://github.com/JosephPrichard/Zipper [INFO] tweaked toml for git repo https://github.com/JosephPrichard/Zipper written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JosephPrichard/Zipper 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90df242d59d90a4dae711e8c120347e7e30956ce7cdf88f148b220ad1dabac5e [INFO] running `Command { std: "docker" "start" "-a" "90df242d59d90a4dae711e8c120347e7e30956ce7cdf88f148b220ad1dabac5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90df242d59d90a4dae711e8c120347e7e30956ce7cdf88f148b220ad1dabac5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90df242d59d90a4dae711e8c120347e7e30956ce7cdf88f148b220ad1dabac5e", kill_on_drop: false }` [INFO] [stdout] 90df242d59d90a4dae711e8c120347e7e30956ce7cdf88f148b220ad1dabac5e [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a831590f4c7b7b1f483a92e202b42c858f1d4392ce95f32ec0ee7c2e4e5e49d5 [INFO] running `Command { std: "docker" "start" "-a" "a831590f4c7b7b1f483a92e202b42c858f1d4392ce95f32ec0ee7c2e4e5e49d5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking zipper v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/write.rs (1 fix) [INFO] [stderr] Fixed src/compress.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] warning: field `symbol_count` is never read [INFO] [stdout] --> src/compress.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct CodeTree { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 165 | pub root: Box, [INFO] [stdout] 166 | pub symbol_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_binary_file` is never used [INFO] [stdout] --> src/compress.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn debug_binary_file(filepath: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_tree_file` is never used [INFO] [stdout] --> src/compress.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn debug_tree_file(filepath: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_tree` is never used [INFO] [stdout] --> src/compress.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn debug_tree(node: &Box, symbol_code: SymbolCode) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/main.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let mut dir_data = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 92 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | for entry in fs::read_dir(&input_path).unwrap() { [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 92 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | let file_data = fs::read_to_string(&path) [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 92 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `archive_dir` in this scope [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | archive_dir(&[input_path], false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::archive_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unarchive_zip` in this scope [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | unarchive_zip("./test/files.zipr", false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::unarchive_zip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | for entry in fs::read_dir(output_path).unwrap() { [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 92 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let file_data = fs::read_to_string(&path) [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 92 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | fs::remove_dir_all("./test/files/files").unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 92 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zipper` (bin "zipper" test) due to 9 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a831590f4c7b7b1f483a92e202b42c858f1d4392ce95f32ec0ee7c2e4e5e49d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a831590f4c7b7b1f483a92e202b42c858f1d4392ce95f32ec0ee7c2e4e5e49d5", kill_on_drop: false }` [INFO] [stdout] a831590f4c7b7b1f483a92e202b42c858f1d4392ce95f32ec0ee7c2e4e5e49d5