[INFO] cloning repository https://github.com/jay-johnson/restapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jay-johnson/restapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjay-johnson%2Frestapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjay-johnson%2Frestapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81f2b89949b93e35bc7c5c0ac883412cc782c964 [INFO] testing jay-johnson/restapi against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjay-johnson%2Frestapi" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jay-johnson/restapi on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jay-johnson/restapi [INFO] finished tweaking git repo https://github.com/jay-johnson/restapi [INFO] tweaked toml for git repo https://github.com/jay-johnson/restapi written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jay-johnson/restapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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] b3473809a30cd8a448cba854d5ddd028d6a564c9c928ad25b8f9a674f828b247 [INFO] running `Command { std: "docker" "start" "-a" "b3473809a30cd8a448cba854d5ddd028d6a564c9c928ad25b8f9a674f828b247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3473809a30cd8a448cba854d5ddd028d6a564c9c928ad25b8f9a674f828b247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3473809a30cd8a448cba854d5ddd028d6a564c9c928ad25b8f9a674f828b247", kill_on_drop: false }` [INFO] [stdout] b3473809a30cd8a448cba854d5ddd028d6a564c9c928ad25b8f9a674f828b247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf0c362f5efe8c06e2ac3e07e591a88d38be377c36884b3f7358213b3478f2ff [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" "cf0c362f5efe8c06e2ac3e07e591a88d38be377c36884b3f7358213b3478f2ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling openssl-src v111.18.0+1.1.1n [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling geo-types v0.7.2 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling eui48 v1.1.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling bb8 v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling bb8-postgres v0.7.0 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling rusoto_credential v0.47.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.47.0 [INFO] [stderr] Compiling rusoto_s3 v0.47.0 [INFO] [stderr] Compiling restapi v1.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 49s [INFO] running `Command { std: "docker" "inspect" "cf0c362f5efe8c06e2ac3e07e591a88d38be377c36884b3f7358213b3478f2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf0c362f5efe8c06e2ac3e07e591a88d38be377c36884b3f7358213b3478f2ff", kill_on_drop: false }` [INFO] [stdout] cf0c362f5efe8c06e2ac3e07e591a88d38be377c36884b3f7358213b3478f2ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47d96bb49d1151e0b0a412081782519a87388e70c931aba4e4bee10a2192b22a [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" "47d96bb49d1151e0b0a412081782519a87388e70c931aba4e4bee10a2192b22a", kill_on_drop: false }` [INFO] [stderr] Compiling restapi v1.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.34s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/restapi-4e7b9e07d8e61a90) [INFO] running `Command { std: "docker" "inspect" "47d96bb49d1151e0b0a412081782519a87388e70c931aba4e4bee10a2192b22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d96bb49d1151e0b0a412081782519a87388e70c931aba4e4bee10a2192b22a", kill_on_drop: false }` [INFO] [stdout] 47d96bb49d1151e0b0a412081782519a87388e70c931aba4e4bee10a2192b22a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78e0b01e6c1b4382dfdcfcc53a00dc3e137908b86f98d37c85bdf9920fbc463f [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" "78e0b01e6c1b4382dfdcfcc53a00dc3e137908b86f98d37c85bdf9920fbc463f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/restapi-4e7b9e07d8e61a90) [INFO] [stderr] Doc-tests restapi [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] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_after (line 373) ... FAILED [INFO] [stdout] test src/is3/is3.rs - is3::is3::s3_upload_file (line 305) ... FAILED [INFO] [stdout] test src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_before (line 249) ... FAILED [INFO] [stdout] test src/monitoring/metrics.rs - monitoring::metrics::handle_showing_metrics (line 208) ... FAILED [INFO] [stdout] test src/is3/is3.rs - is3::is3::s3_upload_buffer (line 63) ... FAILED [INFO] [stdout] test src/utils/path_exists.rs - utils::path_exists::path_exists (line 13) ... ok [INFO] [stdout] test src/requests/user/is_verification_enabled.rs - requests::user::is_verification_enabled::is_verification_enabled (line 24) ... FAILED [INFO] [stdout] test src/requests/user/is_verification_required.rs - requests::user::is_verification_required::is_verification_required (line 25) ... FAILED [INFO] [stdout] test src/utils/get_uuid.rs - utils::get_uuid::get_uuid (line 11) ... ok [INFO] [stdout] test src/tls/get_tls_config.rs - tls::get_tls_config::get_tls_config (line 40) ... ok [INFO] [stdout] test src/utils/get_server_address.rs - utils::get_server_address::get_server_address (line 15) ... ok [INFO] [stdout] test src/utils/file_io/read_file_to_buf.rs - utils::file_io::read_file_to_buf::read_file_to_buf (line 23) ... ok [INFO] [stdout] test src/utils/file_io/write_buf_to_file.rs - utils::file_io::write_buf_to_file::write_buf_to_file (line 23) ... ok [INFO] [stdout] test src/utils/get_query_params_from_url.rs - utils::get_query_params_from_url::get_query_params_from_url (line 30) ... ok [INFO] [stdout] test src/pools/get_db_pool.rs - pools::get_db_pool::get_db_pool (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_after (line 373) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/monitoring/metrics.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::monitoring::metrics::record_monitoring_metrics_api_after; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `restapi::monitoring` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Infallible` in this scope [INFO] [stdout] --> src/monitoring/metrics.rs:377:63 [INFO] [stdout] | [INFO] [stdout] 6 | let mut processed_result: std::result::Result, Infallible> = Ok( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::convert::Infallible; [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `record_monitoring_metrics_api_after` in this scope [INFO] [stdout] --> src/monitoring/metrics.rs:380:1 [INFO] [stdout] | [INFO] [stdout] 9 | record_monitoring_metrics_api_after( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use restapi::monitoring::metrics::record_monitoring_metrics_api_after; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/is3/is3.rs - is3::is3::s3_upload_file (line 305) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `TODO` in this scope [INFO] [stdout] --> src/is3/is3.rs:306:2 [INFO] [stdout] | [INFO] [stdout] 3 | [TODO:example] [INFO] [stdout] | ^^^^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_before (line 249) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/monitoring/metrics.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::monitoring::metrics::record_monitoring_metrics_api_before; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `restapi::monitoring` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `record_monitoring_metrics_api_before` in this scope [INFO] [stdout] --> src/monitoring/metrics.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 4 | record_monitoring_metrics_api_before( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use restapi::monitoring::metrics::record_monitoring_metrics_api_before; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/monitoring/metrics.rs - monitoring::metrics::handle_showing_metrics (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/monitoring/metrics.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::monitoring::metrics::handle_showing_metrics; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `restapi::monitoring` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_showing_metrics` in this scope [INFO] [stdout] --> src/monitoring/metrics.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 4 | handle_showing_metrics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use restapi::monitoring::metrics::handle_showing_metrics; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/is3/is3.rs - is3::is3::s3_upload_buffer (line 63) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/is3/is3.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::is3::is3::s3_upload_buffer; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `restapi::is3` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/is3/is3.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 13 | info!("{good_msg} - done uploading to s3://{s3_bucket}/{s3_key_dst}") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/is3/is3.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 16 | info!("{emsg} - failed uploading to s3://{s3_bucket}/{s3_key_dst}") [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s3_upload_buffer` in this scope [INFO] [stdout] --> src/is3/is3.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 7 | match s3_upload_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use restapi::is3::is3::s3_upload_buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/is3/is3.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_is3_is3_rs_63_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | &bytes).await { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] ---- src/requests/user/is_verification_enabled.rs - requests::user::is_verification_enabled::is_verification_enabled (line 24) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/requests/user/is_verification_enabled.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_requests_user_is_verification_enabled_rs_24_0() { [INFO] [stdout] | - help: try adding a return type: `-> bool` [INFO] [stdout] 4 | use restapi::requests::user::is_verification_enabled::is_verification_enabled; [INFO] [stdout] 5 | return is_verification_enabled(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/requests/user/is_verification_required.rs - requests::user::is_verification_required::is_verification_required (line 25) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/requests/user/is_verification_required.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_requests_user_is_verification_required_rs_25_0() { [INFO] [stdout] | - help: try adding a return type: `-> bool` [INFO] [stdout] 4 | use restapi::requests::user::is_verification_required::is_verification_required; [INFO] [stdout] 5 | return is_verification_required(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/is3/is3.rs - is3::is3::s3_upload_buffer (line 63) [INFO] [stdout] src/is3/is3.rs - is3::is3::s3_upload_file (line 305) [INFO] [stdout] src/monitoring/metrics.rs - monitoring::metrics::handle_showing_metrics (line 208) [INFO] [stdout] src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_after (line 373) [INFO] [stdout] src/monitoring/metrics.rs - monitoring::metrics::record_monitoring_metrics_api_before (line 249) [INFO] [stdout] src/requests/user/is_verification_enabled.rs - requests::user::is_verification_enabled::is_verification_enabled (line 24) [INFO] [stdout] src/requests/user/is_verification_required.rs - requests::user::is_verification_required::is_verification_required (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78e0b01e6c1b4382dfdcfcc53a00dc3e137908b86f98d37c85bdf9920fbc463f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e0b01e6c1b4382dfdcfcc53a00dc3e137908b86f98d37c85bdf9920fbc463f", kill_on_drop: false }` [INFO] [stdout] 78e0b01e6c1b4382dfdcfcc53a00dc3e137908b86f98d37c85bdf9920fbc463f