[INFO] cloning repository https://github.com/TECHFUND/hiwrite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TECHFUND/hiwrite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTECHFUND%2Fhiwrite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTECHFUND%2Fhiwrite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc94ab1ef87b5bfad0ee48bee3f86bf24df1f13e [INFO] testing TECHFUND/hiwrite against 1.73.0 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTECHFUND%2Fhiwrite" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TECHFUND/hiwrite on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TECHFUND/hiwrite [INFO] finished tweaking git repo https://github.com/TECHFUND/hiwrite [INFO] tweaked toml for git repo https://github.com/TECHFUND/hiwrite written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TECHFUND/hiwrite 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.6.0 [INFO] [stderr] Downloaded actix-ratelimit v0.3.1 [INFO] [stderr] Downloaded is_superuser v1.0.1 [INFO] [stderr] Downloaded actix-cors v0.5.4 [INFO] [stderr] Downloaded paperclip-macros v0.4.0 [INFO] [stderr] Downloaded paperclip-core v0.3.0 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded memcache v0.15.2 [INFO] [stderr] Downloaded redis v0.15.1 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded r2d2-memcache v0.6.0 [INFO] [stderr] Downloaded paperclip v0.5.0 [INFO] [stderr] Downloaded argon2 v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a639c8ea89ba63bf060754214b39663f0b2da670bb99ee96537315d7d7f0b059 [INFO] running `Command { std: "docker" "start" "-a" "a639c8ea89ba63bf060754214b39663f0b2da670bb99ee96537315d7d7f0b059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a639c8ea89ba63bf060754214b39663f0b2da670bb99ee96537315d7d7f0b059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a639c8ea89ba63bf060754214b39663f0b2da670bb99ee96537315d7d7f0b059", kill_on_drop: false }` [INFO] [stdout] a639c8ea89ba63bf060754214b39663f0b2da670bb99ee96537315d7d7f0b059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e11af898c457008120392c9669bfc70f6c096911bf003214e7892ed8c4ff729c [INFO] running `Command { std: "docker" "start" "-a" "e11af898c457008120392c9669bfc70f6c096911bf003214e7892ed8c4ff729c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling openssl-src v111.25.3+1.1.1t [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl v0.10.52 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling backoff v0.2.1 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling argon2 v0.2.4 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling is_superuser v1.0.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Compiling enum_dispatch v0.3.11 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling toml_edit v0.18.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling zip v0.6.4 [INFO] [stderr] Compiling toml v0.6.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling memcache v0.15.2 [INFO] [stderr] Compiling r2d2-memcache v0.6.0 [INFO] [stderr] Compiling actix-ratelimit v0.3.1 [INFO] [stderr] Compiling hiwrite v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/user/controller/signup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::login_res::login_res` [INFO] [stdout] --> src/user/controller/signup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::login_res::login_res; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::error` [INFO] [stdout] --> src/user/controller/signup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::plugin::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::auth::ErrorCodes` [INFO] [stdout] --> src/user/controller/signup.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::auth::ErrorCodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::Argon2` [INFO] [stdout] --> src/user/controller/signup.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use argon2::Argon2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::PasswordHash` [INFO] [stdout] --> src/user/controller/signup.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use argon2::PasswordHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::PasswordVerifier` [INFO] [stdout] --> src/user/controller/signup.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use argon2::PasswordVerifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/plugin/metadata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/plugin/plugin.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use libloading::{Library, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/plugin/plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/plugin/plugin.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/plugin/plugin.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self` [INFO] [stdout] --> src/plugin/plugin.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::ErrorKind::{self, *}; [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::error::PluginErrorCodes` [INFO] [stdout] --> src/plugin/plugin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::plugin::error::PluginErrorCodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::HiWriteHook` [INFO] [stdout] --> src/plugin/plugin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plugin::HiWriteHook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_response` [INFO] [stdout] --> src/user/controller/login.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cookie_response = HttpResponse::Accepted().cookie(cookie.clone()).finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_response` [INFO] [stdout] --> src/user/controller/login.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let cookie_response = HttpResponse::Ok().cookie(cookie.clone()).finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/plugin/manager.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plugin/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PluginErrorCodes { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | FailedToLoad, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | ParametersError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | NoSuchFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | PermissionDenied, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | MissingSymbol, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | FailedToInitialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | InternalError { err: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginErrorCodes` 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: multiple methods are never used [INFO] [stdout] --> src/plugin/manager.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Manager { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn init_plugin(&mut self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn register_plugin(&mut self, plugin: Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_entry_point(&mut self, entry_point: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_hook(&mut self, plugin: &Plugin, hook: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_custom_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn begin_plugin(&mut self, plugin: &mut Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub extern "C" fn shutdown(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read_from_str` and `load` are never used [INFO] [stdout] --> src/plugin/metadata.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PluginMetadata { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn read_from_str Deserialize<'a>>(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn load(plugin: &Plugin) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugin/impl.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Plugin { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 24 | fn load_archive + AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn load + AsRef>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(in crate::plugin) fn load_vhook(&self, fn_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub(crate) fn get_hook(&self, fn_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn get_custom_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_metadata(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn load_metadata(&mut self) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn is_function_available(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn is_metadata_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/plugin/manager.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | drop(plug); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut plugin::plugin::Plugin` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.15.1 [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" "e11af898c457008120392c9669bfc70f6c096911bf003214e7892ed8c4ff729c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11af898c457008120392c9669bfc70f6c096911bf003214e7892ed8c4ff729c", kill_on_drop: false }` [INFO] [stdout] e11af898c457008120392c9669bfc70f6c096911bf003214e7892ed8c4ff729c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb5c4d49730a5aaaa62c3c1aecda09173d7f09140c29d85311ec1dcd1391496 [INFO] running `Command { std: "docker" "start" "-a" "efb5c4d49730a5aaaa62c3c1aecda09173d7f09140c29d85311ec1dcd1391496", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling hiwrite v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/user/controller/signup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::login_res::login_res` [INFO] [stdout] --> src/user/controller/signup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::login_res::login_res; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::error` [INFO] [stdout] --> src/user/controller/signup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::plugin::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::auth::ErrorCodes` [INFO] [stdout] --> src/user/controller/signup.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::auth::ErrorCodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::Argon2` [INFO] [stdout] --> src/user/controller/signup.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use argon2::Argon2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::PasswordHash` [INFO] [stdout] --> src/user/controller/signup.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use argon2::PasswordHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::PasswordVerifier` [INFO] [stdout] --> src/user/controller/signup.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use argon2::PasswordVerifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/plugin/metadata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/plugin/plugin.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use libloading::{Library, Symbol}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/plugin/plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/plugin/plugin.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/plugin/plugin.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self` [INFO] [stdout] --> src/plugin/plugin.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::ErrorKind::{self, *}; [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::error::PluginErrorCodes` [INFO] [stdout] --> src/plugin/plugin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::plugin::error::PluginErrorCodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugin::HiWriteHook` [INFO] [stdout] --> src/plugin/plugin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plugin::HiWriteHook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_response` [INFO] [stdout] --> src/user/controller/login.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cookie_response = HttpResponse::Accepted().cookie(cookie.clone()).finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_response` [INFO] [stdout] --> src/user/controller/login.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let cookie_response = HttpResponse::Ok().cookie(cookie.clone()).finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/plugin/manager.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plugin/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PluginErrorCodes { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | FailedToLoad, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | ParametersError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | NoSuchFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | PermissionDenied, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | MissingSymbol, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | FailedToInitialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | InternalError { err: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginErrorCodes` 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: multiple methods are never used [INFO] [stdout] --> src/plugin/manager.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Manager { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn init_plugin(&mut self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn register_plugin(&mut self, plugin: Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_entry_point(&mut self, entry_point: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_hook(&mut self, plugin: &Plugin, hook: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_custom_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn begin_plugin(&mut self, plugin: &mut Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub extern "C" fn shutdown(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read_from_str` and `load` are never used [INFO] [stdout] --> src/plugin/metadata.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PluginMetadata { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn read_from_str Deserialize<'a>>(string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn load(plugin: &Plugin) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugin/impl.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Plugin { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 24 | fn load_archive + AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn load + AsRef>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(in crate::plugin) fn load_vhook(&self, fn_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub(crate) fn get_hook(&self, fn_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn get_custom_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_metadata(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn load_metadata(&mut self) -> Result<(), PluginErrorCodes> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn is_function_available(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn is_metadata_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/plugin/manager.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | drop(plug); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut plugin::plugin::Plugin` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.15.1 [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" "efb5c4d49730a5aaaa62c3c1aecda09173d7f09140c29d85311ec1dcd1391496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb5c4d49730a5aaaa62c3c1aecda09173d7f09140c29d85311ec1dcd1391496", kill_on_drop: false }` [INFO] [stdout] efb5c4d49730a5aaaa62c3c1aecda09173d7f09140c29d85311ec1dcd1391496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37b494d0a91f9c4ba439ba7a74c17f03bb75dcb9d0a73c40ebda7927262bcf8c [INFO] running `Command { std: "docker" "start" "-a" "37b494d0a91f9c4ba439ba7a74c17f03bb75dcb9d0a73c40ebda7927262bcf8c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ptr::null` [INFO] [stderr] --> src/user/controller/signup.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ptr::null; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::login_res::login_res` [INFO] [stderr] --> src/user/controller/signup.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use super::login_res::login_res; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::plugin::error` [INFO] [stderr] --> src/user/controller/signup.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::plugin::error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::auth::ErrorCodes` [INFO] [stderr] --> src/user/controller/signup.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::utils::auth::ErrorCodes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `argon2::Argon2` [INFO] [stderr] --> src/user/controller/signup.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use argon2::Argon2; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `argon2::PasswordHash` [INFO] [stderr] --> src/user/controller/signup.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use argon2::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `argon2::PasswordVerifier` [INFO] [stderr] --> src/user/controller/signup.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use argon2::PasswordVerifier; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/plugin/metadata.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Symbol` [INFO] [stderr] --> src/plugin/plugin.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use libloading::{Library, Symbol}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/plugin/plugin.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use std::env::{self}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::OsStr` [INFO] [stderr] --> src/plugin/plugin.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::ffi::OsStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/plugin/plugin.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::fs::{self, File}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `*`, `self` [INFO] [stderr] --> src/plugin/plugin.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io::ErrorKind::{self, *}; [INFO] [stderr] | ^^^^ ^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::plugin::error::PluginErrorCodes` [INFO] [stderr] --> src/plugin/plugin.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::plugin::error::PluginErrorCodes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::plugin::HiWriteHook` [INFO] [stderr] --> src/plugin/plugin.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::plugin::HiWriteHook; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookie_response` [INFO] [stderr] --> src/user/controller/login.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let cookie_response = HttpResponse::Accepted().cookie(cookie.clone()).finish(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookie_response` [INFO] [stderr] --> src/user/controller/login.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | let cookie_response = HttpResponse::Ok().cookie(cookie.clone()).finish(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/plugin/manager.rs:62:21 [INFO] [stderr] | [INFO] [stderr] 62 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/plugin/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum PluginErrorCodes { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 9 | FailedToLoad, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | ParametersError, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | NoSuchFile, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | PermissionDenied, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | MissingSymbol, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | FailedToInitialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | InternalError { err: String }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PluginErrorCodes` 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: multiple methods are never used [INFO] [stderr] --> src/plugin/manager.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Manager { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn init_plugin(&mut self, filename: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn register_plugin(&mut self, plugin: Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn set_entry_point(&mut self, entry_point: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn get_hook(&mut self, plugin: &Plugin, hook: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn get_custom_hook( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn begin_plugin(&mut self, plugin: &mut Plugin) -> Result<(), PluginErrorCodes> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub extern "C" fn shutdown(mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `read_from_str` and `load` are never used [INFO] [stderr] --> src/plugin/metadata.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl PluginMetadata { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 18 | pub fn read_from_str Deserialize<'a>>(string: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub(crate) fn load(plugin: &Plugin) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/plugin/impl.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 23 | impl Plugin { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 24 | fn load_archive + AsRef>( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn load + AsRef>( [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub(in crate::plugin) fn load_vhook(&self, fn_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub(crate) fn get_hook(&self, fn_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub(crate) fn get_custom_hook( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | pub fn get_metadata(&self) -> &Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | pub fn load_metadata(&mut self) -> Result<(), PluginErrorCodes> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | pub fn is_function_available(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 245 | pub fn is_metadata_loaded(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/plugin/manager.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | drop(plug); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut plugin::plugin::Plugin` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hiwrite` (bin "hiwrite" test) generated 23 warnings (run `cargo fix --bin "hiwrite" --tests` to apply 18 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.15.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hiwrite-a5d4ad043d66de82) [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" "37b494d0a91f9c4ba439ba7a74c17f03bb75dcb9d0a73c40ebda7927262bcf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b494d0a91f9c4ba439ba7a74c17f03bb75dcb9d0a73c40ebda7927262bcf8c", kill_on_drop: false }` [INFO] [stdout] 37b494d0a91f9c4ba439ba7a74c17f03bb75dcb9d0a73c40ebda7927262bcf8c