[INFO] cloning repository https://github.com/ffimnsr/charon-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ffimnsr/charon-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Fcharon-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Fcharon-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f104aafc660e28ef66e17a6da91f60853a919a1c [INFO] testing ffimnsr/charon-rs against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Fcharon-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ffimnsr/charon-rs on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ffimnsr/charon-rs [INFO] finished tweaking git repo https://github.com/ffimnsr/charon-rs [INFO] tweaked toml for git repo https://github.com/ffimnsr/charon-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ffimnsr/charon-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1beea440d7031798428bf0f71641be771e1f2eb09926969cda516011c6d135e [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" "e1beea440d7031798428bf0f71641be771e1f2eb09926969cda516011c6d135e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1beea440d7031798428bf0f71641be771e1f2eb09926969cda516011c6d135e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1beea440d7031798428bf0f71641be771e1f2eb09926969cda516011c6d135e", kill_on_drop: false }` [INFO] [stdout] e1beea440d7031798428bf0f71641be771e1f2eb09926969cda516011c6d135e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef6fe19ee2f94f9b084de02abe0451180573f186f894d99f1dba3ad31e113add [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" "ef6fe19ee2f94f9b084de02abe0451180573f186f894d99f1dba3ad31e113add", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.4 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling josekit v0.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.20 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling deadpool-postgres v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling routerify v2.1.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling oauth2 v4.1.0 [INFO] [stderr] Compiling haya v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericError` [INFO] [stdout] --> src/errors/service_error.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{HttpError, GenericError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_issuer_url` [INFO] [stdout] --> src/config.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn get_issuer_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_public_url` [INFO] [stdout] --> src/config.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn get_public_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_authorization_url` [INFO] [stdout] --> src/config.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn get_authorization_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_device_authorization_url` [INFO] [stdout] --> src/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn get_device_authorization_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_token_url` [INFO] [stdout] --> src/config.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn get_token_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_introspection_url` [INFO] [stdout] --> src/config.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn get_introspection_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_userinfo_url` [INFO] [stdout] --> src/config.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn get_userinfo_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_logout_url` [INFO] [stdout] --> src/config.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) fn get_logout_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_client_registration_url` [INFO] [stdout] --> src/config.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn get_client_registration_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_backchannel_authentication_url` [INFO] [stdout] --> src/config.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn get_backchannel_authentication_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_jwks_certs_url` [INFO] [stdout] --> src/config.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn get_jwks_certs_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_revocation_url` [INFO] [stdout] --> src/config.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn get_revocation_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enable_cors_all` [INFO] [stdout] --> src/cors.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn enable_cors_all() -> Middleware [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enable_cors_all_middleware_handler` [INFO] [stdout] --> src/cors.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn enable_cors_all_middleware_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingRouteData` [INFO] [stdout] --> src/errors/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MissingRouteData(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serializer` [INFO] [stdout] --> src/errors/api_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Serializer(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serializer` [INFO] [stdout] --> src/errors/service_error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Serializer(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/errors/service_error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Other(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `GenericError` [INFO] [stdout] --> src/errors/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) type GenericError = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 59s [INFO] running `Command { std: "docker" "inspect" "ef6fe19ee2f94f9b084de02abe0451180573f186f894d99f1dba3ad31e113add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6fe19ee2f94f9b084de02abe0451180573f186f894d99f1dba3ad31e113add", kill_on_drop: false }` [INFO] [stdout] ef6fe19ee2f94f9b084de02abe0451180573f186f894d99f1dba3ad31e113add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19375aa4b1e6a04aec3bcd8aa9918ee28d41a981c65ae118565dd185e82d0214 [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" "19375aa4b1e6a04aec3bcd8aa9918ee28d41a981c65ae118565dd185e82d0214", kill_on_drop: false }` [INFO] [stderr] Compiling haya v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericError` [INFO] [stdout] --> src/errors/service_error.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{HttpError, GenericError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_issuer_url` [INFO] [stdout] --> src/config.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn get_issuer_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_public_url` [INFO] [stdout] --> src/config.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn get_public_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_authorization_url` [INFO] [stdout] --> src/config.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn get_authorization_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_device_authorization_url` [INFO] [stdout] --> src/config.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn get_device_authorization_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_token_url` [INFO] [stdout] --> src/config.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn get_token_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_introspection_url` [INFO] [stdout] --> src/config.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn get_introspection_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_userinfo_url` [INFO] [stdout] --> src/config.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn get_userinfo_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_logout_url` [INFO] [stdout] --> src/config.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) fn get_logout_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_client_registration_url` [INFO] [stdout] --> src/config.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn get_client_registration_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_backchannel_authentication_url` [INFO] [stdout] --> src/config.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn get_backchannel_authentication_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_jwks_certs_url` [INFO] [stdout] --> src/config.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn get_jwks_certs_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_revocation_url` [INFO] [stdout] --> src/config.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn get_revocation_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enable_cors_all` [INFO] [stdout] --> src/cors.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn enable_cors_all() -> Middleware [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enable_cors_all_middleware_handler` [INFO] [stdout] --> src/cors.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn enable_cors_all_middleware_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingRouteData` [INFO] [stdout] --> src/errors/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MissingRouteData(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serializer` [INFO] [stdout] --> src/errors/api_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Serializer(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serializer` [INFO] [stdout] --> src/errors/service_error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Serializer(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/errors/service_error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Other(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `GenericError` [INFO] [stdout] --> src/errors/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) type GenericError = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.09s [INFO] running `Command { std: "docker" "inspect" "19375aa4b1e6a04aec3bcd8aa9918ee28d41a981c65ae118565dd185e82d0214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19375aa4b1e6a04aec3bcd8aa9918ee28d41a981c65ae118565dd185e82d0214", kill_on_drop: false }` [INFO] [stdout] 19375aa4b1e6a04aec3bcd8aa9918ee28d41a981c65ae118565dd185e82d0214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 31e2cc086ef05a233208637d43df0dae8107aa6602fbb98f868e5116d9cd4015 [INFO] running `Command { std: "docker" "start" "-a" "31e2cc086ef05a233208637d43df0dae8107aa6602fbb98f868e5116d9cd4015", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericError` [INFO] [stderr] --> src/errors/service_error.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use super::{HttpError, GenericError}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_issuer_url` [INFO] [stderr] --> src/config.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn get_issuer_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_public_url` [INFO] [stderr] --> src/config.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | pub(crate) fn get_public_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_authorization_url` [INFO] [stderr] --> src/config.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn get_authorization_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_device_authorization_url` [INFO] [stderr] --> src/config.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | pub(crate) fn get_device_authorization_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_token_url` [INFO] [stderr] --> src/config.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) fn get_token_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_introspection_url` [INFO] [stderr] --> src/config.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | pub(crate) fn get_introspection_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_userinfo_url` [INFO] [stderr] --> src/config.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | pub(crate) fn get_userinfo_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_logout_url` [INFO] [stderr] --> src/config.rs:97:19 [INFO] [stderr] | [INFO] [stderr] 97 | pub(crate) fn get_logout_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_client_registration_url` [INFO] [stderr] --> src/config.rs:108:19 [INFO] [stderr] | [INFO] [stderr] 108 | pub(crate) fn get_client_registration_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_backchannel_authentication_url` [INFO] [stderr] --> src/config.rs:119:19 [INFO] [stderr] | [INFO] [stderr] 119 | pub(crate) fn get_backchannel_authentication_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_jwks_certs_url` [INFO] [stderr] --> src/config.rs:130:19 [INFO] [stderr] | [INFO] [stderr] 130 | pub(crate) fn get_jwks_certs_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_revocation_url` [INFO] [stderr] --> src/config.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | pub(crate) fn get_revocation_url(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `enable_cors_all` [INFO] [stderr] --> src/cors.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn enable_cors_all() -> Middleware [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `enable_cors_all_middleware_handler` [INFO] [stderr] --> src/cors.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | async fn enable_cors_all_middleware_handler( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingRouteData` [INFO] [stderr] --> src/errors/api_error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | MissingRouteData(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Serializer` [INFO] [stderr] --> src/errors/api_error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Serializer(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Serializer` [INFO] [stderr] --> src/errors/service_error.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Serializer(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/errors/service_error.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Other(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `GenericError` [INFO] [stderr] --> src/errors/mod.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) type GenericError = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `haya` (bin "haya" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/haya-99b989c36d16dcc2) [INFO] [stdout] running 2 tests [INFO] [stdout] test public::handlers::tests::test_handler_404_should_ok ... ok [INFO] [stdout] test public::handlers::tests::test_handler_index_should_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31e2cc086ef05a233208637d43df0dae8107aa6602fbb98f868e5116d9cd4015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e2cc086ef05a233208637d43df0dae8107aa6602fbb98f868e5116d9cd4015", kill_on_drop: false }` [INFO] [stdout] 31e2cc086ef05a233208637d43df0dae8107aa6602fbb98f868e5116d9cd4015