[INFO] updating cached repository https://github.com/nledford/ScarlettServer
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] bbb7422cb2355104c9f3a4bf3a89d84c402cd43d
[INFO] checking nledford/ScarlettServer against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nledford/ScarlettServer on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/nledford/ScarlettServer
[INFO] finished tweaking git repo https://github.com/nledford/ScarlettServer
[INFO] tweaked toml for git repo https://github.com/nledford/ScarlettServer written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/nledford/ScarlettServer already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ebd59710845ec62edcc6e352c647cd59b8a6d83a3912ac08d02303a4d94bd187
[INFO] running `"docker" "start" "-a" "ebd59710845ec62edcc6e352c647cd59b8a6d83a3912ac08d02303a4d94bd187"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.5
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling base64 v0.12.0
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]     Checking openssl-sys v0.9.54
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]     Checking sha3 v0.8.2
[INFO] [stderr]     Checking tokio v0.2.16
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]     Checking postgres-protocol v0.5.1
[INFO] [stderr]     Checking image v0.23.3
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking tokio-openssl v0.4.0
[INFO] [stderr]     Checking actix-codec v0.2.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.30
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling v_escape_derive v0.5.6
[INFO] [stderr]    Compiling actix-web-codegen v0.2.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.14
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]     Checking v_escape v0.7.4
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking thiserror v1.0.14
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking actix-threadpool v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking actix-service v1.0.5
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking serde v1.0.106
[INFO] [stderr]     Checking actix-rt v1.0.0
[INFO] [stderr]     Checking trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]     Checking actix-utils v1.0.6
[INFO] [stderr]     Checking actix-tls v1.0.0
[INFO] [stderr]     Checking actix-server v1.0.2
[INFO] [stderr]     Checking trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]     Checking actix-testing v1.0.0
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking actix-router v0.2.4
[INFO] [stderr]     Checking actix-connect v1.0.2
[INFO] [stderr]     Checking lexical-core v0.6.2
[INFO] [stderr]     Checking num-format v0.4.0
[INFO] [stderr]     Checking postgres-types v0.1.1
[INFO] [stderr]     Checking actix-http v1.0.1
[INFO] [stderr]     Checking tokio-postgres v0.5.3
[INFO] [stderr]     Checking nom v5.1.1
[INFO] [stderr]     Checking postgres v0.17.2
[INFO] [stderr]     Checking tokio-pg-mapper v0.1.7
[INFO] [stderr]     Checking config v0.10.1
[INFO] [stderr]     Checking awc v1.0.1
[INFO] [stderr]     Checking rust_decimal v1.4.0
[INFO] [stderr]     Checking deadpool v0.5.1
[INFO] [stderr]     Checking deadpool-postgres v0.5.5
[INFO] [stderr]     Checking actix-web v2.0.0
[INFO] [stderr]    Compiling tokio-pg-mapper-derive v0.1.5
[INFO] [stderr]     Checking actix-files v0.2.1
[INFO] [stderr]     Checking actix-cors v0.2.0
[INFO] [stderr]     Checking scarlett-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/files/photos.rs:121:32
[INFO] [stderr]     |
[INFO] [stderr] 121 |         .map(|f| NewPhoto::new(f.file_path.to_string(), f.date_created))
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                help: consider borrowing here: `&f.file_path.to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/files/photos.rs:156:33
[INFO] [stderr]     |
[INFO] [stderr] 156 |             Photo::update_photo(photo_to_update, pool).await?;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                 |
[INFO] [stderr]     |                                 expected `&schemas::photo::Photo`, found struct `schemas::photo::Photo`
[INFO] [stderr]     |                                 help: consider borrowing here: `&photo_to_update`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/files/photos.rs:121:32
[INFO] [stderr]     |
[INFO] [stderr] 121 |         .map(|f| NewPhoto::new(f.file_path.to_string(), f.date_created))
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                help: consider borrowing here: `&f.file_path.to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/files/photos.rs:156:33
[INFO] [stderr]     |
[INFO] [stderr] 156 |             Photo::update_photo(photo_to_update, pool).await?;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                 |
[INFO] [stderr]     |                                 expected `&schemas::photo::Photo`, found struct `schemas::photo::Photo`
[INFO] [stderr]     |                                 help: consider borrowing here: `&photo_to_update`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/handlers/photos.rs:67:37
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let photo = Photo::update_photo(photo, &pool).await?;
[INFO] [stderr]    |                                     ^^^^^
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     expected `&schemas::photo::Photo`, found struct `schemas::photo::Photo`
[INFO] [stderr]    |                                     help: consider borrowing here: `&photo`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/handlers/photos.rs:67:37
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let photo = Photo::update_photo(photo, &pool).await?;
[INFO] [stderr]    |                                     ^^^^^
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     expected `&schemas::photo::Photo`, found struct `schemas::photo::Photo`
[INFO] [stderr]    |                                     help: consider borrowing here: `&photo`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `scarlett-server`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `scarlett-server`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ebd59710845ec62edcc6e352c647cd59b8a6d83a3912ac08d02303a4d94bd187"`
[INFO] running `"docker" "rm" "-f" "ebd59710845ec62edcc6e352c647cd59b8a6d83a3912ac08d02303a4d94bd187"`
[INFO] [stdout] ebd59710845ec62edcc6e352c647cd59b8a6d83a3912ac08d02303a4d94bd187
