[INFO] cloning repository https://github.com/pallavi240303/webauthn_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pallavi240303/webauthn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0683c265c3bce88f3731716b866b8c2485d409 [INFO] testing pallavi240303/webauthn_rust against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pallavi240303/webauthn_rust on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pallavi240303/webauthn_rust [INFO] finished tweaking git repo https://github.com/pallavi240303/webauthn_rust [INFO] tweaked toml for git repo https://github.com/pallavi240303/webauthn_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pallavi240303/webauthn_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f5b1859dd0df81a60da0d72785077b49c2d8490dda93c953b141ebcaeab1850 [INFO] running `Command { std: "docker" "start" "-a" "1f5b1859dd0df81a60da0d72785077b49c2d8490dda93c953b141ebcaeab1850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f5b1859dd0df81a60da0d72785077b49c2d8490dda93c953b141ebcaeab1850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5b1859dd0df81a60da0d72785077b49c2d8490dda93c953b141ebcaeab1850", kill_on_drop: false }` [INFO] [stdout] 1f5b1859dd0df81a60da0d72785077b49c2d8490dda93c953b141ebcaeab1850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 113e0758014b58a6c55cea3388d846e8295a287ed085ec3e94a0229aebe4d86f [INFO] running `Command { std: "docker" "start" "-a" "113e0758014b58a6c55cea3388d846e8295a287ed085ec3e94a0229aebe4d86f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling openssl v0.10.67 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling impl-more v0.1.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling asn1-rs v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling webauthn-attestation-ca v0.5.0 [INFO] [stderr] Compiling webauthn-rs-core v0.5.0 [INFO] [stderr] Compiling der-parser v7.0.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling x509-parser v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling base64urlsafedata v0.5.0 [INFO] [stderr] Compiling serde_cbor_2 v0.12.0-dev [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling base64urlsafedata v0.1.3 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling webauthn-rs-proto v0.5.0 [INFO] [stderr] Compiling compact_jwt v0.2.10 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 [INFO] [stderr] Compiling webauthn-rs v0.5.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling actix-ws v0.3.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling backend_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_session::Session` [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender` and `self` [INFO] [stdout] --> src/handlers/polls_handlers.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::{sync::{broadcast::{self, Sender}, Mutex}, time::timeout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware::Logger`, and `web::Html` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | middleware::Logger, web, web::Html, App, HttpRequest, HttpResponse, HttpServer, Responder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webauthn_rs_core::proto` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs_core::proto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | .map_err(|e| {Error::DeserialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|e| {Error::SerialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEnoughOptions`, `DuplicateOptions`, and `UnauthorizedUser` are never constructed [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RepoError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | NotEnoughOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Duplicate options are not allowed")] [INFO] [stdout] 20 | DuplicateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnauthorizedUser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_polls` is never used [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> PollRepo<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_all_polls(&self) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "113e0758014b58a6c55cea3388d846e8295a287ed085ec3e94a0229aebe4d86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "113e0758014b58a6c55cea3388d846e8295a287ed085ec3e94a0229aebe4d86f", kill_on_drop: false }` [INFO] [stdout] 113e0758014b58a6c55cea3388d846e8295a287ed085ec3e94a0229aebe4d86f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f1e373163c334d4db3d56d58f49fb35be2b9e8995d5d2abd7ff3e80d2f9053 [INFO] running `Command { std: "docker" "start" "-a" "01f1e373163c334d4db3d56d58f49fb35be2b9e8995d5d2abd7ff3e80d2f9053", kill_on_drop: false }` [INFO] [stderr] Compiling backend_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_session::Session` [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender` and `self` [INFO] [stdout] --> src/handlers/polls_handlers.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::{sync::{broadcast::{self, Sender}, Mutex}, time::timeout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware::Logger`, and `web::Html` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | middleware::Logger, web, web::Html, App, HttpRequest, HttpResponse, HttpServer, Responder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webauthn_rs_core::proto` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs_core::proto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | .map_err(|e| {Error::DeserialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|e| {Error::SerialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEnoughOptions`, `DuplicateOptions`, and `UnauthorizedUser` are never constructed [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RepoError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | NotEnoughOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Duplicate options are not allowed")] [INFO] [stdout] 20 | DuplicateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnauthorizedUser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_polls` is never used [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> PollRepo<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_all_polls(&self) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "01f1e373163c334d4db3d56d58f49fb35be2b9e8995d5d2abd7ff3e80d2f9053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f1e373163c334d4db3d56d58f49fb35be2b9e8995d5d2abd7ff3e80d2f9053", kill_on_drop: false }` [INFO] [stdout] 01f1e373163c334d4db3d56d58f49fb35be2b9e8995d5d2abd7ff3e80d2f9053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3107e8cefdb0aa5cf4eeb0fe3d1299eecb16e5dbd46ed86c1a41363f84eefad4 [INFO] running `Command { std: "docker" "start" "-a" "3107e8cefdb0aa5cf4eeb0fe3d1299eecb16e5dbd46ed86c1a41363f84eefad4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `actix_session::Session` [INFO] [stderr] --> src/db_operations_repo/poll_repo.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_session::Session; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sender` and `self` [INFO] [stderr] --> src/handlers/polls_handlers.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | use tokio::{sync::{broadcast::{self, Sender}, Mutex}, time::timeout}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `io` [INFO] [stderr] --> src/web_socket_handlers/start_connection.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | io, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware::Logger`, and `web::Html` [INFO] [stderr] --> src/web_socket_handlers/start_connection.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | middleware::Logger, web, web::Html, App, HttpRequest, HttpResponse, HttpServer, Responder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `webauthn_rs_core::proto` [INFO] [stderr] --> src/web_socket_handlers/start_connection.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use webauthn_rs_core::proto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers/handlers.rs:195:15 [INFO] [stderr] | [INFO] [stderr] 195 | .map_err(|e| {Error::DeserialisationError})?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers/handlers.rs:200:19 [INFO] [stderr] | [INFO] [stderr] 200 | .map_err(|e| {Error::SerialisationError})?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variants `NotEnoughOptions`, `DuplicateOptions`, and `UnauthorizedUser` are never constructed [INFO] [stderr] --> src/db_operations_repo/poll_repo.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum RepoError { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 18 | NotEnoughOptions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | #[error("Duplicate options are not allowed")] [INFO] [stderr] 20 | DuplicateOptions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | UnauthorizedUser [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RepoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_all_polls` is never used [INFO] [stderr] --> src/db_operations_repo/poll_repo.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 68 | impl<'a> PollRepo<'a> { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub async fn get_all_polls(&self) -> Result, RepoError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `backend_auth` (bin "backend_auth" test) generated 9 warnings (run `cargo fix --bin "backend_auth" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend_auth-3e8a615940fc8149) [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" "3107e8cefdb0aa5cf4eeb0fe3d1299eecb16e5dbd46ed86c1a41363f84eefad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3107e8cefdb0aa5cf4eeb0fe3d1299eecb16e5dbd46ed86c1a41363f84eefad4", kill_on_drop: false }` [INFO] [stdout] 3107e8cefdb0aa5cf4eeb0fe3d1299eecb16e5dbd46ed86c1a41363f84eefad4