[INFO] cloning repository https://github.com/pweisdepp/CPSC5200_imageapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pweisdepp/CPSC5200_imageapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpweisdepp%2FCPSC5200_imageapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpweisdepp%2FCPSC5200_imageapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2e70ebf24ac80f68aefc171a88fb8e54140b68b [INFO] checking pweisdepp/CPSC5200_imageapi against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpweisdepp%2FCPSC5200_imageapi" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pweisdepp/CPSC5200_imageapi on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pweisdepp/CPSC5200_imageapi [INFO] finished tweaking git repo https://github.com/pweisdepp/CPSC5200_imageapi [INFO] tweaked toml for git repo https://github.com/pweisdepp/CPSC5200_imageapi written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/pweisdepp/CPSC5200_imageapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", 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] 140d032526fbd6c20e7509e3e8cde1b38fcee250cb8acb7c33a80ccaf43e097f [INFO] running `Command { std: "docker" "start" "-a" "140d032526fbd6c20e7509e3e8cde1b38fcee250cb8acb7c33a80ccaf43e097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "140d032526fbd6c20e7509e3e8cde1b38fcee250cb8acb7c33a80ccaf43e097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140d032526fbd6c20e7509e3e8cde1b38fcee250cb8acb7c33a80ccaf43e097f", kill_on_drop: false }` [INFO] [stdout] 140d032526fbd6c20e7509e3e8cde1b38fcee250cb8acb7c33a80ccaf43e097f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTUP_TOOLCHAIN=3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "-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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21415d6f3fc174a648dac8bb9797b5b0d8b76984ab16b76145ac1e4f9872d8ca [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" "21415d6f3fc174a648dac8bb9797b5b0d8b76984ab16b76145ac1e4f9872d8ca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking debug-helper v0.3.10 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crc-any v2.3.5 [INFO] [stderr] Checking rc-u8-reader v2.0.12 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking typenum v1.12.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.8 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Compiling educe v0.4.13 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.7 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking rocket-etag-if-none-match v0.3.5 [INFO] [stderr] Checking rocket-multipart-form-data v0.9.6 [INFO] [stderr] Checking rocket-raw-response v0.4.11 [INFO] [stderr] Checking rocket-include-static-resources v0.9.5 [INFO] [stderr] Checking CPSC5200_imageapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Request`, `Response`, `http::Status` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::{Data, Response, Request, http::ContentType, http::Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticResponse`, `static_resources_initialize`, `static_response` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket_include_static_resources::{StaticResponse, static_response, static_resources_initialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | ApiCommand::Rotate(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut parameters = match params { [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/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut img = raw.raw; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CPSC5200_imageapi` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `cpsc5200_imageapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | img.write_to(&mut buffer, format.unwrap()); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, `http::Status` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::{Data, Response, Request, http::ContentType, http::Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticResponse`, `static_resources_initialize`, `static_response` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket_include_static_resources::{StaticResponse, static_response, static_resources_initialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | ApiCommand::Rotate(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut parameters = match params { [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/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut img = raw.raw; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CPSC5200_imageapi` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `cpsc5200_imageapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | img.write_to(&mut buffer, format.unwrap()); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "21415d6f3fc174a648dac8bb9797b5b0d8b76984ab16b76145ac1e4f9872d8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21415d6f3fc174a648dac8bb9797b5b0d8b76984ab16b76145ac1e4f9872d8ca", kill_on_drop: false }` [INFO] [stdout] 21415d6f3fc174a648dac8bb9797b5b0d8b76984ab16b76145ac1e4f9872d8ca