[INFO] cloning repository https://github.com/lei0lei/too_many_linked_list_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lei0lei/too_many_linked_list_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flei0lei%2Ftoo_many_linked_list_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flei0lei%2Ftoo_many_linked_list_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83bece175ff2cdf981eae8c38c9e1a0bd0506878 [INFO] checking lei0lei/too_many_linked_list_rs against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flei0lei%2Ftoo_many_linked_list_rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lei0lei/too_many_linked_list_rs [INFO] finished tweaking git repo https://github.com/lei0lei/too_many_linked_list_rs [INFO] tweaked toml for git repo https://github.com/lei0lei/too_many_linked_list_rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lei0lei/too_many_linked_list_rs on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lei0lei/too_many_linked_list_rs 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" "+38c2997544af84fe301d600d6896397738163002" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df1d9c537964cd6a65a9ceb4d299e54084aae2e2cdf3fc4346a4990de550156e [INFO] running `Command { std: "docker" "start" "-a" "df1d9c537964cd6a65a9ceb4d299e54084aae2e2cdf3fc4346a4990de550156e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1d9c537964cd6a65a9ceb4d299e54084aae2e2cdf3fc4346a4990de550156e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1d9c537964cd6a65a9ceb4d299e54084aae2e2cdf3fc4346a4990de550156e", kill_on_drop: false }` [INFO] [stdout] df1d9c537964cd6a65a9ceb4d299e54084aae2e2cdf3fc4346a4990de550156e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f414115647e4bb38127265dd2d19a553b7d8032d128b2b5cf4d39ff19263037 [INFO] running `Command { std: "docker" "start" "-a" "6f414115647e4bb38127265dd2d19a553b7d8032d128b2b5cf4d39ff19263037", kill_on_drop: false }` [INFO] [stderr] Checking too_many_linked_list_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"too_many_linked_list_rs","loc":"src/simple_stack_2.rs:275:21","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"too_many_linked_list_rs","loc":"src/simple_stack_2.rs:316:17","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stdout] error[E0382]: use of moved value: `new_tail` [INFO] [stdout] --> src/simple_deque_3.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 25 | let new_tail = Box::new(Node{ [INFO] [stdout] | -------- move occurs because `new_tail` has type `Box>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 30 | let old_tail = mem::replace(&mut self.tail, Some(new_tail)); [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 34 | old_tail.next = Some(new_tail) [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `simple_deque_3::Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/simple_deque_3.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 30 | let old_tail = mem::replace(&mut self.tail, Some(new_tail)); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `too_many_linked_list_rs` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: use of moved value: `new_tail` [INFO] [stdout] --> src/simple_deque_3.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 25 | let new_tail = Box::new(Node{ [INFO] [stdout] | -------- move occurs because `new_tail` has type `Box>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 30 | let old_tail = mem::replace(&mut self.tail, Some(new_tail)); [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 34 | old_tail.next = Some(new_tail) [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `simple_deque_3::Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/simple_deque_3.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 30 | let old_tail = mem::replace(&mut self.tail, Some(new_tail)); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `too_many_linked_list_rs` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6f414115647e4bb38127265dd2d19a553b7d8032d128b2b5cf4d39ff19263037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f414115647e4bb38127265dd2d19a553b7d8032d128b2b5cf4d39ff19263037", kill_on_drop: false }` [INFO] [stdout] 6f414115647e4bb38127265dd2d19a553b7d8032d128b2b5cf4d39ff19263037