[INFO] cloning repository https://github.com/Scttpr/api_rest_actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Scttpr/api_rest_actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScttpr%2Fapi_rest_actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScttpr%2Fapi_rest_actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d5586694bd3cfc0c098d125689165b8de380279 [INFO] testing Scttpr/api_rest_actix against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScttpr%2Fapi_rest_actix" "/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/Scttpr/api_rest_actix 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/Scttpr/api_rest_actix [INFO] finished tweaking git repo https://github.com/Scttpr/api_rest_actix [INFO] tweaked toml for git repo https://github.com/Scttpr/api_rest_actix written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Scttpr/api_rest_actix 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.11 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded log4rs v0.11.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.3 [INFO] [stderr] Downloaded time-macros-impl v0.1.0 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded actix-web-codegen v0.2.1 [INFO] [stderr] Downloaded time v0.2.9 [INFO] [stderr] Downloaded actix-server v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.59 [INFO] [stderr] Downloaded backtrace v0.3.45 [INFO] [stderr] Downloaded standback v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.59 [INFO] [stderr] Downloaded h2 v0.2.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.59 [INFO] [stderr] Downloaded wasm-bindgen v0.2.59 [INFO] [stderr] Downloaded backtrace-sys v0.1.34 [INFO] [stderr] Downloaded actix-connect v2.0.0-alpha.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.59 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] [stderr] Downloaded trust-dns-proto v0.19.3 [INFO] [stderr] Downloaded actix-http v2.0.0-alpha.2 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbae65ec6c43d8eecb112927e19fab85effbeb12e274d0eec145ec3114298d6f [INFO] running `Command { std: "docker" "start" "-a" "cbae65ec6c43d8eecb112927e19fab85effbeb12e274d0eec145ec3114298d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbae65ec6c43d8eecb112927e19fab85effbeb12e274d0eec145ec3114298d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbae65ec6c43d8eecb112927e19fab85effbeb12e274d0eec145ec3114298d6f", kill_on_drop: false }` [INFO] [stdout] cbae65ec6c43d8eecb112927e19fab85effbeb12e274d0eec145ec3114298d6f [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3d7ec416884e84339bd3becf599a0559b99ee5f52880ec6c3f10ed1739f42da [INFO] running `Command { std: "docker" "start" "-a" "a3d7ec416884e84339bd3becf599a0559b99ee5f52880ec6c3f10ed1739f42da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling standback v0.2.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling thiserror-impl v1.0.12 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.12 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling log4rs v0.11.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-proto v0.19.3 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-resolver v0.19.3 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-connect v2.0.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling actix-http v2.0.0-alpha.2 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix_rest_poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/services/logger.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/utils/crud.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_handler(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rights` [INFO] [stdout] --> src/middlewares/handle_rights.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> src/utils/constants.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const VERSION: &str = "VERSION"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_ENV` [INFO] [stdout] --> src/utils/constants.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const APP_ENV: &str = "APP_ENV"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOG_LEVEL` [INFO] [stdout] --> src/utils/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LOG_LEVEL: &str = "LOG_LEVEL"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFound` [INFO] [stdout] --> src/utils/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `BadClientData` [INFO] [stdout] --> src/utils/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `InternalError` [INFO] [stdout] --> src/utils/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `Timeout` [INFO] [stdout] --> src/utils/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `Forbidden` [INFO] [stdout] --> src/utils/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: function is never used: `handle_rights` [INFO] [stdout] --> src/middlewares/handle_rights.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0, time-macros-impl v0.1.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a3d7ec416884e84339bd3becf599a0559b99ee5f52880ec6c3f10ed1739f42da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d7ec416884e84339bd3becf599a0559b99ee5f52880ec6c3f10ed1739f42da", kill_on_drop: false }` [INFO] [stdout] a3d7ec416884e84339bd3becf599a0559b99ee5f52880ec6c3f10ed1739f42da [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6381ad8fedeba83a951365859a39777b6c8593fd5c854554cb00abcb7f37972d [INFO] running `Command { std: "docker" "start" "-a" "6381ad8fedeba83a951365859a39777b6c8593fd5c854554cb00abcb7f37972d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix_rest_poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/services/logger.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/utils/crud.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_handler(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rights` [INFO] [stdout] --> src/middlewares/handle_rights.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> src/utils/constants.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const VERSION: &str = "VERSION"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APP_ENV` [INFO] [stdout] --> src/utils/constants.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const APP_ENV: &str = "APP_ENV"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOG_LEVEL` [INFO] [stdout] --> src/utils/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LOG_LEVEL: &str = "LOG_LEVEL"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFound` [INFO] [stdout] --> src/utils/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `BadClientData` [INFO] [stdout] --> src/utils/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `InternalError` [INFO] [stdout] --> src/utils/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `Timeout` [INFO] [stdout] --> src/utils/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: `Forbidden` [INFO] [stdout] --> src/utils/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Fail, 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: function is never used: `handle_rights` [INFO] [stdout] --> src/middlewares/handle_rights.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.67s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0, time-macros-impl v0.1.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6381ad8fedeba83a951365859a39777b6c8593fd5c854554cb00abcb7f37972d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6381ad8fedeba83a951365859a39777b6c8593fd5c854554cb00abcb7f37972d", kill_on_drop: false }` [INFO] [stdout] 6381ad8fedeba83a951365859a39777b6c8593fd5c854554cb00abcb7f37972d [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 480b43cc348a11d48b497db2cc36b7bc244480945a472ce74ac4753d39429515 [INFO] running `Command { std: "docker" "start" "-a" "480b43cc348a11d48b497db2cc36b7bc244480945a472ce74ac4753d39429515", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stderr] --> src/services/logger.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use log::{debug, error, info, trace, warn, LevelFilter, SetLoggerError}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/utils/crud.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_handler(req: HttpRequest) -> HttpResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rights` [INFO] [stderr] --> src/middlewares/handle_rights.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rights` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `VERSION` [INFO] [stderr] --> src/utils/constants.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub const VERSION: &str = "VERSION"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `APP_ENV` [INFO] [stderr] --> src/utils/constants.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub const APP_ENV: &str = "APP_ENV"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LOG_LEVEL` [INFO] [stderr] --> src/utils/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const LOG_LEVEL: &str = "LOG_LEVEL"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotFound` [INFO] [stderr] --> src/utils/errors.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | NotFound, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/errors.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Fail, 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: variant is never constructed: `BadClientData` [INFO] [stderr] --> src/utils/errors.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | BadClientData, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/errors.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Fail, 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: variant is never constructed: `InternalError` [INFO] [stderr] --> src/utils/errors.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | InternalError, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/errors.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Fail, 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: variant is never constructed: `Timeout` [INFO] [stderr] --> src/utils/errors.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Timeout, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/errors.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Fail, 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: variant is never constructed: `Forbidden` [INFO] [stderr] --> src/utils/errors.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Forbidden, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/errors.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Fail, 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: function is never used: `handle_rights` [INFO] [stderr] --> src/middlewares/handle_rights.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn handle_rights(rights: Vec) -> Result<(), HttpError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `actix_rest_poc` (bin "actix_rest_poc" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0, time-macros-impl v0.1.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_rest_poc-86d79e08cfc323cc) [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" "480b43cc348a11d48b497db2cc36b7bc244480945a472ce74ac4753d39429515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480b43cc348a11d48b497db2cc36b7bc244480945a472ce74ac4753d39429515", kill_on_drop: false }` [INFO] [stdout] 480b43cc348a11d48b497db2cc36b7bc244480945a472ce74ac4753d39429515