[INFO] cloning repository https://github.com/swilk19/pna-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swilk19/pna-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswilk19%2Fpna-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswilk19%2Fpna-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b90b40447e13edb485e30fb689a83ab952fb3ed0 [INFO] checking swilk19/pna-rust against master#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswilk19%2Fpna-rust" "/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/swilk19/pna-rust on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swilk19/pna-rust [INFO] finished tweaking git repo https://github.com/swilk19/pna-rust [INFO] tweaked toml for git repo https://github.com/swilk19/pna-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swilk19/pna-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" "+30840c53f414b753cb08f14620906572f88dda4b" "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 swilk19/pna-rust against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswilk19%2Fpna-rust" "/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/swilk19/pna-rust on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swilk19/pna-rust [INFO] finished tweaking git repo https://github.com/swilk19/pna-rust [INFO] tweaked toml for git repo https://github.com/swilk19/pna-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/swilk19/pna-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" "+18fb860b8a8e7ca508746882328061d0fe352543" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsqlite3-sys v0.12.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4d27b351f97c2cd2cf92a855719b926c516454c0add210f4fb94e42ad8decf [INFO] running `Command { std: "docker" "start" "-a" "fd4d27b351f97c2cd2cf92a855719b926c516454c0add210f4fb94e42ad8decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4d27b351f97c2cd2cf92a855719b926c516454c0add210f4fb94e42ad8decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4d27b351f97c2cd2cf92a855719b926c516454c0add210f4fb94e42ad8decf", kill_on_drop: false }` [INFO] [stdout] fd4d27b351f97c2cd2cf92a855719b926c516454c0add210f4fb94e42ad8decf [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c7b793c9be472e9339522e992a2f360145f83a21ac74075feeaa8458867cea [INFO] running `Command { std: "docker" "start" "-a" "74c7b793c9be472e9339522e992a2f360145f83a21ac74075feeaa8458867cea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.2.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking predicates v1.0.1 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking diesel v1.4.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::schema::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use self::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `map_values` is imported redundantly [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 9 | use self::schema::*; [INFO] [stdout] | --------------- the item `map_values` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use schema::map_values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::schema::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use self::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `map_values` is imported redundantly [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 9 | use self::schema::*; [INFO] [stdout] | --------------- the item `map_values` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use schema::map_values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `key` [INFO] [stdout] --> src/lib.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set(&mut self, key: String, value: String) { [INFO] [stdout] | --- move occurs because `key` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 41 | if (self.get(key)).is_some() { [INFO] [stdout] | --- value moved here [INFO] [stdout] 42 | self.remove(key); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `get` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&mut self, key: String) -> Option { [INFO] [stdout] | --- in this method ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 41 | if (self.get(key.clone())).is_some() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `key` [INFO] [stdout] --> src/lib.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set(&mut self, key: String, value: String) { [INFO] [stdout] | --- move occurs because `key` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 41 | if (self.get(key)).is_some() { [INFO] [stdout] | --- value moved here [INFO] [stdout] 42 | self.remove(key); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `get` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&mut self, key: String) -> Option { [INFO] [stdout] | --- in this method ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 41 | if (self.get(key.clone())).is_some() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_clone` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let key_clone = key.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_deleted` [INFO] [stdout] --> src/lib.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let num_deleted = diesel::delete(map_values.filter(key_value.eq(key))) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_clone` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let key_clone = key.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_deleted` [INFO] [stdout] --> src/lib.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let num_deleted = diesel::delete(map_values.filter(key_value.eq(key))) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kvs` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74c7b793c9be472e9339522e992a2f360145f83a21ac74075feeaa8458867cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c7b793c9be472e9339522e992a2f360145f83a21ac74075feeaa8458867cea", kill_on_drop: false }` [INFO] [stdout] 74c7b793c9be472e9339522e992a2f360145f83a21ac74075feeaa8458867cea