[INFO] updating cached repository https://github.com/Bogay/create-co-write-for-tgdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 438279af8360bf683b48644913e3c93a76006110 [INFO] checking Bogay/create-co-write-for-tgdf/438279af8360bf683b48644913e3c93a76006110 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fcreate-co-write-for-tgdf" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bogay/create-co-write-for-tgdf on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bogay/create-co-write-for-tgdf [INFO] finished tweaking git repo https://github.com/Bogay/create-co-write-for-tgdf [INFO] tweaked toml for git repo https://github.com/Bogay/create-co-write-for-tgdf written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bogay/create-co-write-for-tgdf 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 082de8bbdb74e451d008939f68ea65c9fb34aaad7b91dd56def7b2c270b0ae66 [INFO] running `Command { std: "docker" "start" "-a" "082de8bbdb74e451d008939f68ea65c9fb34aaad7b91dd56def7b2c270b0ae66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "082de8bbdb74e451d008939f68ea65c9fb34aaad7b91dd56def7b2c270b0ae66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082de8bbdb74e451d008939f68ea65c9fb34aaad7b91dd56def7b2c270b0ae66", kill_on_drop: false }` [INFO] [stdout] 082de8bbdb74e451d008939f68ea65c9fb34aaad7b91dd56def7b2c270b0ae66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28e98ba315df41f5bac693305f9d330178dedb60eeeb485d88a673e9665f05ec [INFO] running `Command { std: "docker" "start" "-a" "28e98ba315df41f5bac693305f9d330178dedb60eeeb485d88a673e9665f05ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.174 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking iter_tools v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking globset v0.4.11 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking pest v2.7.1 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking scraper v0.13.0 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Checking tera v1.19.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking create-co-write-for-tgdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/hackmd/team.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/hackmd/user.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/hackmd/team.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/hackmd/user.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `team` is never used [INFO] [stdout] --> src/hackmd/client.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `comment_permission`, `read_permission`, and `write_permission` are never used [INFO] [stdout] --> src/hackmd/note.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> NoteBuilder<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn title(mut self, title: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn comment_permission(mut self, comment_permission: permission::Comment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn read_permission(mut self, read_permission: permission::Read) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn write_permission(mut self, write_permission: permission::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `id` are never read [INFO] [stdout] --> src/hackmd/note.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct UpdateNote<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 67 | #[serde(skip)] [INFO] [stdout] 68 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | #[serde(skip)] [INFO] [stdout] 70 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateNote` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `content`, `read_permission`, `write_permission`, `permalink`, and `done` are never used [INFO] [stdout] --> src/hackmd/note.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'a> UpdateNote<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 80 | pub fn new(client: &'a Client, id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn read_permission(mut self, read_permission: permission::Read) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn write_permission(mut self, write_permission: permission::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn permalink(mut self, permalink: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn done(self) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_list`, `delete`, and `update` are never used [INFO] [stdout] --> src/hackmd/note.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a> NoteApi<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn get(&self, id: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn get_list(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub async fn delete(&self, id: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hackmd/team.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | #[serde(rename = "ownerId")] [INFO] [stdout] 8 | owner_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | logo: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | visibility: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | #[serde(rename = "createdAt")] [INFO] [stdout] 15 | created_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TeamApi` is never constructed [INFO] [stdout] --> src/hackmd/team.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TeamApi<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_list` are never used [INFO] [stdout] --> src/hackmd/team.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> TeamApi<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | pub(crate) fn new(client: &'a Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_list(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `email`, `user_path`, `photo`, and `teams` are never read [INFO] [stdout] --> src/hackmd/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | #[serde(rename = "userPath")] [INFO] [stdout] 11 | user_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | photo: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `team` is never used [INFO] [stdout] --> src/hackmd/client.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `comment_permission`, `read_permission`, and `write_permission` are never used [INFO] [stdout] --> src/hackmd/note.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> NoteBuilder<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn title(mut self, title: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn comment_permission(mut self, comment_permission: permission::Comment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn read_permission(mut self, read_permission: permission::Read) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn write_permission(mut self, write_permission: permission::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `id` are never read [INFO] [stdout] --> src/hackmd/note.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct UpdateNote<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 67 | #[serde(skip)] [INFO] [stdout] 68 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | #[serde(skip)] [INFO] [stdout] 70 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateNote` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `content`, `read_permission`, `write_permission`, `permalink`, and `done` are never used [INFO] [stdout] --> src/hackmd/note.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'a> UpdateNote<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 80 | pub fn new(client: &'a Client, id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn read_permission(mut self, read_permission: permission::Read) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn write_permission(mut self, write_permission: permission::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn permalink(mut self, permalink: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn done(self) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_list`, `delete`, and `update` are never used [INFO] [stdout] --> src/hackmd/note.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a> NoteApi<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn get(&self, id: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn get_list(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub async fn delete(&self, id: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hackmd/team.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | #[serde(rename = "ownerId")] [INFO] [stdout] 8 | owner_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | logo: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | visibility: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | #[serde(rename = "createdAt")] [INFO] [stdout] 15 | created_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TeamApi` is never constructed [INFO] [stdout] --> src/hackmd/team.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TeamApi<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_list` are never used [INFO] [stdout] --> src/hackmd/team.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> TeamApi<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | pub(crate) fn new(client: &'a Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_list(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `email`, `user_path`, `photo`, and `teams` are never read [INFO] [stdout] --> src/hackmd/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | #[serde(rename = "userPath")] [INFO] [stdout] 11 | user_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | photo: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.90s [INFO] running `Command { std: "docker" "inspect" "28e98ba315df41f5bac693305f9d330178dedb60eeeb485d88a673e9665f05ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e98ba315df41f5bac693305f9d330178dedb60eeeb485d88a673e9665f05ec", kill_on_drop: false }` [INFO] [stdout] 28e98ba315df41f5bac693305f9d330178dedb60eeeb485d88a673e9665f05ec