[INFO] cloning repository https://github.com/williamhammond/leet_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williamhammond/leet_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eadcbed07f40d11b6edac79b7247a1c148492ad5 [INFO] checking williamhammond/leet_code against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliamhammond%2Fleet_code" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/williamhammond/leet_code on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/williamhammond/leet_code [INFO] finished tweaking git repo https://github.com/williamhammond/leet_code [INFO] tweaked toml for git repo https://github.com/williamhammond/leet_code written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/williamhammond/leet_code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54acb53379be75fce5abfb3f3af11b385a76c546ce6d4ce80f2a9599fc8c368 [INFO] running `Command { std: "docker" "start" "-a" "b54acb53379be75fce5abfb3f3af11b385a76c546ce6d4ce80f2a9599fc8c368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54acb53379be75fce5abfb3f3af11b385a76c546ce6d4ce80f2a9599fc8c368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54acb53379be75fce5abfb3f3af11b385a76c546ce6d4ce80f2a9599fc8c368", kill_on_drop: false }` [INFO] [stdout] b54acb53379be75fce5abfb3f3af11b385a76c546ce6d4ce80f2a9599fc8c368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0a6c8e40634a48c97d4af41cb278630f4dcb9580a505975aa17071b22e9853b [INFO] running `Command { std: "docker" "start" "-a" "e0a6c8e40634a48c97d4af41cb278630f4dcb9580a505975aa17071b22e9853b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking leet_code v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating minimum_window_substring/src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating fancy_sequence/src/main.rs from 2018 edition to 2021 [INFO] [stderr] error: could not find .rs file in rustc args [INFO] [stderr] error: could not find .rs file in rustc args [INFO] [stderr] error: could not find .rs file in rustc args [INFO] [stderr] error: could not compile `leet_code` [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not find .rs file in rustc args [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> minimum_window_substring/src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Solution{} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_window` [INFO] [stdout] --> minimum_window_substring/src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn min_window(s: String, t: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> fancy_sequence/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const MOD: usize = 1000000007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> fancy_sequence/src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> fancy_sequence/src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn append(&self, val: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all` [INFO] [stdout] --> fancy_sequence/src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn add_all(&mut self, inc: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult_all` [INFO] [stdout] --> fancy_sequence/src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn mult_all(&mut self, m: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> fancy_sequence/src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_index(&self, idx: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow_mod` [INFO] [stdout] --> fancy_sequence/src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn pow_mod(&self, base: usize, exp: usize, modulo: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mod_mult` [INFO] [stdout] --> fancy_sequence/src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn mod_mult(&self, a: usize , b: usize, m: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> fancy_sequence/src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(exp >= 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed fancy_sequence/src/tests.rs (1 fix) [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> fancy_sequence/src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(exp >= 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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" "e0a6c8e40634a48c97d4af41cb278630f4dcb9580a505975aa17071b22e9853b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a6c8e40634a48c97d4af41cb278630f4dcb9580a505975aa17071b22e9853b", kill_on_drop: false }` [INFO] [stdout] e0a6c8e40634a48c97d4af41cb278630f4dcb9580a505975aa17071b22e9853b