[INFO] cloning repository https://github.com/ShaneEverittM/my-site-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShaneEverittM/my-site-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneEverittM%2Fmy-site-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneEverittM%2Fmy-site-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d939d0971b75c99d2b8da7c1c892c16939a55e5c [INFO] checking ShaneEverittM/my-site-backend against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShaneEverittM%2Fmy-site-backend" "/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/ShaneEverittM/my-site-backend on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShaneEverittM/my-site-backend [INFO] finished tweaking git repo https://github.com/ShaneEverittM/my-site-backend [INFO] tweaked toml for git repo https://github.com/ShaneEverittM/my-site-backend written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ShaneEverittM/my-site-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a9e7d92dd2d5bbb64aad4b3b3bb8c1e5611c91d446b366de90f7163db4dbc55 [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" "4a9e7d92dd2d5bbb64aad4b3b3bb8c1e5611c91d446b366de90f7163db4dbc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a9e7d92dd2d5bbb64aad4b3b3bb8c1e5611c91d446b366de90f7163db4dbc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9e7d92dd2d5bbb64aad4b3b3bb8c1e5611c91d446b366de90f7163db4dbc55", kill_on_drop: false }` [INFO] [stdout] 4a9e7d92dd2d5bbb64aad4b3b3bb8c1e5611c91d446b366de90f7163db4dbc55 [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=forbid" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88556345b681ee8bfa7b039c3e31735e3677a1590a9c7c166b5c5c1ced9976d [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" "c88556345b681ee8bfa7b039c3e31735e3677a1590a9c7c166b5c5c1ced9976d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking subprocess v0.2.6 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking my-site-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routes.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn bash(body: Json) -> RouteResponse { [INFO] [stdout] | ------------- expected `std::result::Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 72 | / subprocess::Exec::shell(&body.command) [INFO] [stdout] 73 | | .stdout(Redirection::Pipe) [INFO] [stdout] 74 | | .capture() [INFO] [stdout] 75 | | .map_err(|e| ErrString(e.to_string()))? [INFO] [stdout] 76 | | .stdout_str() [INFO] [stdout] | |_________________________^ expected enum `std::result::Result`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 72 | subprocess_control::_::_serde::export::Ok(subprocess::Exec::shell(&body.command) [INFO] [stdout] 73 | .stdout(Redirection::Pipe) [INFO] [stdout] 74 | .capture() [INFO] [stdout] 75 | .map_err(|e| ErrString(e.to_string()))? [INFO] [stdout] 76 | .stdout_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routes.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn bash(body: Json) -> RouteResponse { [INFO] [stdout] | ------------- expected `std::result::Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 72 | / subprocess::Exec::shell(&body.command) [INFO] [stdout] 73 | | .stdout(Redirection::Pipe) [INFO] [stdout] 74 | | .capture() [INFO] [stdout] 75 | | .map_err(|e| ErrString(e.to_string()))? [INFO] [stdout] 76 | | .stdout_str() [INFO] [stdout] | |_________________________^ expected enum `std::result::Result`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 72 | subprocess_control::_::_serde::export::Ok(subprocess::Exec::shell(&body.command) [INFO] [stdout] 73 | .stdout(Redirection::Pipe) [INFO] [stdout] 74 | .capture() [INFO] [stdout] 75 | .map_err(|e| ErrString(e.to_string()))? [INFO] [stdout] 76 | .stdout_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-site-backend` [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: build failed [INFO] running `Command { std: "docker" "inspect" "c88556345b681ee8bfa7b039c3e31735e3677a1590a9c7c166b5c5c1ced9976d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88556345b681ee8bfa7b039c3e31735e3677a1590a9c7c166b5c5c1ced9976d", kill_on_drop: false }` [INFO] [stdout] c88556345b681ee8bfa7b039c3e31735e3677a1590a9c7c166b5c5c1ced9976d