[INFO] cloning repository https://github.com/hrtshu/git-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hrtshu/git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrtshu%2Fgit-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrtshu%2Fgit-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cac502cce8261a44b8478a61365bfa45a55ac214 [INFO] checking hrtshu/git-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrtshu%2Fgit-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hrtshu/git-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hrtshu/git-rust [INFO] finished tweaking git repo https://github.com/hrtshu/git-rust [INFO] tweaked toml for git repo https://github.com/hrtshu/git-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hrtshu/git-rust 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375b141c421a809f76fa9a87b1ebd1f176cdb96630357f40078ebe4487a6bd18 [INFO] running `Command { std: "docker" "start" "-a" "375b141c421a809f76fa9a87b1ebd1f176cdb96630357f40078ebe4487a6bd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375b141c421a809f76fa9a87b1ebd1f176cdb96630357f40078ebe4487a6bd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375b141c421a809f76fa9a87b1ebd1f176cdb96630357f40078ebe4487a6bd18", kill_on_drop: false }` [INFO] [stdout] 375b141c421a809f76fa9a87b1ebd1f176cdb96630357f40078ebe4487a6bd18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a76cb55435f601852143945ceddb0ef11e421a3c51f9641c7f5c741b24747e7 [INFO] running `Command { std: "docker" "start" "-a" "8a76cb55435f601852143945ceddb0ef11e421a3c51f9641c7f5c741b24747e7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking git-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/api/common/datetime.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let offset = self.to_chrono_offset(); [INFO] [stdout] | ^^^^ ------------------ `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Timezone`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Timezone::to_chrono_offset` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/api/common/datetime.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_chrono_offset(self) -> FixedOffset { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: if `Timezone` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/api/common/datetime.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Timezone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 29 | let offset = self.to_chrono_offset(); [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/api/common/datetime.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let offset = self.to_chrono_offset(); [INFO] [stdout] | ^^^^ ------------------ `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Timezone`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Timezone::to_chrono_offset` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/api/common/datetime.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_chrono_offset(self) -> FixedOffset { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: if `Timezone` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/api/common/datetime.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Timezone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 29 | let offset = self.to_chrono_offset(); [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-rust` (bin "git-rust") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `git-rust` (bin "git-rust" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8a76cb55435f601852143945ceddb0ef11e421a3c51f9641c7f5c741b24747e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a76cb55435f601852143945ceddb0ef11e421a3c51f9641c7f5c741b24747e7", kill_on_drop: false }` [INFO] [stdout] 8a76cb55435f601852143945ceddb0ef11e421a3c51f9641c7f5c741b24747e7