[INFO] updating cached repository https://github.com/oeb25/riport [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] [stderr] From https://github.com/oeb25/riport [INFO] [stderr] * [new branch] dependabot/npm_and_yarn/frontend/lodash-4.17.19 -> dependabot/npm_and_yarn/frontend/lodash-4.17.19 [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 962a093c0fdcff7d0767efbebdf4b6eeb5b1ea92 [INFO] testing oeb25/riport against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Friport" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/riport on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/oeb25/riport [INFO] finished tweaking git repo https://github.com/oeb25/riport [INFO] tweaked toml for git repo https://github.com/oeb25/riport written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/oeb25/riport already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c434243b6986635cc937a4cf70ecdd45761f801447ed945d99982be29a41e66d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c434243b6986635cc937a4cf70ecdd45761f801447ed945d99982be29a41e66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c434243b6986635cc937a4cf70ecdd45761f801447ed945d99982be29a41e66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c434243b6986635cc937a4cf70ecdd45761f801447ed945d99982be29a41e66d", kill_on_drop: false }` [INFO] [stdout] c434243b6986635cc937a4cf70ecdd45761f801447ed945d99982be29a41e66d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f28b4f627a20c7e8bf833cbcec8ec9add1358f7184cf1c9041747a9a279d3a51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f28b4f627a20c7e8bf833cbcec8ec9add1358f7184cf1c9041747a9a279d3a51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling indexmap v1.1.0 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling v_escape_derive v0.5.5 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-rt v0.2.4 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling actix-connect v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling actix-http v0.2.9 [INFO] [stderr] Compiling pandoc_types v0.2.0 [INFO] [stderr] Compiling awc v0.2.4 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling actix-web v1.0.7 [INFO] [stderr] Compiling actix-web-actors v1.0.2 [INFO] [stderr] Compiling actix-files v0.1.4 [INFO] [stderr] Compiling riport-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ok` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::{ok, Future}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/client.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::project::file::{File, FileId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::project::{Project, ProjectId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/hub.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::project::{Project, ProjectId, ProjectInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/project/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/project/file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> src/project/file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/project/file.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::project::{Project, ProjectId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/project/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/project/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> src/project/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/project_actor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `join_all` [INFO] [stdout] --> src/project_actor.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{join_all, Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/project_actor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/project_actor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/project_actor.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | .then(move |res, act, _| match res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | .then(move |res, act, _| match res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | .map(move |project, act, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | .map(move |project, act, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiled` [INFO] [stdout] --> src/doc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let compiled = String::from_utf8_lossy(&out.stdout).to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> src/doc.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | let (output_name, output_path) = if cache.contains_key(&src_hash) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hub.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn load_project(&mut self, name: String, path: PathBuf) -> (ProjectId, Addr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/project/mod.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let id = project.new_file(name.to_string(), src); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/project/file.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write_to_disk(&self, dir: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/project_actor.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | ProjectActor::create(move |ctx| ProjectActor { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/project_actor.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | fn handle(&mut self, join: JoinProject, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project/mod.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut order = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project_actor.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut project = Project::read_from_disk(path, tmpdir).expect("failed to read from disk"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unlock` [INFO] [stdout] --> src/s2c.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Unlock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LockBy` [INFO] [stdout] --> src/s2c.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | LockBy {}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LockByMe` [INFO] [stdout] --> src/s2c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | LockByMe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileLock` [INFO] [stdout] --> src/s2c.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | FileLock { lock: Lock }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pdf` [INFO] [stdout] --> src/doc.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_pdf(pandoc: &Pandoc, root: &Path, pdf_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_config` [INFO] [stdout] --> src/project/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn generate_config(&self) -> ProjectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_pdf` [INFO] [stdout] --> src/project/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn create_pdf(&self, pdf_path: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 51s [INFO] running `Command { std: "docker" "inspect" "f28b4f627a20c7e8bf833cbcec8ec9add1358f7184cf1c9041747a9a279d3a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28b4f627a20c7e8bf833cbcec8ec9add1358f7184cf1c9041747a9a279d3a51", kill_on_drop: false }` [INFO] [stdout] f28b4f627a20c7e8bf833cbcec8ec9add1358f7184cf1c9041747a9a279d3a51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 373a8d55e935247d00140ee86ffd7cf35ee5538121d1ee1069a951e0a944ceb8 [INFO] running `Command { std: "docker" "start" "-a" "373a8d55e935247d00140ee86ffd7cf35ee5538121d1ee1069a951e0a944ceb8", kill_on_drop: false }` [INFO] [stderr] Compiling riport-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ok` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::{ok, Future}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/client.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::project::file::{File, FileId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::project::{Project, ProjectId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/hub.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::project::{Project, ProjectId, ProjectInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/project/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/project/file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> src/project/file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Project` [INFO] [stdout] --> src/project/file.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::project::{Project, ProjectId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/project/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/project/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> src/project/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/project_actor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `join_all` [INFO] [stdout] --> src/project_actor.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{join_all, Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/project_actor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/project_actor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/project_actor.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | .then(move |res, act, _| match res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | .then(move |res, act, _| match res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | .map(move |project, act, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/client.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | .map(move |project, act, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiled` [INFO] [stdout] --> src/doc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let compiled = String::from_utf8_lossy(&out.stdout).to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> src/doc.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | let (output_name, output_path) = if cache.contains_key(&src_hash) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hub.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn load_project(&mut self, name: String, path: PathBuf) -> (ProjectId, Addr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/project/mod.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let id = project.new_file(name.to_string(), src); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/project/file.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write_to_disk(&self, dir: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/project_actor.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | ProjectActor::create(move |ctx| ProjectActor { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/project_actor.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | fn handle(&mut self, join: JoinProject, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project/mod.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut order = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project_actor.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut project = Project::read_from_disk(path, tmpdir).expect("failed to read from disk"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unlock` [INFO] [stdout] --> src/s2c.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Unlock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LockBy` [INFO] [stdout] --> src/s2c.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | LockBy {}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LockByMe` [INFO] [stdout] --> src/s2c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | LockByMe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileLock` [INFO] [stdout] --> src/s2c.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | FileLock { lock: Lock }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pdf` [INFO] [stdout] --> src/doc.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_pdf(pandoc: &Pandoc, root: &Path, pdf_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_config` [INFO] [stdout] --> src/project/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn generate_config(&self) -> ProjectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_pdf` [INFO] [stdout] --> src/project/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn create_pdf(&self, pdf_path: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "373a8d55e935247d00140ee86ffd7cf35ee5538121d1ee1069a951e0a944ceb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373a8d55e935247d00140ee86ffd7cf35ee5538121d1ee1069a951e0a944ceb8", kill_on_drop: false }` [INFO] [stdout] 373a8d55e935247d00140ee86ffd7cf35ee5538121d1ee1069a951e0a944ceb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7db834859461328e94ca80dc11fce29122f967639c2eede7d990918f6450caa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7db834859461328e94ca80dc11fce29122f967639c2eede7d990918f6450caa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ok` [INFO] [stderr] --> src/main.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::future::{ok, Future}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `File` [INFO] [stderr] --> src/client.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::project::file::{File, FileId}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Project` [INFO] [stderr] --> src/client.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::project::{Project, ProjectId}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Project` [INFO] [stderr] --> src/hub.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::project::{Project, ProjectId, ProjectInfo}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/project/file.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/project/file.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::client::Client` [INFO] [stderr] --> src/project/file.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::client::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Project` [INFO] [stderr] --> src/project/file.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::project::{Project, ProjectId}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/project/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/project/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::client::Client` [INFO] [stderr] --> src/project/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::client::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/project_actor.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Future`, `join_all` [INFO] [stderr] --> src/project_actor.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{join_all, Future}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/project_actor.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/project_actor.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/project_actor.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/client.rs:106:30 [INFO] [stderr] | [INFO] [stderr] 106 | .then(move |res, act, _| match res { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/client.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | .then(move |res, act, _| match res { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/client.rs:161:33 [INFO] [stderr] | [INFO] [stderr] 161 | .map(move |project, act, _| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/client.rs:178:33 [INFO] [stderr] | [INFO] [stderr] 178 | .map(move |project, act, _| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compiled` [INFO] [stderr] --> src/doc.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let compiled = String::from_utf8_lossy(&out.stdout).to_string(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiled` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_path` [INFO] [stderr] --> src/doc.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | let (output_name, output_path) = if cache.contains_key(&src_hash) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/hub.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | fn load_project(&mut self, name: String, path: PathBuf) -> (ProjectId, Addr) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/project/mod.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | let id = project.new_file(name.to_string(), src); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/project/file.rs:54:33 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn write_to_disk(&self, dir: &Path) -> io::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/project_actor.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | ProjectActor::create(move |ctx| ProjectActor { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/project_actor.rs:134:45 [INFO] [stderr] | [INFO] [stderr] 134 | fn handle(&mut self, join: JoinProject, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/project/mod.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut order = vec![]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/project_actor.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | let mut project = Project::read_from_disk(path, tmpdir).expect("failed to read from disk"); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unlock` [INFO] [stderr] --> src/s2c.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Unlock, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LockBy` [INFO] [stderr] --> src/s2c.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | LockBy {}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LockByMe` [INFO] [stderr] --> src/s2c.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | LockByMe, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FileLock` [INFO] [stderr] --> src/s2c.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | FileLock { lock: Lock }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_pdf` [INFO] [stderr] --> src/doc.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn to_pdf(pandoc: &Pandoc, root: &Path, pdf_path: &Path) -> io::Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generate_config` [INFO] [stderr] --> src/project/mod.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn generate_config(&self) -> ProjectConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_pdf` [INFO] [stderr] --> src/project/mod.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | fn create_pdf(&self, pdf_path: PathBuf) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(async_await)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 37 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/riport_2-f4f4d7376c759a3c [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7db834859461328e94ca80dc11fce29122f967639c2eede7d990918f6450caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7db834859461328e94ca80dc11fce29122f967639c2eede7d990918f6450caa", kill_on_drop: false }` [INFO] [stdout] c7db834859461328e94ca80dc11fce29122f967639c2eede7d990918f6450caa