[INFO] cloning repository https://github.com/nledford/ScarlettServer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nledford/ScarlettServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbb7422cb2355104c9f3a4bf3a89d84c402cd43d
[INFO] testing nledford/ScarlettServer against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nledford/ScarlettServer on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-1/source/Cargo.toml
[INFO] crate git repo https://github.com/nledford/ScarlettServer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-cors v0.2.0
[INFO] [stderr]   Downloaded tokio-pg-mapper-derive v0.1.5
[INFO] [stderr]   Downloaded tokio-pg-mapper v0.1.7
[INFO] [stderr]   Downloaded rust_decimal v1.4.0
[INFO] [stderr]   Downloaded postgres v0.17.2
[INFO] [stderr]   Downloaded deadpool v0.5.1
[INFO] [stderr]   Downloaded deadpool-postgres v0.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2c14c342455ed8ff83d7cde77f7ef54a4f31ea6cba2df5b4e283921ecac9b071
[INFO] running `Command { std: "docker" "start" "-a" "2c14c342455ed8ff83d7cde77f7ef54a4f31ea6cba2df5b4e283921ecac9b071", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c14c342455ed8ff83d7cde77f7ef54a4f31ea6cba2df5b4e283921ecac9b071", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c14c342455ed8ff83d7cde77f7ef54a4f31ea6cba2df5b4e283921ecac9b071", kill_on_drop: false }`
[INFO] [stdout] 2c14c342455ed8ff83d7cde77f7ef54a4f31ea6cba2df5b4e283921ecac9b071
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f1ac68529f3217ef853478ff42ae5c9b77069546cda34412fd6d892a0cd9a9c7
[INFO] running `Command { std: "docker" "start" "-a" "f1ac68529f3217ef853478ff42ae5c9b77069546cda34412fd6d892a0cd9a9c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling base64 v0.12.0
[INFO] [stderr]    Compiling siphasher v0.3.2
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling static_assertions v0.3.4
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling anyhow v1.0.28
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling backtrace-sys v0.1.35
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling nom v5.1.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling lexical-core v0.6.2
[INFO] [stderr]    Compiling regex v1.3.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.0.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling png v0.16.2
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio v0.2.16
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling postgres-protocol v0.5.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling image v0.23.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-openssl v0.4.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling serde_derive v1.0.106
[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]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling v_escape v0.7.4
[INFO] [stderr]    Compiling thiserror v1.0.14
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling actix-threadpool v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling h2 v0.2.4
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling actix-rt v1.0.0
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-server v1.0.2
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling num-format v0.4.0
[INFO] [stderr]    Compiling postgres-types v0.1.1
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling tokio-postgres v0.5.3
[INFO] [stderr]    Compiling postgres v0.17.2
[INFO] [stderr]    Compiling tokio-pg-mapper v0.1.7
[INFO] [stderr]    Compiling rust_decimal v1.4.0
[INFO] [stderr]    Compiling tokio-pg-mapper-derive v0.1.5
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling config v0.10.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling deadpool v0.5.1
[INFO] [stderr]    Compiling deadpool-postgres v0.5.5
[INFO] [stderr]    Compiling actix-cors v0.2.0
[INFO] [stderr]    Compiling actix-files v0.2.1
[INFO] [stderr]    Compiling scarlett-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/files/photos.rs:121:32
[INFO] [stdout]     |
[INFO] [stdout] 121 |         .map(|f| NewPhoto::new(f.file_path.to_string(), f.date_created))
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected `&str`, found struct `std::string::String`
[INFO] [stdout]     |                                help: consider borrowing here: `&f.file_path.to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/files/photos.rs:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Photo::update_photo(photo_to_update, pool).await?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 expected `&Photo`, found struct `Photo`
[INFO] [stdout]     |                                 help: consider borrowing here: `&photo_to_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handlers/photos.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let photo = Photo::update_photo(photo, &pool).await?;
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     expected `&Photo`, found struct `Photo`
[INFO] [stdout]    |                                     help: consider borrowing here: `&photo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scarlett-server`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "f1ac68529f3217ef853478ff42ae5c9b77069546cda34412fd6d892a0cd9a9c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1ac68529f3217ef853478ff42ae5c9b77069546cda34412fd6d892a0cd9a9c7", kill_on_drop: false }`
[INFO] [stdout] f1ac68529f3217ef853478ff42ae5c9b77069546cda34412fd6d892a0cd9a9c7
