[INFO] updating cached repository https://github.com/swilk19/pna-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b90b40447e13edb485e30fb689a83ab952fb3ed0 [INFO] testing swilk19/pna-rust against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswilk19%2Fpna-rust" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swilk19/pna-rust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/swilk19/pna-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] c07d3a12c6a4050cec955bf22e8e88410b5f62c7064ac6ee95e677289be6972a [INFO] running `"docker" "start" "-a" "c07d3a12c6a4050cec955bf22e8e88410b5f62c7064ac6ee95e677289be6972a"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `self::schema::*` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use self::schema::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `map_values` is imported redundantly [INFO] [stderr] --> src/lib.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 9 | use self::schema::*; [INFO] [stderr] | --------------- the item `map_values` is already imported here [INFO] [stderr] ... [INFO] [stderr] 34 | use schema::map_values; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_clone` [INFO] [stderr] --> src/lib.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let key_clone = key.clone(); [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_key_clone` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_deleted` [INFO] [stderr] --> src/lib.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let num_deleted = diesel::delete(map_values.filter(key_value.eq(key))) [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_num_deleted` [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `key` [INFO] [stderr] --> src/lib.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn set(&mut self, key: String, value: String) { [INFO] [stderr] | --- move occurs because `key` has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 41 | if (self.get(key)).is_some() { [INFO] [stderr] | --- value moved here [INFO] [stderr] 42 | self.remove(key); [INFO] [stderr] | ^^^ value used here after move [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [INFO] [stderr] error: Could not compile `kvs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c07d3a12c6a4050cec955bf22e8e88410b5f62c7064ac6ee95e677289be6972a"` [INFO] running `"docker" "rm" "-f" "c07d3a12c6a4050cec955bf22e8e88410b5f62c7064ac6ee95e677289be6972a"` [INFO] [stdout] c07d3a12c6a4050cec955bf22e8e88410b5f62c7064ac6ee95e677289be6972a