[INFO] cloning repository https://github.com/chanmix51/diplojuge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chanmix51/diplojuge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanmix51%2Fdiplojuge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanmix51%2Fdiplojuge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a78103d9dedf5de6aaa9131d3c571795e7c2aea8 [INFO] checking chanmix51/diplojuge against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanmix51%2Fdiplojuge" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chanmix51/diplojuge [INFO] finished tweaking git repo https://github.com/chanmix51/diplojuge [INFO] tweaked toml for git repo https://github.com/chanmix51/diplojuge written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chanmix51/diplojuge on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chanmix51/diplojuge 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ed1acb809ac23da2c7e95ab83199fe100b6eafe95fa03c8eedb76b9406d70fd [INFO] running `Command { std: "docker" "start" "-a" "2ed1acb809ac23da2c7e95ab83199fe100b6eafe95fa03c8eedb76b9406d70fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed1acb809ac23da2c7e95ab83199fe100b6eafe95fa03c8eedb76b9406d70fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed1acb809ac23da2c7e95ab83199fe100b6eafe95fa03c8eedb76b9406d70fd", kill_on_drop: false }` [INFO] [stdout] 2ed1acb809ac23da2c7e95ab83199fe100b6eafe95fa03c8eedb76b9406d70fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61dc5ba4cb394d974eb67da033230669b39ece1902a79b7a76160fb27578147b [INFO] running `Command { std: "docker" "start" "-a" "61dc5ba4cb394d974eb67da033230669b39ece1902a79b7a76160fb27578147b", kill_on_drop: false }` [INFO] [stderr] Checking diplojuge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/adjucator.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `centers` is never read [INFO] [stdout] --> src/adjucator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Adjucator<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | centers: HashMap<&'a str, Player>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `centers` is never read [INFO] [stdout] --> src/adjucator.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Adjucator<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | centers: HashMap<&'a str, Player>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `adjucator` [INFO] [stdout] --> tests/integration.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 22 | let adjucator = { [INFO] [stdout] | --------- move occurs because `adjucator` has type `diplojuge::adjucator::Adjucator<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(adjucator.has_pawn("par")); [INFO] [stdout] | --------------- `adjucator` moved due to this method call [INFO] [stdout] 29 | assert!(!adjucator.has_pawn("bre")) [INFO] [stdout] | ^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `diplojuge::adjucator::Adjucator::<'a>::has_pawn` takes ownership of the receiver `self`, which moves `adjucator` [INFO] [stdout] --> /opt/rustwide/workdir/src/adjucator.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn has_pawn(self, location: &'a str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diplojuge` (test "integration") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "61dc5ba4cb394d974eb67da033230669b39ece1902a79b7a76160fb27578147b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61dc5ba4cb394d974eb67da033230669b39ece1902a79b7a76160fb27578147b", kill_on_drop: false }` [INFO] [stdout] 61dc5ba4cb394d974eb67da033230669b39ece1902a79b7a76160fb27578147b