[INFO] cloning repository https://github.com/yangcancai/captcha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangcancai/captcha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fcaptcha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fcaptcha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d63d2a3dbb65b867caed3fcad671b37fb10e426a [INFO] testing yangcancai/captcha against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangcancai%2Fcaptcha" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yangcancai/captcha on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yangcancai/captcha [INFO] finished tweaking git repo https://github.com/yangcancai/captcha [INFO] tweaked toml for git repo https://github.com/yangcancai/captcha written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/yangcancai/captcha already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560c4f2f7ec6a498e744247126172052600aba2c084a491323ed642e935829e2 [INFO] running `Command { std: "docker" "start" "-a" "560c4f2f7ec6a498e744247126172052600aba2c084a491323ed642e935829e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560c4f2f7ec6a498e744247126172052600aba2c084a491323ed642e935829e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560c4f2f7ec6a498e744247126172052600aba2c084a491323ed642e935829e2", kill_on_drop: false }` [INFO] [stdout] 560c4f2f7ec6a498e744247126172052600aba2c084a491323ed642e935829e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dd1b0cfb1c6b00623ebd9fb09a97de173caa5f2711990d17ec1644abc5fa6ef [INFO] running `Command { std: "docker" "start" "-a" "6dd1b0cfb1c6b00623ebd9fb09a97de173caa5f2711990d17ec1644abc5fa6ef", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling state v0.4.2 (https://github.com/SergioBenitez/state.git?rev=7576652#7576652a) [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling random-trait v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling state v0.4.2 (https://github.com/SergioBenitez/state.git?rev=0a7457d2#0a7457d2) [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling uncased v0.9.5 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling figment v0.10.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=master#70b42e6f) [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling random-fast-rng v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling block-modes v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3ebe83#3ebe8382) [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling pear_codegen v0.2.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3ebe83#3ebe8382) [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3ebe83#3ebe8382) [INFO] [stderr] Compiling pear v0.2.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.4 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling multer v1.2.2 (https://github.com/rousan/multer-rs.git?rev=0620e54#0620e54b) [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling josekit v0.7.1 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=master#70b42e6f) [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=master#70b42e6f) [INFO] [stderr] Compiling rocket_contrib v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=master#70b42e6f) [INFO] [stderr] Compiling captcha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `A128KW`, `JoseError`, `JweHeader`, `JwtPayload`, `Value`, `self` [INFO] [stdout] --> src/phx.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | jwe::{JweHeader, A128KW}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | jwt::{self, JwtPayload}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | JoseError, Map, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/phx.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::{json, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::AsyncReadExt` [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::futures::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pointJson` should have a snake case name [INFO] [stdout] --> src/phx.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pointJson: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `point_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/token.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | payload.set_claim(&i.0, Some(i.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.40s [INFO] running `Command { std: "docker" "inspect" "6dd1b0cfb1c6b00623ebd9fb09a97de173caa5f2711990d17ec1644abc5fa6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd1b0cfb1c6b00623ebd9fb09a97de173caa5f2711990d17ec1644abc5fa6ef", kill_on_drop: false }` [INFO] [stdout] 6dd1b0cfb1c6b00623ebd9fb09a97de173caa5f2711990d17ec1644abc5fa6ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bba070da04dc4fd9fa2cbcc7780ca82818cc8cdeb5bf6bda4105eb18590c11b8 [INFO] running `Command { std: "docker" "start" "-a" "bba070da04dc4fd9fa2cbcc7780ca82818cc8cdeb5bf6bda4105eb18590c11b8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling captcha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `A128KW`, `JoseError`, `JweHeader`, `JwtPayload`, `Value`, `self` [INFO] [stdout] --> src/phx.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | jwe::{JweHeader, A128KW}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | jwt::{self, JwtPayload}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | JoseError, Map, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/phx.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::{json, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::AsyncReadExt` [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::futures::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pointJson` should have a snake case name [INFO] [stdout] --> src/phx.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pointJson: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `point_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/token.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | payload.set_claim(&i.0, Some(i.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `f64` with `{integer}` [INFO] [stdout] --> tests/token_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(rr.x, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `f64 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `f64` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/token_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(rr.x, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `f64` with `{integer}` [INFO] [stdout] --> tests/token_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(rr.y, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `f64 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `f64` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/token_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(rr.y, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `A128KW`, `JoseError`, `JweHeader`, `JwtPayload`, `Value`, `self` [INFO] [stdout] --> src/phx.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | jwe::{JweHeader, A128KW}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | jwt::{self, JwtPayload}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | JoseError, Map, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/phx.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::{json, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::AsyncReadExt` [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::futures::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `captcha` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pointJson` should have a snake case name [INFO] [stdout] --> src/phx.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pointJson: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `point_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `captchaType` should have a snake case name [INFO] [stdout] --> src/phx.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | captchaType: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `captcha_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/token.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | payload.set_claim(&i.0, Some(i.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bba070da04dc4fd9fa2cbcc7780ca82818cc8cdeb5bf6bda4105eb18590c11b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba070da04dc4fd9fa2cbcc7780ca82818cc8cdeb5bf6bda4105eb18590c11b8", kill_on_drop: false }` [INFO] [stdout] bba070da04dc4fd9fa2cbcc7780ca82818cc8cdeb5bf6bda4105eb18590c11b8