[INFO] updating cached repository https://github.com/00benallen/medioxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7fca00e8c849510fa7d620e4fc574fc3c11bcbc [INFO] checking 00benallen/medioxide against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F00benallen%2Fmedioxide" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/00benallen/medioxide on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/00benallen/medioxide [INFO] finished tweaking git repo https://github.com/00benallen/medioxide [INFO] tweaked toml for git repo https://github.com/00benallen/medioxide written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/00benallen/medioxide already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77575030902e8fb999d3f9de14292a7aefaeee70bfac472dc2ac1fb769ccea2f [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" "77575030902e8fb999d3f9de14292a7aefaeee70bfac472dc2ac1fb769ccea2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77575030902e8fb999d3f9de14292a7aefaeee70bfac472dc2ac1fb769ccea2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77575030902e8fb999d3f9de14292a7aefaeee70bfac472dc2ac1fb769ccea2f", kill_on_drop: false }` [INFO] [stdout] 77575030902e8fb999d3f9de14292a7aefaeee70bfac472dc2ac1fb769ccea2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b597b5b2c250d69ed1f7313cc030ea161358e0a73a4c9cc085ec1038bb01ffd2 [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" "b597b5b2c250d69ed1f7313cc030ea161358e0a73a4c9cc085ec1038bb01ffd2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling backtrace-sys v0.1.29 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking backtrace v0.3.32 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking medioxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/http.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rocket` [INFO] [stdout] --> src/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Rocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/http.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rocket` [INFO] [stdout] --> src/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Rocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/http.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_file(file_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/http.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn upload_pdf(file_id: String, data: Data) -> io::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_file_by_path(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/file_manager.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_path_by_id(&self, id: &str) -> Result<&'static Path> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_id_from_path(&self, path: &Path) -> Result<&str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/http.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_file(file_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/http.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn upload_pdf(file_id: String, data: Data) -> io::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_file_by_path(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/file_manager.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_path_by_id(&self, id: &str) -> Result<&'static Path> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_id_from_path(&self, path: &Path) -> Result<&str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `media_folder` [INFO] [stdout] --> src/http.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | media_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_manager.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | File::create(index_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `media_folder` [INFO] [stdout] --> src/http.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | media_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_manager.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | File::create(index_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MediaServer` [INFO] [stdout] --> src/bin/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | MediaServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MediaServer` [INFO] [stdout] --> src/bin/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | MediaServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "b597b5b2c250d69ed1f7313cc030ea161358e0a73a4c9cc085ec1038bb01ffd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b597b5b2c250d69ed1f7313cc030ea161358e0a73a4c9cc085ec1038bb01ffd2", kill_on_drop: false }` [INFO] [stdout] b597b5b2c250d69ed1f7313cc030ea161358e0a73a4c9cc085ec1038bb01ffd2