[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] d5831d01deef45a2a1bedaafa14566683609cb27 [INFO] testing marcustut/algorithm against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcustut%2Falgorithm" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcustut/algorithm on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-14/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea2a099f169bcdcab0db085bdcc367b15303f303bf9e2de6fc2d9fcd362a4d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ea2a099f169bcdcab0db085bdcc367b15303f303bf9e2de6fc2d9fcd362a4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea2a099f169bcdcab0db085bdcc367b15303f303bf9e2de6fc2d9fcd362a4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea2a099f169bcdcab0db085bdcc367b15303f303bf9e2de6fc2d9fcd362a4d0", kill_on_drop: false }` [INFO] [stdout] 4ea2a099f169bcdcab0db085bdcc367b15303f303bf9e2de6fc2d9fcd362a4d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200de3094019323ac60512c72c069ab41bf8fb3ae58e52c8bcafa5516aedf0c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "200de3094019323ac60512c72c069ab41bf8fb3ae58e52c8bcafa5516aedf0c4", 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" "200de3094019323ac60512c72c069ab41bf8fb3ae58e52c8bcafa5516aedf0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200de3094019323ac60512c72c069ab41bf8fb3ae58e52c8bcafa5516aedf0c4", kill_on_drop: false }` [INFO] [stdout] 200de3094019323ac60512c72c069ab41bf8fb3ae58e52c8bcafa5516aedf0c4