[INFO] cloning repository https://github.com/TokisakiYuu/markdown-storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TokisakiYuu/markdown-storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTokisakiYuu%2Fmarkdown-storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTokisakiYuu%2Fmarkdown-storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a8c0f64e73e37462862b7c9981a7572dac95076 [INFO] testing TokisakiYuu/markdown-storage against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTokisakiYuu%2Fmarkdown-storage" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TokisakiYuu/markdown-storage on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TokisakiYuu/markdown-storage [INFO] finished tweaking git repo https://github.com/TokisakiYuu/markdown-storage [INFO] tweaked toml for git repo https://github.com/TokisakiYuu/markdown-storage written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/TokisakiYuu/markdown-storage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cc883282a4de8239811c6e42278a0d9def4c1d1293310c348b761cb167e6a2c [INFO] running `Command { std: "docker" "start" "-a" "8cc883282a4de8239811c6e42278a0d9def4c1d1293310c348b761cb167e6a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cc883282a4de8239811c6e42278a0d9def4c1d1293310c348b761cb167e6a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc883282a4de8239811c6e42278a0d9def4c1d1293310c348b761cb167e6a2c", kill_on_drop: false }` [INFO] [stdout] 8cc883282a4de8239811c6e42278a0d9def4c1d1293310c348b761cb167e6a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf2eb4d33ad868b865166e0fd9632ac781db66f64d375ac109aa866dd0ee063c [INFO] running `Command { std: "docker" "start" "-a" "cf2eb4d33ad868b865166e0fd9632ac781db66f64d375ac109aa866dd0ee063c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling smartstring v0.2.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling jammdb v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling markdown v0.3.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling juniper_codegen v0.15.7 (https://github.com/graphql-rust/juniper#39d1e434) [INFO] [stderr] Compiling enum-iterator v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling markdown-parser v0.1.2 [INFO] [stderr] Compiling jsonrpc-server-utils v18.0.0 [INFO] [stderr] Compiling juniper v0.15.7 (https://github.com/graphql-rust/juniper#39d1e434) [INFO] [stderr] Compiling jsonrpc-http-server v18.0.0 [INFO] [stderr] Compiling markdown-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `db::MDDB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::MDDB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_http_server::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpc_http_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_http_server::jsonrpc_core::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jsonrpc_http_server::jsonrpc_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_http_server::jsonrpc_core::serde_json::json` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use jsonrpc_http_server::jsonrpc_core::serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MDDB` [INFO] [stdout] --> src/db.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MDDB { [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: `open` [INFO] [stdout] --> src/db.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn open() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_markdown` [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn save_markdown(&self, content: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_metadata` [INFO] [stdout] --> src/db.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | fn save_metadata(&self, hash: &String, data: &MarkdownMetadata) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_source` [INFO] [stdout] --> src/db.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | fn save_source(&self, hash: &String, content: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_markdown` [INFO] [stdout] --> src/db.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_markdown(content: String) -> (MarkdownMetadata, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_markdown` [INFO] [stdout] --> src/db.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_markdown(&self, hash: &str) -> Option<(MarkdownMetadata, String)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_metadata` [INFO] [stdout] --> src/db.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_metadata(&self, hash: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_source` [INFO] [stdout] --> src/db.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_source(&self, hash: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `users` [INFO] [stdout] --> src/graphql/objects.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | users: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ctx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphql/objects.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.47s [INFO] running `Command { std: "docker" "inspect" "cf2eb4d33ad868b865166e0fd9632ac781db66f64d375ac109aa866dd0ee063c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2eb4d33ad868b865166e0fd9632ac781db66f64d375ac109aa866dd0ee063c", kill_on_drop: false }` [INFO] [stdout] cf2eb4d33ad868b865166e0fd9632ac781db66f64d375ac109aa866dd0ee063c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c963c71ccc00210ceb2639694246702588a5a2717b37b3e432d0543bcbf88d [INFO] running `Command { std: "docker" "start" "-a" "e8c963c71ccc00210ceb2639694246702588a5a2717b37b3e432d0543bcbf88d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling markdown-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `db::MDDB` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::MDDB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_http_server::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpc_http_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_http_server::jsonrpc_core::serde_json::json` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use jsonrpc_http_server::jsonrpc_core::serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MDDB` [INFO] [stdout] --> src/db.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MDDB { [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: `open` [INFO] [stdout] --> src/db.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn open() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_markdown` [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn save_markdown(&self, content: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_metadata` [INFO] [stdout] --> src/db.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | fn save_metadata(&self, hash: &String, data: &MarkdownMetadata) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_source` [INFO] [stdout] --> src/db.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | fn save_source(&self, hash: &String, content: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_markdown` [INFO] [stdout] --> src/db.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_markdown(content: String) -> (MarkdownMetadata, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_markdown` [INFO] [stdout] --> src/db.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_markdown(&self, hash: &str) -> Option<(MarkdownMetadata, String)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_metadata` [INFO] [stdout] --> src/db.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_metadata(&self, hash: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_source` [INFO] [stdout] --> src/db.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_source(&self, hash: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `users` [INFO] [stdout] --> src/graphql/objects.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | users: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ctx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphql/objects.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 42s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/markdown_storage-2272a8bcce455472) [INFO] running `Command { std: "docker" "inspect" "e8c963c71ccc00210ceb2639694246702588a5a2717b37b3e432d0543bcbf88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c963c71ccc00210ceb2639694246702588a5a2717b37b3e432d0543bcbf88d", kill_on_drop: false }` [INFO] [stdout] e8c963c71ccc00210ceb2639694246702588a5a2717b37b3e432d0543bcbf88d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a7e03bf9012836ec6ccf1a8aeaae2a0c06f401134b7da5bcf8357c71cd1ff98 [INFO] running `Command { std: "docker" "start" "-a" "2a7e03bf9012836ec6ccf1a8aeaae2a0c06f401134b7da5bcf8357c71cd1ff98", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `db::MDDB` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use db::MDDB; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonrpc_http_server::*` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpc_http_server::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonrpc_http_server::jsonrpc_core::serde_json::json` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpc_http_server::jsonrpc_core::serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex` [INFO] [stderr] --> src/main.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MDDB` [INFO] [stderr] --> src/db.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MDDB { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `open` [INFO] [stderr] --> src/db.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn open() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save_markdown` [INFO] [stderr] --> src/db.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn save_markdown(&self, content: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save_metadata` [INFO] [stderr] --> src/db.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | fn save_metadata(&self, hash: &String, data: &MarkdownMetadata) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save_source` [INFO] [stderr] --> src/db.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | fn save_source(&self, hash: &String, content: String) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_markdown` [INFO] [stderr] --> src/db.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | fn parse_markdown(content: String) -> (MarkdownMetadata, String) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_markdown` [INFO] [stderr] --> src/db.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn get_markdown(&self, hash: &str) -> Option<(MarkdownMetadata, String)> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_metadata` [INFO] [stderr] --> src/db.rs:80:6 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_metadata(&self, hash: &String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_source` [INFO] [stderr] --> src/db.rs:95:6 [INFO] [stderr] | [INFO] [stderr] 95 | fn get_source(&self, hash: &String) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `users` [INFO] [stderr] --> src/graphql/objects.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | users: HashMap [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Ctx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphql/objects.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `markdown-storage` (bin "markdown-storage" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/markdown_storage-2272a8bcce455472) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test graphql::schema::tests::query_tag ... ok [INFO] [stdout] test graphql::schema::tests::create_article ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a7e03bf9012836ec6ccf1a8aeaae2a0c06f401134b7da5bcf8357c71cd1ff98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7e03bf9012836ec6ccf1a8aeaae2a0c06f401134b7da5bcf8357c71cd1ff98", kill_on_drop: false }` [INFO] [stdout] 2a7e03bf9012836ec6ccf1a8aeaae2a0c06f401134b7da5bcf8357c71cd1ff98