[INFO] cloning repository https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearnmerust%2FPractical-Introduction-to-Rust-workshop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearnmerust%2FPractical-Introduction-to-Rust-workshop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d2c6e9f3965799528febe033009d0ca161739d3 [INFO] testing learnmerust/Practical-Introduction-to-Rust-workshop against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearnmerust%2FPractical-Introduction-to-Rust-workshop" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/learnmerust/Practical-Introduction-to-Rust-workshop on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f055db31f633bc888d2697baefe403853a7d0318e5585d9150a9bbb20aa0a02f [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" "f055db31f633bc888d2697baefe403853a7d0318e5585d9150a9bbb20aa0a02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f055db31f633bc888d2697baefe403853a7d0318e5585d9150a9bbb20aa0a02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f055db31f633bc888d2697baefe403853a7d0318e5585d9150a9bbb20aa0a02f", kill_on_drop: false }` [INFO] [stdout] f055db31f633bc888d2697baefe403853a7d0318e5585d9150a9bbb20aa0a02f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce1a771210303b978a523f0e2810d6bd7f1e650e4646d34dcab92452f9b9c0b [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" "4ce1a771210303b978a523f0e2810d6bd7f1e650e4646d34dcab92452f9b9c0b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [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 parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling actix-codec v0.1.2 [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 chrono v0.4.10 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-testing v0.1.0 [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_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] [stdout] warning: unused import: `client` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, App, HttpServer, client}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn index(data: web::Data) -> String { [INFO] [stdout] | ----- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 10 | format!("{}", data.intro); [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | intro: INTRO, [INFO] [stdout] | ^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-workshop-demo` due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4ce1a771210303b978a523f0e2810d6bd7f1e650e4646d34dcab92452f9b9c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce1a771210303b978a523f0e2810d6bd7f1e650e4646d34dcab92452f9b9c0b", kill_on_drop: false }` [INFO] [stdout] 4ce1a771210303b978a523f0e2810d6bd7f1e650e4646d34dcab92452f9b9c0b