[INFO] cloning repository https://github.com/findelabs/rust-api-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/findelabs/rust-api-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0a49999daddc4128c56275374ac6d923b9fcb6a [INFO] building findelabs/rust-api-template against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/findelabs/rust-api-template on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/findelabs/rust-api-template [INFO] finished tweaking git repo https://github.com/findelabs/rust-api-template [INFO] tweaked toml for git repo https://github.com/findelabs/rust-api-template written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/findelabs/rust-api-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-shim v0.2.0 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded sketches-ddsketch v0.1.2 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded metrics-macros v0.5.1 [INFO] [stderr] Downloaded metrics-util v0.11.1 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded axum v0.5.6 [INFO] [stderr] Downloaded axum-extra v0.1.5 [INFO] [stderr] Downloaded axum-core v0.2.4 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.8.0 [INFO] [stderr] Downloaded metrics v0.18.1 [INFO] [stderr] Downloaded tower-http v0.1.3 [INFO] [stderr] Downloaded tower-http v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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] 866c28fbc0b7c7670705e73ade76330b4e5178e59a698488db646d8d115b9458 [INFO] running `Command { std: "docker" "start" "-a" "866c28fbc0b7c7670705e73ade76330b4e5178e59a698488db646d8d115b9458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866c28fbc0b7c7670705e73ade76330b4e5178e59a698488db646d8d115b9458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866c28fbc0b7c7670705e73ade76330b4e5178e59a698488db646d8d115b9458", kill_on_drop: false }` [INFO] [stdout] 866c28fbc0b7c7670705e73ade76330b4e5178e59a698488db646d8d115b9458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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] 40ff9846cafeba539f70c80fcda2b1d0a244f6189db287533c8519a21771274f [INFO] running `Command { std: "docker" "start" "-a" "40ff9846cafeba539f70c80fcda2b1d0a244f6189db287533c8519a21771274f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [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 itoa v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling sketches-ddsketch v0.1.2 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling raw-cpuid v10.3.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling metrics-util v0.11.1 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling axum-core v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tower-http v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling tower-http v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.24 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.8.0 [INFO] [stderr] Compiling axum v0.5.6 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling axum-extra v0.1.5 [INFO] [stderr] Compiling rust-api-template v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Forbidden` [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: variant is never constructed: `Unauthorized` [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: variant is never constructed: `NotFound` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: associated function is never used: `request` [INFO] [stdout] --> src/https.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn request(&self, req: Request) -> Result, hyper::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nodelay` [INFO] [stdout] --> src/https.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn nodelay(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enforce_http` [INFO] [stdout] --> src/https.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn enforce_http(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reuse_address` [INFO] [stdout] --> src/https.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn reuse_address(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accept_invalid_hostnames` [INFO] [stdout] --> src/https.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn accept_invalid_hostnames(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accept_invalid_certs` [INFO] [stdout] --> src/https.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn accept_invalid_certs(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_cert` [INFO] [stdout] --> src/https.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn import_cert(mut self, arg: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 35s [INFO] running `Command { std: "docker" "inspect" "40ff9846cafeba539f70c80fcda2b1d0a244f6189db287533c8519a21771274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ff9846cafeba539f70c80fcda2b1d0a244f6189db287533c8519a21771274f", kill_on_drop: false }` [INFO] [stdout] 40ff9846cafeba539f70c80fcda2b1d0a244f6189db287533c8519a21771274f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5e5e6db1a97d369ec2a8043eec6421b035c5b55c0169a6fdd255b0283d00f24 [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" "c5e5e6db1a97d369ec2a8043eec6421b035c5b55c0169a6fdd255b0283d00f24", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api-template v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Forbidden` [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: variant is never constructed: `Unauthorized` [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: variant is never constructed: `NotFound` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: associated function is never used: `request` [INFO] [stdout] --> src/https.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn request(&self, req: Request) -> Result, hyper::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nodelay` [INFO] [stdout] --> src/https.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn nodelay(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enforce_http` [INFO] [stdout] --> src/https.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn enforce_http(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reuse_address` [INFO] [stdout] --> src/https.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn reuse_address(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accept_invalid_hostnames` [INFO] [stdout] --> src/https.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn accept_invalid_hostnames(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accept_invalid_certs` [INFO] [stdout] --> src/https.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn accept_invalid_certs(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_cert` [INFO] [stdout] --> src/https.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn import_cert(mut self, arg: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.83s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_template-75efcb8fc09f7b9e) [INFO] running `Command { std: "docker" "inspect" "c5e5e6db1a97d369ec2a8043eec6421b035c5b55c0169a6fdd255b0283d00f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e5e6db1a97d369ec2a8043eec6421b035c5b55c0169a6fdd255b0283d00f24", kill_on_drop: false }` [INFO] [stdout] c5e5e6db1a97d369ec2a8043eec6421b035c5b55c0169a6fdd255b0283d00f24