[INFO] cloning repository https://github.com/miguel-lattuada/rustcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miguel-lattuada/rustcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguel-lattuada%2Frustcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguel-lattuada%2Frustcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 185125fafa5ec84a96d7b392ae2106399506a798 [INFO] checking miguel-lattuada/rustcache against master#0ef0dd24510b52da980889546fcd15254dc56a23 for pr-126452 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguel-lattuada%2Frustcache" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguel-lattuada/rustcache on toolchain 0ef0dd24510b52da980889546fcd15254dc56a23 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] finished tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] tweaked toml for git repo https://github.com/miguel-lattuada/rustcache written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/miguel-lattuada/rustcache 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" "+0ef0dd24510b52da980889546fcd15254dc56a23" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking miguel-lattuada/rustcache against try#d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9 for pr-126452 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguel-lattuada%2Frustcache" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguel-lattuada/rustcache on toolchain d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] finished tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] tweaked toml for git repo https://github.com/miguel-lattuada/rustcache written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miguel-lattuada/rustcache 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" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking miguel-lattuada/rustcache against try#d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9 for pr-126452 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguel-lattuada%2Frustcache" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguel-lattuada/rustcache on toolchain d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] finished tweaking git repo https://github.com/miguel-lattuada/rustcache [INFO] tweaked toml for git repo https://github.com/miguel-lattuada/rustcache written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miguel-lattuada/rustcache 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" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb10c593e49e1d81136cbcb46cc068328fc3525cc937a1d59e38eb930ca34c7 [INFO] running `Command { std: "docker" "start" "-a" "edb10c593e49e1d81136cbcb46cc068328fc3525cc937a1d59e38eb930ca34c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb10c593e49e1d81136cbcb46cc068328fc3525cc937a1d59e38eb930ca34c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb10c593e49e1d81136cbcb46cc068328fc3525cc937a1d59e38eb930ca34c7", kill_on_drop: false }` [INFO] [stdout] edb10c593e49e1d81136cbcb46cc068328fc3525cc937a1d59e38eb930ca34c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d9cbfeb054d7bd02cf942e6d32c1c0a91f042ce9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a10e1182f4f12f6ee8495a4188eb265ad4ad5aa9401bd4af53a55d53263da0 [INFO] running `Command { std: "docker" "start" "-a" "b7a10e1182f4f12f6ee8495a4188eb265ad4ad5aa9401bd4af53a55d53263da0", kill_on_drop: false }` [INFO] [stderr] Checking rustcache-client v0.1.0 (/opt/rustwide/workdir/rustcache-client) [INFO] [stderr] Checking rustcache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `self.channel.1` which is behind a shared reference [INFO] [stdout] --> src/threadpool.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let work_load = Arc::new(Mutex::new(self.channel.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.channel.1` has type `std::sync::mpsc::Receiver FnOnce(&'a SharedMemory) + Send>>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.config.shared_memory` which is behind a shared reference [INFO] [stdout] --> src/threadpool.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | let memory = Arc::new(Mutex::new(self.config.shared_memory)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.config.shared_memory` has type `SharedMemory`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 46 | let memory = Arc::new(Mutex::new(self.config.shared_memory.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `lock` does not live long enough [INFO] [stdout] --> src/threadpool.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 67 | let memory = { [INFO] [stdout] | ------ borrow later stored here [INFO] [stdout] 68 | let lock = shared_memory_clone.lock().unwrap(); [INFO] [stdout] | ---- binding `lock` declared here [INFO] [stdout] 69 | &*lock [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 70 | }; [INFO] [stdout] | - `lock` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.threads` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/threadpool.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | self.threads.push(spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 51 | &mut self, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.channel.1` which is behind a shared reference [INFO] [stdout] --> src/threadpool.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let work_load = Arc::new(Mutex::new(self.channel.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.channel.1` has type `std::sync::mpsc::Receiver FnOnce(&'a SharedMemory) + Send>>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.config.shared_memory` which is behind a shared reference [INFO] [stdout] --> src/threadpool.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | let memory = Arc::new(Mutex::new(self.config.shared_memory)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.config.shared_memory` has type `SharedMemory`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 46 | let memory = Arc::new(Mutex::new(self.config.shared_memory.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pool.execute(move |memory: &SharedMemory| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `lock` does not live long enough [INFO] [stdout] --> src/threadpool.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 67 | let memory = { [INFO] [stdout] | ------ borrow later stored here [INFO] [stdout] 68 | let lock = shared_memory_clone.lock().unwrap(); [INFO] [stdout] | ---- binding `lock` declared here [INFO] [stdout] 69 | &*lock [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 70 | }; [INFO] [stdout] | - `lock` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.threads` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/threadpool.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | self.threads.push(spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 51 | &mut self, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pool.execute(move |memory: &SharedMemory| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcache` (bin "rustcache" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustcache` (bin "rustcache") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b7a10e1182f4f12f6ee8495a4188eb265ad4ad5aa9401bd4af53a55d53263da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a10e1182f4f12f6ee8495a4188eb265ad4ad5aa9401bd4af53a55d53263da0", kill_on_drop: false }` [INFO] [stdout] b7a10e1182f4f12f6ee8495a4188eb265ad4ad5aa9401bd4af53a55d53263da0