[INFO] cloning repository https://github.com/jonathanLozaiza/api_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonathanLozaiza/api_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjonathanLozaiza%2Fapi_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjonathanLozaiza%2Fapi_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da882816f9c7ebb6233775452f2459a86a00b7a5 [INFO] testing jonathanLozaiza/api_rust against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjonathanLozaiza%2Fapi_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanLozaiza/api_rust on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonathanLozaiza/api_rust [INFO] finished tweaking git repo https://github.com/jonathanLozaiza/api_rust [INFO] tweaked toml for git repo https://github.com/jonathanLozaiza/api_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonathanLozaiza/api_rust 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_derives v2.1.0 [INFO] [stderr] Downloaded diesel v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f680817465c861181b74d68889653c62c558ec82d683b09ece9e7ece59493c5a [INFO] running `Command { std: "docker" "start" "-a" "f680817465c861181b74d68889653c62c558ec82d683b09ece9e7ece59493c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f680817465c861181b74d68889653c62c558ec82d683b09ece9e7ece59493c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f680817465c861181b74d68889653c62c558ec82d683b09ece9e7ece59493c5a", kill_on_drop: false }` [INFO] [stdout] f680817465c861181b74d68889653c62c558ec82d683b09ece9e7ece59493c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4a65489a09f920b0b3365c0ddc16c0c522bc36dbdd45d674d8efdf4e6000e3 [INFO] running `Command { std: "docker" "start" "-a" "7e4a65489a09f920b0b3365c0ddc16c0c522bc36dbdd45d674d8efdf4e6000e3", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling time-macros v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling time v0.3.27 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling diesel_derives v2.1.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling diesel v2.1.0 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling api-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/tweets.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, delete, HttpResponse}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/likes.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_likes_by_tweet(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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/likes.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn like_tweet(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/likes.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn remove_like(path: Path<(String,)>) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "7e4a65489a09f920b0b3365c0ddc16c0c522bc36dbdd45d674d8efdf4e6000e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4a65489a09f920b0b3365c0ddc16c0c522bc36dbdd45d674d8efdf4e6000e3", kill_on_drop: false }` [INFO] [stdout] 7e4a65489a09f920b0b3365c0ddc16c0c522bc36dbdd45d674d8efdf4e6000e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e37f20a44c11e8d65f6e8f60383edcaa18d43984e39209aa6dc53e373e64a72 [INFO] running `Command { std: "docker" "start" "-a" "5e37f20a44c11e8d65f6e8f60383edcaa18d43984e39209aa6dc53e373e64a72", kill_on_drop: false }` [INFO] [stderr] Compiling api-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/tweets.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, delete, HttpResponse}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/likes.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_likes_by_tweet(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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/likes.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn like_tweet(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/likes.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn remove_like(path: Path<(String,)>) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "5e37f20a44c11e8d65f6e8f60383edcaa18d43984e39209aa6dc53e373e64a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e37f20a44c11e8d65f6e8f60383edcaa18d43984e39209aa6dc53e373e64a72", kill_on_drop: false }` [INFO] [stdout] 5e37f20a44c11e8d65f6e8f60383edcaa18d43984e39209aa6dc53e373e64a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 423aff8d8c8ef648975b98e4b5fe9f26ca750c09bca371aec7ca5a2782b09b80 [INFO] running `Command { std: "docker" "start" "-a" "423aff8d8c8ef648975b98e4b5fe9f26ca750c09bca371aec7ca5a2782b09b80", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `delete` [INFO] [stderr] --> src/tweets.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, post, delete, HttpResponse}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/likes.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn get_likes_by_tweet(path: Path<(String,)>) -> HttpResponse { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/likes.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn like_tweet(path: Path<(String,)>) -> HttpResponse { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/likes.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | pub async fn remove_like(path: Path<(String,)>) -> HttpResponse { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: `api-rest` (bin "api-rest" test) generated 4 warnings (run `cargo fix --bin "api-rest" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rest-703a031d97ee0e55) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "423aff8d8c8ef648975b98e4b5fe9f26ca750c09bca371aec7ca5a2782b09b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423aff8d8c8ef648975b98e4b5fe9f26ca750c09bca371aec7ca5a2782b09b80", kill_on_drop: false }` [INFO] [stdout] 423aff8d8c8ef648975b98e4b5fe9f26ca750c09bca371aec7ca5a2782b09b80