[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] testing nledford/ScarlettServer against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nledford/ScarlettServer on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-6/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8524bc02d7a1d6456060ec41769c0fa8b86c9e979eebf9fa5cb22d116b66e38a [INFO] running `"docker" "start" "-a" "8524bc02d7a1d6456060ec41769c0fa8b86c9e979eebf9fa5cb22d116b66e38a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling siphasher v0.3.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling num-rational v0.2.4 [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 miniz_oxide v0.3.6 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling png v0.16.2 [INFO] [stderr] Compiling tiff v0.4.0 [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 parking_lot_core v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.3 [INFO] [stderr] Compiling synstructure v0.12.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 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 enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [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 thiserror v1.0.14 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling pin-project v0.4.8 [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 trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-rt v1.0.0 [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 trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling chrono v0.4.11 [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 nom v5.1.1 [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 config v0.10.1 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.1.5 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling deadpool v0.5.1 [INFO] [stderr] Compiling deadpool-postgres v0.5.5 [INFO] [stderr] Compiling actix-web v2.0.0 [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] [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: 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" "8524bc02d7a1d6456060ec41769c0fa8b86c9e979eebf9fa5cb22d116b66e38a"` [INFO] running `"docker" "rm" "-f" "8524bc02d7a1d6456060ec41769c0fa8b86c9e979eebf9fa5cb22d116b66e38a"` [INFO] [stdout] 8524bc02d7a1d6456060ec41769c0fa8b86c9e979eebf9fa5cb22d116b66e38a