[INFO] cloning repository https://github.com/GEGAKE/basedboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GEGAKE/basedboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Fbasedboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Fbasedboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad81e61f48021df11a8291bd2f9e691f16cccca0 [INFO] checking GEGAKE/basedboard against master#32c26302620b2dbbe0a2291f1969bc0b1622ae59 for pr-95755 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Fbasedboard" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GEGAKE/basedboard on toolchain 32c26302620b2dbbe0a2291f1969bc0b1622ae59 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GEGAKE/basedboard [INFO] finished tweaking git repo https://github.com/GEGAKE/basedboard [INFO] tweaked toml for git repo https://github.com/GEGAKE/basedboard written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/GEGAKE/basedboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating git repository `https://github.com/mackwic/colored` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket-basicauth v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d07da55370cb66341bfd7e7d74efc82fd38516eb3bd1c6b10d40d0c681dabb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3d07da55370cb66341bfd7e7d74efc82fd38516eb3bd1c6b10d40d0c681dabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d07da55370cb66341bfd7e7d74efc82fd38516eb3bd1c6b10d40d0c681dabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d07da55370cb66341bfd7e7d74efc82fd38516eb3bd1c6b10d40d0c681dabb", kill_on_drop: false }` [INFO] [stdout] e3d07da55370cb66341bfd7e7d74efc82fd38516eb3bd1c6b10d40d0c681dabb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+32c26302620b2dbbe0a2291f1969bc0b1622ae59" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8029df0ff5643a346d413d9ef4b93be4edc05bde476544c5d4ef6c10e5d91794 [INFO] running `Command { std: "docker" "start" "-a" "8029df0ff5643a346d413d9ef4b93be4edc05bde476544c5d4ef6c10e5d91794", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling include_dir_macros v0.7.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking colored v2.0.0 (https://github.com/mackwic/colored#015f2a58) [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking include_dir v0.7.2 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking rocket-basicauth v2.1.1 [INFO] [stderr] Checking board3x100 v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format`, `process` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::format,thread,process,time}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `self` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{self,Receiver,Sender}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `hash`, `io`, `path` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io,fs,path,hash}; [INFO] [stdout] | ^^ ^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Outcome` [INFO] [stdout] --> src/utils.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | use rocket::request::{FromRequest, Outcome}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/utils.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `iter::Inspect` [INFO] [stdout] --> src/utils.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | iter::Inspect, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | time::{self, Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `embed`, `executer` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::{executer,embed}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/site/utils.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{time,thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/site/utils.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash,Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/site/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/site/utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NEW_SIGNED` should have an upper camel case name [INFO] [stdout] --> src/site/utils.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | NEW_SIGNED = 2, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NewSigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OLD_SIGNED` should have an upper camel case name [INFO] [stdout] --> src/site/utils.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | OLD_SIGNED = 3 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OldSigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format`, `process` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::format,thread,process,time}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `self` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{self,Receiver,Sender}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `hash`, `io`, `path` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io,fs,path,hash}; [INFO] [stdout] | ^^ ^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Outcome` [INFO] [stdout] --> src/utils.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | use rocket::request::{FromRequest, Outcome}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/utils.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `iter::Inspect` [INFO] [stdout] --> src/utils.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | iter::Inspect, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 121 | time::{self, Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `embed`, `executer` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::{executer,embed}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/site/utils.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{time,thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/site/utils.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash,Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/site/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/site/utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NEW_SIGNED` should have an upper camel case name [INFO] [stdout] --> src/site/utils.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | NEW_SIGNED = 2, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NewSigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OLD_SIGNED` should have an upper camel case name [INFO] [stdout] --> src/site/utils.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | OLD_SIGNED = 3 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OldSigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/site/utils.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash,Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/site/utils.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash,Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/site.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let r = rocket::ignite() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/site.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let r = thread::spawn(|| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bruh` [INFO] [stdout] --> src/site/index.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | for bruh in 1..3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bruh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/site.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let r = rocket::ignite() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/site.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let r = thread::spawn(|| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bruh` [INFO] [stdout] --> src/site/index.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | for bruh in 1..3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bruh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut process = process::Command::new("sh") [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut process = process::Command::new("sh") [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invalid_arguments` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn invalid_arguments() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_crypted` [INFO] [stdout] --> src/utils.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | fn from_crypted(crypt_command: String) -> BasedProcessInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invalid_arguments` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn invalid_arguments() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/utils.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | code: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_crypted` [INFO] [stdout] --> src/utils.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | fn from_crypted(crypt_command: String) -> BasedProcessInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/utils.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | code: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsernameInvalid` [INFO] [stdout] --> src/utils.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | UsernameInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsernameInvalid` [INFO] [stdout] --> src/utils.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | UsernameInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TotpInvalid` [INFO] [stdout] --> src/utils.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | TotpInvalid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TotpInvalid` [INFO] [stdout] --> src/utils.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | TotpInvalid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `page` should have an upper case name [INFO] [stdout] --> src/utils.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | static page: Dir = include_dir!("page/"); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PAGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `page` should have an upper case name [INFO] [stdout] --> src/utils.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | static page: Dir = include_dir!("page/"); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PAGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 01s [INFO] running `Command { std: "docker" "inspect" "8029df0ff5643a346d413d9ef4b93be4edc05bde476544c5d4ef6c10e5d91794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8029df0ff5643a346d413d9ef4b93be4edc05bde476544c5d4ef6c10e5d91794", kill_on_drop: false }` [INFO] [stdout] 8029df0ff5643a346d413d9ef4b93be4edc05bde476544c5d4ef6c10e5d91794