[INFO] cloning repository https://github.com/Mistra/A.S.D. [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mistra/A.S.D." "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistra%2FA.S.D.", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistra%2FA.S.D.'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0afb343b19427165a490e0a5e3accee1c427a12f [INFO] checking Mistra/A.S.D. against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistra%2FA.S.D." "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mistra/A.S.D. on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mistra/A.S.D. [INFO] finished tweaking git repo https://github.com/Mistra/A.S.D. [INFO] tweaked toml for git repo https://github.com/Mistra/A.S.D. written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mistra/A.S.D. 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffcfb4129f5c48f747b59b02bb5d68f85892fcfd547b2f7c4eeea6d9061f0612 [INFO] running `Command { std: "docker" "start" "-a" "ffcfb4129f5c48f747b59b02bb5d68f85892fcfd547b2f7c4eeea6d9061f0612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffcfb4129f5c48f747b59b02bb5d68f85892fcfd547b2f7c4eeea6d9061f0612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffcfb4129f5c48f747b59b02bb5d68f85892fcfd547b2f7c4eeea6d9061f0612", kill_on_drop: false }` [INFO] [stdout] ffcfb4129f5c48f747b59b02bb5d68f85892fcfd547b2f7c4eeea6d9061f0612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 926e5560660925885299bd84d8a2b1db8290470e32313d70be6f85a8fc3e17f8 [INFO] running `Command { std: "docker" "start" "-a" "926e5560660925885299bd84d8a2b1db8290470e32313d70be6f85a8fc3e17f8", kill_on_drop: false }` [INFO] [stderr] Checking asd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/quicksort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/selectionsort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/heapsort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/algo/misc/fibonacci.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 1 ... 2 => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/quicksort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/selectionsort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/algo/sort/heapsort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/algo/misc/fibonacci.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 1 ... 2 => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of value because it is borrowed [INFO] [stdout] --> src/memo/tree/tree.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn successor(mut next: &mut Link) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 8 | &mut Some(ref mut node) if node.left.is_some() => next = &mut node.left, [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of value occurs here [INFO] [stdout] | assignment requires that borrow lasts for `'1` [INFO] [stdout] 9 | other @ &mut Some(_) => return other, [INFO] [stdout] | ^^^^^ move out of value occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of value because it is borrowed [INFO] [stdout] --> src/memo/tree/tree.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn _msearch(target: &mut Link, elem: i32) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 85 | &mut Some(ref mut node) if elem != node.value => { [INFO] [stdout] | ------------ borrow of value occurs here [INFO] [stdout] ... [INFO] [stdout] 88 | other => return other [INFO] [stdout] | ^^^^^ ----- returning this value requires that borrow lasts for `'1` [INFO] [stdout] | | [INFO] [stdout] | move out of value occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of value because it is borrowed [INFO] [stdout] --> src/memo/tree/tree.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn successor(mut next: &mut Link) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 8 | &mut Some(ref mut node) if node.left.is_some() => next = &mut node.left, [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of value occurs here [INFO] [stdout] | assignment requires that borrow lasts for `'1` [INFO] [stdout] 9 | other @ &mut Some(_) => return other, [INFO] [stdout] | ^^^^^ move out of value occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of value because it is borrowed [INFO] [stdout] --> src/memo/tree/tree.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn _msearch(target: &mut Link, elem: i32) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 85 | &mut Some(ref mut node) if elem != node.value => { [INFO] [stdout] | ------------ borrow of value occurs here [INFO] [stdout] ... [INFO] [stdout] 88 | other => return other [INFO] [stdout] | ^^^^^ ----- returning this value requires that borrow lasts for `'1` [INFO] [stdout] | | [INFO] [stdout] | move out of value occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asd` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `asd` (lib) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "926e5560660925885299bd84d8a2b1db8290470e32313d70be6f85a8fc3e17f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926e5560660925885299bd84d8a2b1db8290470e32313d70be6f85a8fc3e17f8", kill_on_drop: false }` [INFO] [stdout] 926e5560660925885299bd84d8a2b1db8290470e32313d70be6f85a8fc3e17f8