[INFO] cloning repository https://github.com/marcustut/algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcustut/algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcustut%2Falgorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcustut%2Falgorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35fb88b47885297b3a0e263dec48e60d77fef03a [INFO] testing marcustut/algorithm against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcustut%2Falgorithm" "/workspace/builds/worker-88/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-88/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcustut/algorithm on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marcustut/algorithm [INFO] finished tweaking git repo https://github.com/marcustut/algorithm [INFO] tweaked toml for git repo https://github.com/marcustut/algorithm written to /workspace/builds/worker-88/source/Cargo.toml [INFO] crate git repo https://github.com/marcustut/algorithm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d10070e09caf3c6021dce770bd4860d54957b505e3af08bb09654fde35ddcda9 [INFO] running `Command { std: "docker" "start" "-a" "d10070e09caf3c6021dce770bd4860d54957b505e3af08bb09654fde35ddcda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10070e09caf3c6021dce770bd4860d54957b505e3af08bb09654fde35ddcda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10070e09caf3c6021dce770bd4860d54957b505e3af08bb09654fde35ddcda9", kill_on_drop: false }` [INFO] [stdout] d10070e09caf3c6021dce770bd4860d54957b505e3af08bb09654fde35ddcda9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32dc06c44c3fb1a5b7f22ebd6d19b4695578d0fa2e7070e9f82fe4df44e680e [INFO] running `Command { std: "docker" "start" "-a" "e32dc06c44c3fb1a5b7f22ebd6d19b4695578d0fa2e7070e9f82fe4df44e680e", kill_on_drop: false }` [INFO] [stderr] Compiling algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `head` [INFO] [stdout] --> leetcode/studyplan_algorithm1/two_pointers/remove_nth_node_from_end_of_list/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn remove_nth_from_end(head: Option>, n: i32) -> Option> { [INFO] [stdout] | ---- move occurs because `head` has type `Option>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 29 | let mut new_cursor = head.unwrap(); [INFO] [stdout] | -------- `head` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 38 | head [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `head` [INFO] [stdout] help: consider calling `.as_ref()` to borrow the type's contents [INFO] [stdout] | [INFO] [stdout] 29 | let mut new_cursor = head.as_ref().unwrap(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `algorithm` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e32dc06c44c3fb1a5b7f22ebd6d19b4695578d0fa2e7070e9f82fe4df44e680e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32dc06c44c3fb1a5b7f22ebd6d19b4695578d0fa2e7070e9f82fe4df44e680e", kill_on_drop: false }` [INFO] [stdout] e32dc06c44c3fb1a5b7f22ebd6d19b4695578d0fa2e7070e9f82fe4df44e680e