[INFO] cloning repository https://github.com/adamMcneil/booths-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamMcneil/booths-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadamMcneil%2Fbooths-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadamMcneil%2Fbooths-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f738bdebe80298f0e658ff7910b8b4a74b95de35 [INFO] checking adamMcneil/booths-sim/f738bdebe80298f0e658ff7910b8b4a74b95de35 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadamMcneil%2Fbooths-sim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamMcneil/booths-sim 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] started tweaking git repo https://github.com/adamMcneil/booths-sim [INFO] finished tweaking git repo https://github.com/adamMcneil/booths-sim [INFO] tweaked toml for git repo https://github.com/adamMcneil/booths-sim written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adamMcneil/booths-sim 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e5ad7b37e7d4aab1e57a3311758d3f06565a8d2d5a32b15e313cef611f479977 [INFO] running `Command { std: "docker" "start" "-a" "e5ad7b37e7d4aab1e57a3311758d3f06565a8d2d5a32b15e313cef611f479977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5ad7b37e7d4aab1e57a3311758d3f06565a8d2d5a32b15e313cef611f479977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ad7b37e7d4aab1e57a3311758d3f06565a8d2d5a32b15e313cef611f479977", kill_on_drop: false }` [INFO] [stdout] e5ad7b37e7d4aab1e57a3311758d3f06565a8d2d5a32b15e313cef611f479977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2b6ffeaa0a0fc0bd72ee9dc0aa382c59f75518e9068902b0de768c70489e1ebe [INFO] running `Command { std: "docker" "start" "-a" "2b6ffeaa0a0fc0bd72ee9dc0aa382c59f75518e9068902b0de768c70489e1ebe", 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] Checking booths-sim v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: methods `print` and `get_answer` are never used [INFO] [stdout] --> src/booth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Booth { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_answer(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_string_to_decimal` is never used [INFO] [stdout] --> src/booth.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn binary_string_to_decimal(binary: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complement` is never used [INFO] [stdout] --> src/booth.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) fn complement(a: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | export_normal_data(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = export_normal_data(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | export_extended_data(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = export_extended_data(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | println!("i: {}", decimal_to_binary_string(i, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | println!("j: {}", decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | let mut booth = Booth::new(decimal_to_binary_string(i, length as usize), decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:153:86 [INFO] [stdout] | [INFO] [stdout] 153 | let mut booth = Booth::new(decimal_to_binary_string(i, length as usize), decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | println!("i: {}", decimal_to_binary_string(i, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | println!("j: {}", decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `booths-sim` (bin "booths-sim" test) due to 9 previous errors [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let mut booth = Booth::new(decimal_to_binary_string(i, length as usize), decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decimal_to_binary_string` in this scope [INFO] [stdout] --> src/main.rs:172:86 [INFO] [stdout] | [INFO] [stdout] 172 | let mut booth = Booth::new(decimal_to_binary_string(i, length as usize), decimal_to_binary_string(j, length as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::booth::decimal_to_binary_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this 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" "2b6ffeaa0a0fc0bd72ee9dc0aa382c59f75518e9068902b0de768c70489e1ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6ffeaa0a0fc0bd72ee9dc0aa382c59f75518e9068902b0de768c70489e1ebe", kill_on_drop: false }` [INFO] [stdout] 2b6ffeaa0a0fc0bd72ee9dc0aa382c59f75518e9068902b0de768c70489e1ebe