[INFO] cloning repository https://github.com/klayders/rust-news-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klayders/rust-news-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklayders%2Frust-news-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklayders%2Frust-news-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16bf5af3e7a0903d6997ebe4d0ecc61eff150d81 [INFO] testing klayders/rust-news-service 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%2Fklayders%2Frust-news-service" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/klayders/rust-news-service 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/klayders/rust-news-service [INFO] finished tweaking git repo https://github.com/klayders/rust-news-service [INFO] tweaked toml for git repo https://github.com/klayders/rust-news-service written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/klayders/rust-news-service 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] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8a8857fed48db4e1c6e4558f19f7820b47c950a09a90c3bcc55b15ba81c717 [INFO] running `Command { std: "docker" "start" "-a" "5c8a8857fed48db4e1c6e4558f19f7820b47c950a09a90c3bcc55b15ba81c717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8a8857fed48db4e1c6e4558f19f7820b47c950a09a90c3bcc55b15ba81c717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8a8857fed48db4e1c6e4558f19f7820b47c950a09a90c3bcc55b15ba81c717", kill_on_drop: false }` [INFO] [stdout] 5c8a8857fed48db4e1c6e4558f19f7820b47c950a09a90c3bcc55b15ba81c717 [INFO] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c2bd5873a47810949d69e2df7ba3cde6efc9774e1d3d6911f2fb8e935cf66e9 [INFO] running `Command { std: "docker" "start" "-a" "4c2bd5873a47810949d69e2df7ba3cde6efc9774e1d3d6911f2fb8e935cf66e9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling combine v4.5.2 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling redis v0.20.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix v0.11.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling rust-my-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/org/news/config/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | actix_rt::spawn(call); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MultiplexedConnection` in this scope [INFO] [stdout] --> src/org/news/config/config.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | conn: MultiplexedConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RedisActor` [INFO] [stdout] --> src/org/news/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let actor = RedisActor::new("redis://127.0.0.1:6379").await; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::config::config::RedisActor` exists but is inaccessible [INFO] [stdout] --> src/org/news/config/config.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct RedisActor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `con` in this scope [INFO] [stdout] --> src/org/news/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | redis: con.unwrap().clone() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `get`, `web` [INFO] [stdout] --> src/org/news/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{App, get, HttpResponse, HttpServer, Responder, web}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/org/news/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info, LevelFilter, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer` [INFO] [stdout] --> src/org/news/api/news.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{App, get, HttpResponse, HttpServer, Responder, web}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/org/news/api/news.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/org/news/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/org/news/api/news.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_multiplexed_async_connection` found for struct `news::redis::Client` in the current scope [INFO] [stdout] --> src/org/news/config/config.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let (conn, call) = client.get_multiplexed_async_connection().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `news::redis::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-my-web` due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c2bd5873a47810949d69e2df7ba3cde6efc9774e1d3d6911f2fb8e935cf66e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2bd5873a47810949d69e2df7ba3cde6efc9774e1d3d6911f2fb8e935cf66e9", kill_on_drop: false }` [INFO] [stdout] 4c2bd5873a47810949d69e2df7ba3cde6efc9774e1d3d6911f2fb8e935cf66e9