[INFO] cloning repository https://github.com/HunDunDM/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HunDunDM/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHunDunDM%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHunDunDM%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 414d7a1b71e19a9ca48ae76b8abe01c28d15afdc [INFO] checking HunDunDM/leetcode-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHunDunDM%2Fleetcode-rust" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HunDunDM/leetcode-rust 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] removed /workspace/builds/worker-39/source/.cargo/config [INFO] started tweaking git repo https://github.com/HunDunDM/leetcode-rust [INFO] finished tweaking git repo https://github.com/HunDunDM/leetcode-rust [INFO] tweaked toml for git repo https://github.com/HunDunDM/leetcode-rust written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/HunDunDM/leetcode-rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 5ce02c67dc8b2ea69807ba924482303ea18bc301a3a01e37c2c2e8a0b0c3c24a [INFO] running `Command { std: "docker" "start" "-a" "5ce02c67dc8b2ea69807ba924482303ea18bc301a3a01e37c2c2e8a0b0c3c24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce02c67dc8b2ea69807ba924482303ea18bc301a3a01e37c2c2e8a0b0c3c24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce02c67dc8b2ea69807ba924482303ea18bc301a3a01e37c2c2e8a0b0c3c24a", kill_on_drop: false }` [INFO] [stdout] 5ce02c67dc8b2ea69807ba924482303ea18bc301a3a01e37c2c2e8a0b0c3c24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 6cafa422e799879c34cab38e47f787486c4d3c18c38c12ffcba15ac034e2aeb2 [INFO] running `Command { std: "docker" "start" "-a" "6cafa422e799879c34cab38e47f787486c4d3c18c38c12ffcba15ac034e2aeb2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking leetcode-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/p0002_add_two_numbers.rs (1 fix) [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(Solution::add_two_numbers(to_list(vec![2, 4, 3]), to_list(vec![5, 6, 4])), to_list(vec![7, 0, 8])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(Solution::add_two_numbers(to_list(vec![2, 4, 3]), to_list(vec![5, 6, 4])), to_list(vec![7, 0, 8])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:57:95 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(Solution::add_two_numbers(to_list(vec![2, 4, 3]), to_list(vec![5, 6, 4])), to_list(vec![7, 0, 8])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(Solution::add_two_numbers(to_list(vec![1]), to_list(vec![1])), to_list(vec![2])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(Solution::add_two_numbers(to_list(vec![1]), to_list(vec![1])), to_list(vec![2])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:58:83 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(Solution::add_two_numbers(to_list(vec![1]), to_list(vec![1])), to_list(vec![2])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![9])), to_list(vec![8, 1])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![9])), to_list(vec![8, 1])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![9])), to_list(vec![8, 1])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![1, 2])), to_list(vec![0, 3])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![1, 2])), to_list(vec![0, 3])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:60:86 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Solution::add_two_numbers(to_list(vec![9]), to_list(vec![1, 2])), to_list(vec![0, 3])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(Solution::add_two_numbers(to_list(vec![0]), to_list(vec![0])), to_list(vec![0])) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:61:64 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(Solution::add_two_numbers(to_list(vec![0]), to_list(vec![0])), to_list(vec![0])) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_list` in this scope [INFO] [stdout] --> src/p0002_add_two_numbers.rs:61:83 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(Solution::add_two_numbers(to_list(vec![0]), to_list(vec![0])), to_list(vec![0])) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 53 | use crate::utils::linked_list::to_list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/p0002_add_two_numbers.rs (1 fix) [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode-rust` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/p0001_two_sum.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub 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: `two_sum` [INFO] [stdout] --> src/p0001_two_sum.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/p0002_add_two_numbers.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_two_numbers` [INFO] [stdout] --> src/p0002_add_two_numbers.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inner_deref` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inner_deref)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "6cafa422e799879c34cab38e47f787486c4d3c18c38c12ffcba15ac034e2aeb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cafa422e799879c34cab38e47f787486c4d3c18c38c12ffcba15ac034e2aeb2", kill_on_drop: false }` [INFO] [stdout] 6cafa422e799879c34cab38e47f787486c4d3c18c38c12ffcba15ac034e2aeb2