[INFO] updating cached repository https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop [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] 7d2c6e9f3965799528febe033009d0ca161739d3 [INFO] testing learnmerust/Practical-Introduction-to-Rust-workshop against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearnmerust%2FPractical-Introduction-to-Rust-workshop" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop 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/learnmerust/Practical-Introduction-to-Rust-workshop [INFO] finished tweaking git repo https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop [INFO] tweaked toml for git repo https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop 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-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=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] dc605a11ebe947209a7ce3549ea1e3387e7a5b4d41ac29dd771dd2e669c8bf39 [INFO] running `"docker" "start" "-a" "dc605a11ebe947209a7ce3549ea1e3387e7a5b4d41ac29dd771dd2e669c8bf39"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling askama_shared v0.8.0 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling askama v0.8.0 [INFO] [stderr] Compiling rust-workshop-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `client` [INFO] [stderr] --> src/main.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{web, App, HttpServer, client}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:9:40 [INFO] [stderr] | [INFO] [stderr] 9 | fn index(data: web::Data) -> String { [INFO] [stderr] | ----- ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] 10 | format!("{}", data.intro); [INFO] [stderr] | - help: consider removing this semicolon [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | intro: INTRO, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found `&str` [INFO] [stderr] | help: try using a conversion method: `INTRO.to_string()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rust-workshop-demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dc605a11ebe947209a7ce3549ea1e3387e7a5b4d41ac29dd771dd2e669c8bf39"` [INFO] running `"docker" "rm" "-f" "dc605a11ebe947209a7ce3549ea1e3387e7a5b4d41ac29dd771dd2e669c8bf39"` [INFO] [stdout] dc605a11ebe947209a7ce3549ea1e3387e7a5b4d41ac29dd771dd2e669c8bf39