[INFO] cloning repository https://github.com/lx200916/FishBone-Edge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lx200916/FishBone-Edge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flx200916%2FFishBone-Edge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flx200916%2FFishBone-Edge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85ef42a8df8b8fdd470a38402ecfde5b021315cf [INFO] checking lx200916/FishBone-Edge against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flx200916%2FFishBone-Edge" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lx200916/FishBone-Edge on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lx200916/FishBone-Edge [INFO] finished tweaking git repo https://github.com/lx200916/FishBone-Edge [INFO] tweaked toml for git repo https://github.com/lx200916/FishBone-Edge written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lx200916/FishBone-Edge 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded worker-macros v0.0.6 [INFO] [stderr] Downloaded worker-sys v0.0.6 [INFO] [stderr] Downloaded evpkdf v0.1.1 [INFO] [stderr] Downloaded base64 v0.5.2 [INFO] [stderr] Downloaded worker-kv v0.5.1 [INFO] [stderr] Downloaded worker v0.0.11 [INFO] [stderr] Downloaded rust-crypto-wasm v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29674476e0db54acf167fcfc5bd9dc9df9f45c0025c9f5608254c5cc5e6d9655 [INFO] running `Command { std: "docker" "start" "-a" "29674476e0db54acf167fcfc5bd9dc9df9f45c0025c9f5608254c5cc5e6d9655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29674476e0db54acf167fcfc5bd9dc9df9f45c0025c9f5608254c5cc5e6d9655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29674476e0db54acf167fcfc5bd9dc9df9f45c0025c9f5608254c5cc5e6d9655", kill_on_drop: false }` [INFO] [stdout] 29674476e0db54acf167fcfc5bd9dc9df9f45c0025c9f5608254c5cc5e6d9655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a852874e7600a62236fe83b32c2020d85be8ba138fef22f6897731a88dc0ca6 [INFO] running `Command { std: "docker" "start" "-a" "6a852874e7600a62236fe83b32c2020d85be8ba138fef22f6897731a88dc0ca6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling anyhow v1.0.63 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking base64 v0.5.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rust-crypto-wasm v0.3.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking evpkdf v0.1.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking prost v0.10.4 [INFO] [stderr] Compiling js-sys v0.3.60 [INFO] [stderr] Compiling web-sys v0.3.60 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.33 [INFO] [stderr] Compiling worker-sys v0.0.6 [INFO] [stderr] Compiling worker-macros v0.0.6 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking worker-kv v0.5.1 [INFO] [stderr] Checking wasm-streams v0.2.3 [INFO] [stderr] Checking worker v0.0.11 [INFO] [stderr] Checking wasi_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pb::*` [INFO] [stdout] --> src/api/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pb::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes::*` [INFO] [stdout] --> src/api/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/api/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/api/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decode` and `encode` [INFO] [stdout] --> src/api/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use base64::{decode, encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/api/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker::Fetcher` [INFO] [stdout] --> src/api/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use worker::Fetcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 53 | return Response::error("Invalid paste ID", 400); [INFO] [stdout] | ----------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 106 | Response::error("Bad Request", 400) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pb::*` [INFO] [stdout] --> src/api/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pb::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes::*` [INFO] [stdout] --> src/api/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/api/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/api/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decode` and `encode` [INFO] [stdout] --> src/api/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use base64::{decode, encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/api/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker::Fetcher` [INFO] [stdout] --> src/api/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use worker::Fetcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 53 | return Response::error("Invalid paste ID", 400); [INFO] [stdout] | ----------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 106 | Response::error("Bad Request", 400) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/aes.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/aes.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DeleteToken` is never constructed [INFO] [stdout] --> src/api/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum DeleteType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 16 | NoDelete, [INFO] [stdout] 17 | DeleteToken(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteType` 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: fields `delete_config` and `paste_type` are never read [INFO] [stdout] --> src/api/mod.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PasteConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub(crate) delete_config: DeleteType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub(crate) paste_type: PasteType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasteConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_base64` is never used [INFO] [stdout] --> src/pb/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Paste { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn to_base64(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_base64` and `to_base64` are never used [INFO] [stdout] --> src/pb/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl NewPaste { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn from_base64(text: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn to_base64(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pasteID` should have a snake case name [INFO] [stdout] --> src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(pasteID) = req.path().split("/").last() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `paste_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/aes.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/aes.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DeleteToken` is never constructed [INFO] [stdout] --> src/api/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum DeleteType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 16 | NoDelete, [INFO] [stdout] 17 | DeleteToken(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteType` 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: fields `delete_config` and `paste_type` are never read [INFO] [stdout] --> src/api/mod.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PasteConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub(crate) delete_config: DeleteType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub(crate) paste_type: PasteType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasteConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_encrypt` is never used [INFO] [stdout] --> src/api/aes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn aes_encrypt(content: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_base64` is never used [INFO] [stdout] --> src/pb/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Paste { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn to_base64(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_base64` and `to_base64` are never used [INFO] [stdout] --> src/pb/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl NewPaste { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn from_base64(text: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn to_base64(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pasteID` should have a snake case name [INFO] [stdout] --> src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(pasteID) = req.path().split("/").last() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `paste_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [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" "6a852874e7600a62236fe83b32c2020d85be8ba138fef22f6897731a88dc0ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a852874e7600a62236fe83b32c2020d85be8ba138fef22f6897731a88dc0ca6", kill_on_drop: false }` [INFO] [stdout] 6a852874e7600a62236fe83b32c2020d85be8ba138fef22f6897731a88dc0ca6