[INFO] cloning repository https://github.com/wobusbz/app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wobusbz/app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80a83d7509c44b54b4ff495da3173f942f902aa3 [INFO] testing wobusbz/app against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp" "/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/wobusbz/app on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wobusbz/app [INFO] finished tweaking git repo https://github.com/wobusbz/app [INFO] tweaked toml for git repo https://github.com/wobusbz/app written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/wobusbz/app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded config v0.13.0 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3505ba00f093365e26919f38d932bf63e10fa73eddbb5a194c99198f18e90319 [INFO] running `Command { std: "docker" "start" "-a" "3505ba00f093365e26919f38d932bf63e10fa73eddbb5a194c99198f18e90319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3505ba00f093365e26919f38d932bf63e10fa73eddbb5a194c99198f18e90319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3505ba00f093365e26919f38d932bf63e10fa73eddbb5a194c99198f18e90319", kill_on_drop: false }` [INFO] [stdout] 3505ba00f093365e26919f38d932bf63e10fa73eddbb5a194c99198f18e90319 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e3f42cf8ecb24c558df382f3322454854a82ebcc609f52b743ffec3c39567c90 [INFO] running `Command { std: "docker" "start" "-a" "e3f42cf8ecb24c558df382f3322454854a82ebcc609f52b743ffec3c39567c90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.0 [INFO] [stderr] Compiling config v0.13.0 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling temaple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dev::Response` [INFO] [stdout] --> src/main.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/dao/user.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_get_by_id` [INFO] [stdout] --> src/dao/user.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFoundError` [INFO] [stdout] --> src/utils/error/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NotFoundError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/error/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / user_create(&pool).await.map(|row| { [INFO] [stdout] 21 | | println!("result: {:?}", row); [INFO] [stdout] 22 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 54s [INFO] running `Command { std: "docker" "inspect" "e3f42cf8ecb24c558df382f3322454854a82ebcc609f52b743ffec3c39567c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f42cf8ecb24c558df382f3322454854a82ebcc609f52b743ffec3c39567c90", kill_on_drop: false }` [INFO] [stdout] e3f42cf8ecb24c558df382f3322454854a82ebcc609f52b743ffec3c39567c90 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c97297c4d04b406bffcdd0ea3cd4682a43a464a5a6705746118f19eabcae0872 [INFO] running `Command { std: "docker" "start" "-a" "c97297c4d04b406bffcdd0ea3cd4682a43a464a5a6705746118f19eabcae0872", kill_on_drop: false }` [INFO] [stderr] Compiling temaple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dev::Response` [INFO] [stdout] --> src/main.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/dao/user.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(app_state : web::Data) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_get_by_id` [INFO] [stdout] --> src/dao/user.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFoundError` [INFO] [stdout] --> src/utils/error/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NotFoundError [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/error/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / user_create(&pool).await.map(|row| { [INFO] [stdout] 21 | | println!("result: {:?}", row); [INFO] [stdout] 22 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "c97297c4d04b406bffcdd0ea3cd4682a43a464a5a6705746118f19eabcae0872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97297c4d04b406bffcdd0ea3cd4682a43a464a5a6705746118f19eabcae0872", kill_on_drop: false }` [INFO] [stdout] c97297c4d04b406bffcdd0ea3cd4682a43a464a5a6705746118f19eabcae0872 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7fce2a108067d7803e7e7639cbba2c38b088a669d65a4dd56c12f6d980891535 [INFO] running `Command { std: "docker" "start" "-a" "7fce2a108067d7803e7e7639cbba2c38b088a669d65a4dd56c12f6d980891535", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `dev::Response` [INFO] [stderr] --> src/main.rs:7:51 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | async fn index(app_state : web::Data) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/dao/user.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [INFO] [stderr] --> src/main.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | async fn index(app_state : web::Data) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `user_get_by_id` [INFO] [stderr] --> src/dao/user.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn user_get_by_id(db: DB) {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotFoundError` [INFO] [stderr] --> src/utils/error/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | NotFoundError [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/error/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | / user_create(&pool).await.map(|row| { [INFO] [stderr] 21 | | println!("result: {:?}", row); [INFO] [stderr] 22 | | }); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `temaple` (bin "temaple" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/temaple-a6b49e3bdaef9f0a) [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" "7fce2a108067d7803e7e7639cbba2c38b088a669d65a4dd56c12f6d980891535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fce2a108067d7803e7e7639cbba2c38b088a669d65a4dd56c12f6d980891535", kill_on_drop: false }` [INFO] [stdout] 7fce2a108067d7803e7e7639cbba2c38b088a669d65a4dd56c12f6d980891535