[INFO] cloning repository https://github.com/hunterbury/rust_rest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hunterbury/rust_rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhunterbury%2Frust_rest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhunterbury%2Frust_rest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69ac5ecb4a2af21befa241117c2414a2a9d87a01
[INFO] checking hunterbury/rust_rest against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhunterbury%2Frust_rest" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hunterbury/rust_rest
[INFO] finished tweaking git repo https://github.com/hunterbury/rust_rest
[INFO] tweaked toml for git repo https://github.com/hunterbury/rust_rest written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hunterbury/rust_rest on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hunterbury/rust_rest already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking hunterbury/rust_rest against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhunterbury%2Frust_rest" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hunterbury/rust_rest
[INFO] finished tweaking git repo https://github.com/hunterbury/rust_rest
[INFO] tweaked toml for git repo https://github.com/hunterbury/rust_rest written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hunterbury/rust_rest on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hunterbury/rust_rest already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-trait v0.1.78
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded actix-web v3.3.3
[INFO] [stderr]   Downloaded actix-http v2.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da6714c9fa0d06ca0912e9763751bb0a197fb2642bbf8364ada81e6289b07ce9
[INFO] running `Command { std: "docker" "start" "-a" "da6714c9fa0d06ca0912e9763751bb0a197fb2642bbf8364ada81e6289b07ce9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da6714c9fa0d06ca0912e9763751bb0a197fb2642bbf8364ada81e6289b07ce9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da6714c9fa0d06ca0912e9763751bb0a197fb2642bbf8364ada81e6289b07ce9", kill_on_drop: false }`
[INFO] [stdout] da6714c9fa0d06ca0912e9763751bb0a197fb2642bbf8364ada81e6289b07ce9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0080ef55f3bb279174efdc80cdbe6cbe9843edbe3a659cc8cabdc8d125975b24
[INFO] running `Command { std: "docker" "start" "-a" "0080ef55f3bb279174efdc80cdbe6cbe9843edbe3a659cc8cabdc8d125975b24", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]    Compiling async-trait v0.1.78
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking indexmap v1.9.3
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking bytestring v1.3.1
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking brotli v3.5.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking trust-dns-proto v0.19.7
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking actix-service v1.0.6
[INFO] [stderr]     Checking actix-codec v0.3.0
[INFO] [stderr]     Checking trust-dns-resolver v0.19.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.35
[INFO] [stderr]     Checking uuid v0.6.5
[INFO] [stderr]     Checking actix-router v0.2.7
[INFO] [stderr]     Checking actix-threadpool v0.3.3
[INFO] [stderr]     Checking actix-rt v1.1.1
[INFO] [stderr]     Checking actix-utils v2.0.0
[INFO] [stderr]     Checking actix-connect v2.0.0
[INFO] [stderr]     Checking actix-server v1.0.4
[INFO] [stderr]     Checking actix-tls v2.0.0
[INFO] [stderr]     Checking actix-testing v1.0.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking actix-http v2.2.2
[INFO] [stderr]     Checking awc v2.0.3
[INFO] [stderr]     Checking actix-web v3.3.3
[INFO] [stderr]     Checking r2d2-diesel v1.0.0
[INFO] [stderr]     Checking rust_rest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]   --> src/tweet.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         }
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]   --> src/tweet.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         }
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TweetDb` in this scope
[INFO] [stdout]   --> src/tweet.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         TweetDb {
[INFO] [stdout]    |         ^^^^^^^ help: a struct with a similar name exists: `TweetDB`
[INFO] [stdout] ...
[INFO] [stdout] 58 | pub struct TweetDB {
[INFO] [stdout]    | ------------------ similarly named struct `TweetDB` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/like.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[table_name = "likes"]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 42 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ---------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]    = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/tweet.rs:56:3
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[table_name = "tweets"]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 57 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ---------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Data`
[INFO] [stdout]  --> src/like.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web::{Data, Path};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/like.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CONNECTION_POOL_ERROR`
[INFO] [stdout]  --> src/like.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::constants::{APPLICATION_JSON, CONNECTION_POOL_ERROR};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DBPool`
[INFO] [stdout]   --> src/like.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{DBPool, DBPooledConnection};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TweetDb` in this scope
[INFO] [stdout]   --> src/tweet.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         TweetDb {
[INFO] [stdout]    |         ^^^^^^^ help: a struct with a similar name exists: `TweetDB`
[INFO] [stdout] ...
[INFO] [stdout] 58 | pub struct TweetDB {
[INFO] [stdout]    | ------------------ similarly named struct `TweetDB` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/like.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[table_name = "likes"]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 42 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ---------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]    = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/tweet.rs:56:3
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[table_name = "tweets"]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 57 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ---------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Data`
[INFO] [stdout]  --> src/like.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web::{Data, Path};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/like.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CONNECTION_POOL_ERROR`
[INFO] [stdout]  --> src/like.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::constants::{APPLICATION_JSON, CONNECTION_POOL_ERROR};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DBPool`
[INFO] [stdout]   --> src/like.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{DBPool, DBPooledConnection};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tweet`
[INFO] [stdout]    --> src/tweet.rs:177:20
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let tweet_db = tweet::to_tweet_db();
[INFO] [stdout]     |                    ^^^^^ use of unresolved module or unlinked crate `tweet`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 177 -     let tweet_db = tweet::to_tweet_db();
[INFO] [stdout] 177 +     let tweet_db = Tweet::to_tweet_db();
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/tweet.rs, use `mod tweet` in this file to declare the module
[INFO] [stdout]    --> src/main.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout]   1 + mod tweet;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tweet`
[INFO] [stdout]    --> src/tweet.rs:177:20
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let tweet_db = tweet::to_tweet_db();
[INFO] [stdout]     |                    ^^^^^ use of unresolved module or unlinked crate `tweet`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 177 -     let tweet_db = tweet::to_tweet_db();
[INFO] [stdout] 177 +     let tweet_db = Tweet::to_tweet_db();
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/tweet.rs, use `mod tweet` in this file to declare the module
[INFO] [stdout]    --> src/main.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout]   1 + mod tweet;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn list(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub async fn plus_one(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:77:24
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn minus_one(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn list(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub async fn plus_one(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/like.rs:77:24
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn minus_one(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tweets_with_likes`
[INFO] [stdout]   --> src/tweet.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let tweets_with_likes = Tweets {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tweets_with_likes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tweets_with_likes`
[INFO] [stdout]   --> src/tweet.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let tweets_with_likes = Tweets {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tweets_with_likes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/tweet.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn get(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/tweet.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn get(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/tweet.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub async fn delete(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/tweet.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub async fn delete(path: Path<(String,)>) -> HttpResponse {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `pool`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |     HttpServer::new(|| {
[INFO] [stdout]    |                     ^^ may outlive borrowed value `pool`
[INFO] [stdout] 33 |         App::new()
[INFO] [stdout] 34 |             .data(pool.clone())
[INFO] [stdout]    |                   ---- `pool` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | /     HttpServer::new(|| {
[INFO] [stdout] 33 | |         App::new()
[INFO] [stdout] 34 | |             .data(pool.clone())
[INFO] [stdout] 35 | |             .wrap(middleware::Logger::default())
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             .service(like::minus_one)
[INFO] [stdout] 43 | |     })
[INFO] [stdout]    | |______^
[INFO] [stdout] help: to force the closure to take ownership of `pool` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |     HttpServer::new(move || {
[INFO] [stdout]    |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `pool`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |     HttpServer::new(|| {
[INFO] [stdout]    |                     ^^ may outlive borrowed value `pool`
[INFO] [stdout] 33 |         App::new()
[INFO] [stdout] 34 |             .data(pool.clone())
[INFO] [stdout]    |                   ---- `pool` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | /     HttpServer::new(|| {
[INFO] [stdout] 33 | |         App::new()
[INFO] [stdout] 34 | |             .data(pool.clone())
[INFO] [stdout] 35 | |             .wrap(middleware::Logger::default())
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             .service(like::minus_one)
[INFO] [stdout] 43 | |     })
[INFO] [stdout]    | |______^
[INFO] [stdout] help: to force the closure to take ownership of `pool` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |     HttpServer::new(move || {
[INFO] [stdout]    |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_rest` (bin "rust_rest") due to 8 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_rest` (bin "rust_rest" test) due to 8 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0080ef55f3bb279174efdc80cdbe6cbe9843edbe3a659cc8cabdc8d125975b24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0080ef55f3bb279174efdc80cdbe6cbe9843edbe3a659cc8cabdc8d125975b24", kill_on_drop: false }`
[INFO] [stdout] 0080ef55f3bb279174efdc80cdbe6cbe9843edbe3a659cc8cabdc8d125975b24
