[INFO] cloning 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" "clone" "--bare" "https://github.com/Bogay/create-co-write-for-tgdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fcreate-co-write-for-tgdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fcreate-co-write-for-tgdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 438279af8360bf683b48644913e3c93a76006110 [INFO] building Bogay/create-co-write-for-tgdf against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fcreate-co-write-for-tgdf" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bogay/create-co-write-for-tgdf on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded tempfile v3.7.0 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded globset v0.4.11 [INFO] [stderr] Downloaded pest_generator v2.7.1 [INFO] [stderr] Downloaded dtoa-short v0.3.4 [INFO] [stderr] Downloaded uncased v0.9.9 [INFO] [stderr] Downloaded chrono-tz-build v0.0.2 [INFO] [stderr] Downloaded ignore v0.4.20 [INFO] [stderr] Downloaded ego-tree v0.6.2 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] [stderr] Downloaded serde_derive v1.0.174 [INFO] [stderr] Downloaded serde_json v1.0.103 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded syn v2.0.27 [INFO] [stderr] Downloaded tera v1.19.0 [INFO] [stderr] Downloaded scraper v0.13.0 [INFO] [stderr] Downloaded libm v0.2.7 [INFO] [stderr] Downloaded pest v2.7.1 [INFO] [stderr] Downloaded pest_derive v2.7.1 [INFO] [stderr] Downloaded serde v1.0.174 [INFO] [stderr] Downloaded iter_tools v0.1.4 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded pest_meta v2.7.1 [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded chrono-tz v0.6.1 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded bstr v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b17732e2971c4439b04e7ab55216763ded9e615a7343916a01f0aa38851a7697 [INFO] running `Command { std: "docker" "start" "-a" "b17732e2971c4439b04e7ab55216763ded9e615a7343916a01f0aa38851a7697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b17732e2971c4439b04e7ab55216763ded9e615a7343916a01f0aa38851a7697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b17732e2971c4439b04e7ab55216763ded9e615a7343916a01f0aa38851a7697", kill_on_drop: false }` [INFO] [stdout] b17732e2971c4439b04e7ab55216763ded9e615a7343916a01f0aa38851a7697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f24551efdda4a7b2cdcbd7c8485d7bfd4d971d2c61a3e94bb1c202759b886cb5 [INFO] running `Command { std: "docker" "start" "-a" "f24551efdda4a7b2cdcbd7c8485d7bfd4d971d2c61a3e94bb1c202759b886cb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.174 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling iter_tools v0.1.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling globset v0.4.11 [INFO] [stderr] Compiling pest v2.7.1 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [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] Compiling phf v0.8.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Compiling tera v1.19.0 [INFO] [stderr] Compiling scraper v0.13.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `UpdateNote` is never constructed [INFO] [stdout] --> src/hackmd/note.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct UpdateNote<'a> { [INFO] [stdout] | ^^^^^^^^^^ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn note(&self) -> NoteApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn note(&self) -> NoteApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn user(&self) -> UserApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn user(&self) -> UserApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/note.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn builder(&self) -> NoteBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn builder(&self) -> NoteBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/note.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "f24551efdda4a7b2cdcbd7c8485d7bfd4d971d2c61a3e94bb1c202759b886cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24551efdda4a7b2cdcbd7c8485d7bfd4d971d2c61a3e94bb1c202759b886cb5", kill_on_drop: false }` [INFO] [stdout] f24551efdda4a7b2cdcbd7c8485d7bfd4d971d2c61a3e94bb1c202759b886cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78adfe04498e3b9475c3392cc9ec0720357400e6349efad35c1cd16589182d75 [INFO] running `Command { std: "docker" "start" "-a" "78adfe04498e3b9475c3392cc9ec0720357400e6349efad35c1cd16589182d75", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `UpdateNote` is never constructed [INFO] [stdout] --> src/hackmd/note.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct UpdateNote<'a> { [INFO] [stdout] | ^^^^^^^^^^ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn note(&self) -> NoteApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn note(&self) -> NoteApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn user(&self) -> UserApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn user(&self) -> UserApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/client.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn team(&self) -> TeamApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/note.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn builder(&self) -> NoteBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn builder(&self) -> NoteBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hackmd/note.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 197 | pub fn update(&self, id: String) -> UpdateNote<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "78adfe04498e3b9475c3392cc9ec0720357400e6349efad35c1cd16589182d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78adfe04498e3b9475c3392cc9ec0720357400e6349efad35c1cd16589182d75", kill_on_drop: false }` [INFO] [stdout] 78adfe04498e3b9475c3392cc9ec0720357400e6349efad35c1cd16589182d75