[INFO] cloning repository https://github.com/arturmazurek/shrimp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arturmazurek/shrimp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturmazurek%2Fshrimp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturmazurek%2Fshrimp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92b675f9807706e43e88887b6f17329b3ebda903 [INFO] checking arturmazurek/shrimp/92b675f9807706e43e88887b6f17329b3ebda903 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farturmazurek%2Fshrimp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arturmazurek/shrimp on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arturmazurek/shrimp [INFO] finished tweaking git repo https://github.com/arturmazurek/shrimp [INFO] tweaked toml for git repo https://github.com/arturmazurek/shrimp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arturmazurek/shrimp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.1 [INFO] [stderr] Downloaded devise v0.3.0 [INFO] [stderr] Downloaded devise_codegen v0.3.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.6 [INFO] [stderr] Downloaded yansi v0.5.0 [INFO] [stderr] Downloaded inlinable_string v0.1.14 [INFO] [stderr] Downloaded ref-cast v1.0.6 [INFO] [stderr] Downloaded atomic v0.5.0 [INFO] [stderr] Downloaded figment v0.10.5 [INFO] [stderr] Downloaded loom v0.5.0 [INFO] [stderr] Downloaded derive_more v0.99.14 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded multer v2.0.0 [INFO] [stderr] Downloaded cookie v0.15.0 [INFO] [stderr] Downloaded spin v0.9.0 [INFO] [stderr] Downloaded devise_core v0.3.0 [INFO] [stderr] Downloaded state v0.5.1 [INFO] [stderr] Downloaded rocket v0.5.0-rc.1 [INFO] [stderr] Downloaded uncased v0.9.6 [INFO] [stderr] Downloaded ubyte v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdc998fb65acdd55fb5cc5528d4c17c1f83b028532a0d62144462fbed85685ab [INFO] running `Command { std: "docker" "start" "-a" "cdc998fb65acdd55fb5cc5528d4c17c1f83b028532a0d62144462fbed85685ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdc998fb65acdd55fb5cc5528d4c17c1f83b028532a0d62144462fbed85685ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc998fb65acdd55fb5cc5528d4c17c1f83b028532a0d62144462fbed85685ab", kill_on_drop: false }` [INFO] [stdout] cdc998fb65acdd55fb5cc5528d4c17c1f83b028532a0d62144462fbed85685ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbae48b2a8e92aaca4ec3175edf455c72ccc08ea720638247b67a3878c365414 [INFO] running `Command { std: "docker" "start" "-a" "fbae48b2a8e92aaca4ec3175edf455c72ccc08ea720638247b67a3878c365414", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.5 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling state v0.5.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking spin v0.9.0 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking ferris-says v0.2.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking shrimp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `file_types::FilesChecksums` [INFO] [stdout] --> src/shrimp/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use file_types::FilesChecksums; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_from_checksum` [INFO] [stdout] --> src/shrimp/get_file.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_file_from_checksum( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_metadata` [INFO] [stdout] --> src/shrimp/get_file_metadata.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_file_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_files` [INFO] [stdout] --> src/shrimp/get_files.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_files(state: &State) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `head_file_checksum` [INFO] [stdout] --> src/shrimp/head_file.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn head_file_checksum( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_types::FilesChecksums` [INFO] [stdout] --> src/shrimp/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use file_types::FilesChecksums; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_from_checksum` [INFO] [stdout] --> src/shrimp/get_file.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_file_from_checksum( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_metadata` [INFO] [stdout] --> src/shrimp/get_file_metadata.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_file_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_files` [INFO] [stdout] --> src/shrimp/get_files.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_files(state: &State) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `head_file_checksum` [INFO] [stdout] --> src/shrimp/head_file.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn head_file_checksum( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/shrimp/get_file.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn respond_to(self, req: &'r Request<'_>) -> response::Result<'o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 79 | let mut build = Response::build(); [INFO] [stdout] 80 | build.merge(self.respond_to(req)?).ok() [INFO] [stdout] | -------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/shrimp/get_file.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn respond_to(self, req: &'r Request<'_>) -> response::Result<'o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 79 | let mut build = Response::build(); [INFO] [stdout] 80 | build.merge(self.respond_to(req)?).ok() [INFO] [stdout] | -------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shrimp/get_file.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | RangeNotSatisfiable(RangeNotSatisfiable), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 73 | RangeNotSatisfiable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shrimp/get_file.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | BadRequest(BadRequest), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 | BadRequest(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shrimp/get_file.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | RangeNotSatisfiable(RangeNotSatisfiable), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 73 | RangeNotSatisfiable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shrimp/get_file.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | BadRequest(BadRequest), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 | BadRequest(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "fbae48b2a8e92aaca4ec3175edf455c72ccc08ea720638247b67a3878c365414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbae48b2a8e92aaca4ec3175edf455c72ccc08ea720638247b67a3878c365414", kill_on_drop: false }` [INFO] [stdout] fbae48b2a8e92aaca4ec3175edf455c72ccc08ea720638247b67a3878c365414