[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnledford%2FScarlettServer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nledford/ScarlettServer on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-3/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] c6d243fc3bde9dfe21795590b73c52a01a79f34aa88fd40eecc8e796e0a87ebd [INFO] running `Command { std: "docker" "start" "-a" "c6d243fc3bde9dfe21795590b73c52a01a79f34aa88fd40eecc8e796e0a87ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d243fc3bde9dfe21795590b73c52a01a79f34aa88fd40eecc8e796e0a87ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d243fc3bde9dfe21795590b73c52a01a79f34aa88fd40eecc8e796e0a87ebd", kill_on_drop: false }` [INFO] [stdout] c6d243fc3bde9dfe21795590b73c52a01a79f34aa88fd40eecc8e796e0a87ebd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdf7f1763bae40966d5078e2a0caea19936eed772d2d1eff84e8db64bd6e02d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fdf7f1763bae40966d5078e2a0caea19936eed772d2d1eff84e8db64bd6e02d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling serde v1.0.106 [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 ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling siphasher v0.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling block-padding v0.1.5 [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-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling gif v0.10.3 [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 phf v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [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 num_cpus v1.12.0 [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 atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling url v2.1.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 regex v1.3.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling backtrace v0.3.46 [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 png v0.16.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [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 v0.7.3 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [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 image v0.23.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 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 thiserror v1.0.14 [INFO] [stderr] Compiling v_escape v0.7.4 [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 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 config v0.10.1 [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] [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 `&schemas::photo::Photo`, found struct `schemas::photo::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 `&schemas::photo::Photo`, found struct `schemas::photo::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" "fdf7f1763bae40966d5078e2a0caea19936eed772d2d1eff84e8db64bd6e02d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf7f1763bae40966d5078e2a0caea19936eed772d2d1eff84e8db64bd6e02d7", kill_on_drop: false }` [INFO] [stdout] fdf7f1763bae40966d5078e2a0caea19936eed772d2d1eff84e8db64bd6e02d7