[INFO] cloning repository https://github.com/Multimo/whats-cooking-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Multimo/whats-cooking-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMultimo%2Fwhats-cooking-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMultimo%2Fwhats-cooking-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07fcf31cfc23cd2375191011478cf30fc36fc51a [INFO] testing Multimo/whats-cooking-backend against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMultimo%2Fwhats-cooking-backend" "/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/Multimo/whats-cooking-backend on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Multimo/whats-cooking-backend [INFO] finished tweaking git repo https://github.com/Multimo/whats-cooking-backend [INFO] tweaked toml for git repo https://github.com/Multimo/whats-cooking-backend written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Multimo/whats-cooking-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-pool v0.2.2 [INFO] [stderr] Downloaded async-h1 v2.3.1 [INFO] [stderr] Downloaded http-client v6.2.0 [INFO] [stderr] Downloaded http-types v2.10.0 [INFO] [stderr] Downloaded signal-hook v0.3.4 [INFO] running `Command { std: "docker" "create" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7b38044eab427bd290cba11048829fd63c85064e16b3370a64e28aa9f580cc0 [INFO] running `Command { std: "docker" "start" "-a" "c7b38044eab427bd290cba11048829fd63c85064e16b3370a64e28aa9f580cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7b38044eab427bd290cba11048829fd63c85064e16b3370a64e28aa9f580cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b38044eab427bd290cba11048829fd63c85064e16b3370a64e28aa9f580cc0", kill_on_drop: false }` [INFO] [stdout] c7b38044eab427bd290cba11048829fd63c85064e16b3370a64e28aa9f580cc0 [INFO] running `Command { std: "docker" "create" "-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" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7c63221c5b655dc20e0d86bf663f45cc43b00bc21e5a0f7b6ee708b18496fc [INFO] running `Command { std: "docker" "start" "-a" "1a7c63221c5b655dc20e0d86bf663f45cc43b00bc21e5a0f7b6ee708b18496fc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling signal-hook v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling http-types v2.10.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling byte-pool v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.2.0 [INFO] [stderr] Compiling async-h1 v2.3.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling whats-cooking-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/ingredients.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/ingredients.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/recipes.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / &req.state() [INFO] [stdout] 59 | | .repository [INFO] [stdout] 60 | | .delete_recipe(recipe_id) [INFO] [stdout] 61 | | .expect("Failed to delete recipe"); [INFO] [stdout] | |__________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = &req.state() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/recipes.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1a7c63221c5b655dc20e0d86bf663f45cc43b00bc21e5a0f7b6ee708b18496fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7c63221c5b655dc20e0d86bf663f45cc43b00bc21e5a0f7b6ee708b18496fc", kill_on_drop: false }` [INFO] [stdout] 1a7c63221c5b655dc20e0d86bf663f45cc43b00bc21e5a0f7b6ee708b18496fc [INFO] running `Command { std: "docker" "create" "-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" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d93731dfb74dbc0c5eb9e759d138e95d1f744c6255d766fa7da591975167b940 [INFO] running `Command { std: "docker" "start" "-a" "d93731dfb74dbc0c5eb9e759d138e95d1f744c6255d766fa7da591975167b940", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling whats-cooking-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/ingredients.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/ingredients.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/recipes.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / &req.state() [INFO] [stdout] 59 | | .repository [INFO] [stdout] 60 | | .delete_recipe(recipe_id) [INFO] [stdout] 61 | | .expect("Failed to delete recipe"); [INFO] [stdout] | |__________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = &req.state() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handlers/recipes.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d93731dfb74dbc0c5eb9e759d138e95d1f744c6255d766fa7da591975167b940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93731dfb74dbc0c5eb9e759d138e95d1f744c6255d766fa7da591975167b940", kill_on_drop: false }` [INFO] [stdout] d93731dfb74dbc0c5eb9e759d138e95d1f744c6255d766fa7da591975167b940 [INFO] running `Command { std: "docker" "create" "-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" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15598bf298883683445f33c68728c1552cb873c035f4ac88bee1650cad97f9c2 [INFO] running `Command { std: "docker" "start" "-a" "15598bf298883683445f33c68728c1552cb873c035f4ac88bee1650cad97f9c2", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/handlers/ingredients.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 17 | let _ = &req.state().repository.create_ingredient(&new_ingredient); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/handlers/ingredients.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 27 | let _ = &req.state().repository.delete_ingredient(ingredient_id); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/handlers/recipes.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | / &req.state() [INFO] [stderr] 59 | | .repository [INFO] [stderr] 60 | | .delete_recipe(recipe_id) [INFO] [stderr] 61 | | .expect("Failed to delete recipe"); [INFO] [stderr] | |__________________________________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 58 | let _ = &req.state() [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/handlers/recipes.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 97 | let _ = &repo.create_recipe(&body.recipe).unwrap(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `whats-cooking-backend` (bin "whats-cooking-backend" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/whats_cooking_backend-61d67d20e3ad08cb) [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" "15598bf298883683445f33c68728c1552cb873c035f4ac88bee1650cad97f9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15598bf298883683445f33c68728c1552cb873c035f4ac88bee1650cad97f9c2", kill_on_drop: false }` [INFO] [stdout] 15598bf298883683445f33c68728c1552cb873c035f4ac88bee1650cad97f9c2