[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#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F00benallen%2Fmedioxide" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/00benallen/medioxide on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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-3/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f41518bde2eac20f1f410677f49c966fe0e74866f4ac691c26df16301566015 [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" "0f41518bde2eac20f1f410677f49c966fe0e74866f4ac691c26df16301566015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f41518bde2eac20f1f410677f49c966fe0e74866f4ac691c26df16301566015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f41518bde2eac20f1f410677f49c966fe0e74866f4ac691c26df16301566015", kill_on_drop: false }` [INFO] [stdout] 0f41518bde2eac20f1f410677f49c966fe0e74866f4ac691c26df16301566015 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42ebd7aa2c94ee1d2f8156fa4e432b3303cea2864362a765993598f329a43543 [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" "42ebd7aa2c94ee1d2f8156fa4e432b3303cea2864362a765993598f329a43543", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling yansi v0.4.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Checking byteorder v1.3.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking backtrace v0.3.32 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.1 [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: 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: 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: 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 42s [INFO] running `Command { std: "docker" "inspect" "42ebd7aa2c94ee1d2f8156fa4e432b3303cea2864362a765993598f329a43543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ebd7aa2c94ee1d2f8156fa4e432b3303cea2864362a765993598f329a43543", kill_on_drop: false }` [INFO] [stdout] 42ebd7aa2c94ee1d2f8156fa4e432b3303cea2864362a765993598f329a43543