[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 master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nledford/ScarlettServer on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] de9dcab9ad11cd01544881bdb76225bcbb4af83254770e49fe95bb41af9f8a91 [INFO] running `"docker" "start" "-a" "de9dcab9ad11cd01544881bdb76225bcbb4af83254770e49fe95bb41af9f8a91"` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [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 regex-syntax v0.6.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling png v0.16.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [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 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-sys v0.1.35 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [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 mio v0.6.21 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.5 [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 v_escape v0.7.4 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.14 [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 serde v1.0.106 [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 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 config v0.10.1 [INFO] [stderr] Compiling deadpool v0.5.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling postgres v0.17.2 [INFO] [stderr] Compiling tokio-pg-mapper v0.1.7 [INFO] [stderr] Compiling deadpool-postgres v0.5.5 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.4.0 [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" "de9dcab9ad11cd01544881bdb76225bcbb4af83254770e49fe95bb41af9f8a91"` [INFO] running `"docker" "rm" "-f" "de9dcab9ad11cd01544881bdb76225bcbb4af83254770e49fe95bb41af9f8a91"` [INFO] [stdout] de9dcab9ad11cd01544881bdb76225bcbb4af83254770e49fe95bb41af9f8a91