[INFO] cloning repository https://github.com/nilsve/caching-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsve/caching-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fcaching-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fcaching-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f27cad79b5d9599d2a4baf76b634b237ef928a7 [INFO] testing nilsve/caching-proxy against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fcaching-proxy" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilsve/caching-proxy on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilsve/caching-proxy [INFO] finished tweaking git repo https://github.com/nilsve/caching-proxy [INFO] tweaked toml for git repo https://github.com/nilsve/caching-proxy written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/nilsve/caching-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bea13d0b01375abe43be180fefd38f824034a88300127c7c2d05337e840d3c06 [INFO] running `Command { std: "docker" "start" "-a" "bea13d0b01375abe43be180fefd38f824034a88300127c7c2d05337e840d3c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bea13d0b01375abe43be180fefd38f824034a88300127c7c2d05337e840d3c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea13d0b01375abe43be180fefd38f824034a88300127c7c2d05337e840d3c06", kill_on_drop: false }` [INFO] [stdout] bea13d0b01375abe43be180fefd38f824034a88300127c7c2d05337e840d3c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fbc406670844e4249abd9c8b764d6374ff84bb2855000a76f1560ae0cc7aa1a [INFO] running `Command { std: "docker" "start" "-a" "1fbc406670844e4249abd9c8b764d6374ff84bb2855000a76f1560ae0cc7aa1a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-tls v3.0.3 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling awc v3.0.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/proxy/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/proxy/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::web::{Bytes, Data}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/mod.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | async fn proxy_request (req: HttpRequest, mut store: Data>) -> HttpResponse { [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: unused variable: `route` [INFO] [stdout] --> src/store/memory_store.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn delete_document(&mut self, route: &Route) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/store/method.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/store/method.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DocumentNotFound` [INFO] [stdout] --> src/store/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DocumentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/store/errors.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | store.lock().unwrap().store_document(route, WebResponse::new(status, body.to_owned())); [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 1m 14s [INFO] running `Command { std: "docker" "inspect" "1fbc406670844e4249abd9c8b764d6374ff84bb2855000a76f1560ae0cc7aa1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbc406670844e4249abd9c8b764d6374ff84bb2855000a76f1560ae0cc7aa1a", kill_on_drop: false }` [INFO] [stdout] 1fbc406670844e4249abd9c8b764d6374ff84bb2855000a76f1560ae0cc7aa1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fafec91f2631b56b12e5b02923b3e0b5d5363fda971713a81114fee89e42e141 [INFO] running `Command { std: "docker" "start" "-a" "fafec91f2631b56b12e5b02923b3e0b5d5363fda971713a81114fee89e42e141", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/proxy/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/proxy/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::web::{Bytes, Data}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/mod.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | async fn proxy_request (req: HttpRequest, mut store: Data>) -> HttpResponse { [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: unused variable: `route` [INFO] [stdout] --> src/store/memory_store.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn delete_document(&mut self, route: &Route) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/store/method.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/store/method.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DocumentNotFound` [INFO] [stdout] --> src/store/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DocumentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoreErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/store/errors.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | store.lock().unwrap().store_document(route, WebResponse::new(status, body.to_owned())); [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 test [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/proxy-ae346108f257ddca) [INFO] running `Command { std: "docker" "inspect" "fafec91f2631b56b12e5b02923b3e0b5d5363fda971713a81114fee89e42e141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fafec91f2631b56b12e5b02923b3e0b5d5363fda971713a81114fee89e42e141", kill_on_drop: false }` [INFO] [stdout] fafec91f2631b56b12e5b02923b3e0b5d5363fda971713a81114fee89e42e141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dbc4e72bcee6057783649ee6c91e8ca9d386c2d16a2ce21bb1ce218a9db01099 [INFO] running `Command { std: "docker" "start" "-a" "dbc4e72bcee6057783649ee6c91e8ca9d386c2d16a2ce21bb1ce218a9db01099", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stderr] --> src/proxy/mod.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Bytes` [INFO] [stderr] --> src/proxy/mod.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::web::{Bytes, Data}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/proxy/mod.rs:29:67 [INFO] [stderr] | [INFO] [stderr] 29 | async fn proxy_request (req: HttpRequest, mut store: Data>) -> HttpResponse { [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: unused variable: `route` [INFO] [stderr] --> src/store/memory_store.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | fn delete_document(&mut self, route: &Route) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/store/method.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/store/method.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone, Copy, Hash, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DocumentNotFound` [INFO] [stderr] --> src/store/errors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | DocumentNotFound, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoreErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/store/errors.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/proxy/mod.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | store.lock().unwrap().store_document(route, WebResponse::new(status, body.to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `proxy` (bin "proxy" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/proxy-ae346108f257ddca) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbc4e72bcee6057783649ee6c91e8ca9d386c2d16a2ce21bb1ce218a9db01099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc4e72bcee6057783649ee6c91e8ca9d386c2d16a2ce21bb1ce218a9db01099", kill_on_drop: false }` [INFO] [stdout] dbc4e72bcee6057783649ee6c91e8ca9d386c2d16a2ce21bb1ce218a9db01099