[INFO] fetching crate raspberry-web 0.1.3... [INFO] testing raspberry-web-0.1.3 against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] extracting crate raspberry-web 0.1.3 into /workspace/builds/worker-115/source [INFO] validating manifest of crates.io crate raspberry-web 0.1.3 on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-115/source/.cargo/config [INFO] started tweaking crates.io crate raspberry-web 0.1.3 [INFO] finished tweaking crates.io crate raspberry-web 0.1.3 [INFO] tweaked toml for crates.io crate raspberry-web 0.1.3 written to /workspace/builds/worker-115/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ef4764c5d8b09dbf8b9eb10fab1fba41376b7c6ca1661e07118d7bed8a1993b [INFO] running `Command { std: "docker" "start" "-a" "0ef4764c5d8b09dbf8b9eb10fab1fba41376b7c6ca1661e07118d7bed8a1993b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ef4764c5d8b09dbf8b9eb10fab1fba41376b7c6ca1661e07118d7bed8a1993b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef4764c5d8b09dbf8b9eb10fab1fba41376b7c6ca1661e07118d7bed8a1993b", kill_on_drop: false }` [INFO] [stdout] 0ef4764c5d8b09dbf8b9eb10fab1fba41376b7c6ca1661e07118d7bed8a1993b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63368797fece3b041a15cfd961cf88f5da6f019d5f0eb6126e9c8ffa51d03c49 [INFO] running `Command { std: "docker" "start" "-a" "63368797fece3b041a15cfd961cf88f5da6f019d5f0eb6126e9c8ffa51d03c49", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling raspberry-web v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/utilities.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 56 - .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] 56 + .ok_or(RpWebError::new("state_type not found"))? //Empty vector [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | RpWebError::ParseIntError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | RpWebError::VarError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | RpWebError::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | RpWebError::DbError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.08s [INFO] running `Command { std: "docker" "inspect" "63368797fece3b041a15cfd961cf88f5da6f019d5f0eb6126e9c8ffa51d03c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63368797fece3b041a15cfd961cf88f5da6f019d5f0eb6126e9c8ffa51d03c49", kill_on_drop: false }` [INFO] [stdout] 63368797fece3b041a15cfd961cf88f5da6f019d5f0eb6126e9c8ffa51d03c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0a81f6dd43e3fa9b02874079ff63877f2476025b684dbb6ceb38ab1f7ae424 [INFO] running `Command { std: "docker" "start" "-a" "ed0a81f6dd43e3fa9b02874079ff63877f2476025b684dbb6ceb38ab1f7ae424", 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 migrations_internals v1.4.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/utilities.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 56 - .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] 56 + .ok_or(RpWebError::new("state_type not found"))? //Empty vector [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | RpWebError::ParseIntError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | RpWebError::VarError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | RpWebError::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | RpWebError::DbError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling raspberry-web v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/actix_tests.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/actix_tests.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/utilities.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 56 - .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stdout] 56 + .ok_or(RpWebError::new("state_type not found"))? //Empty vector [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | RpWebError::ParseIntError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | RpWebError::VarError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | RpWebError::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | RpWebError::DbError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.00s [INFO] running `Command { std: "docker" "inspect" "ed0a81f6dd43e3fa9b02874079ff63877f2476025b684dbb6ceb38ab1f7ae424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0a81f6dd43e3fa9b02874079ff63877f2476025b684dbb6ceb38ab1f7ae424", kill_on_drop: false }` [INFO] [stdout] ed0a81f6dd43e3fa9b02874079ff63877f2476025b684dbb6ceb38ab1f7ae424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5878a409182932c1d8145fb6914fea91d750eae17846080c852691a230ce912 [INFO] running `Command { std: "docker" "start" "-a" "c5878a409182932c1d8145fb6914fea91d750eae17846080c852691a230ce912", 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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/utilities.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 56 - .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stderr] 56 + .ok_or(RpWebError::new("state_type not found"))? //Empty vector [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:53:55 [INFO] [stderr] | [INFO] [stderr] 53 | RpWebError::ParseIntError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:54:50 [INFO] [stderr] | [INFO] [stderr] 54 | RpWebError::VarError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:55:49 [INFO] [stderr] | [INFO] [stderr] 55 | RpWebError::IoError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:56:49 [INFO] [stderr] | [INFO] [stderr] 56 | RpWebError::DbError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raspberry-web` (lib) generated 6 warnings [INFO] [stderr] warning: `raspberry-web` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tests/actix_tests.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tests/actix_tests.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | static INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: `raspberry-web` (test "actix_tests") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-b9119729c61b42dc) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test rpi::tests::set_gpio_level_rpi_low_must_succeed ... ok [INFO] [stdout] test rpi::tests::set_gpio_level_rpi_unknown_must_fail ... ok [INFO] [stdout] test utilities::tests::above_u8_max_must_fail ... ok [INFO] [stdout] test rpi::tests::set_gpio_level_rpi_high_must_succeed ... ok [INFO] [stdout] test utilities::tests::below_u8_min_must_fail ... ok [INFO] [stdout] test validation::tests::validation_in_use_none_but_level_set_must_fail ... ok [INFO] [stdout] test validation::tests::validation_in_use_not_set_but_level_set_must_fail ... ok [INFO] [stdout] test validation::tests::validation_same_pin_high_and_low_must_fail ... ok [INFO] [stdout] test validation::tests::validation_in_use_not_set_for_pin_level_set_must_fail ... ok [INFO] [stdout] test validation::tests::validation_same_pin_input_and_output_must_fail ... ok [INFO] [stdout] test validation::tests::validation_mode_output_not_set_but_level_set_must_fail ... ok [INFO] [stdout] test validation::tests::validation_valid_setup_must_succeed ... ok [INFO] [stdout] test utilities::tests::within_range_must_succeed ... ok [INFO] [stdout] test validation::tests::validation_mode_output_none_but_level_set_must_fail ... ok [INFO] [stdout] test validation::tests::validation_mode_output_not_set_for_pin_level_high_set_must_fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-f7144d1483e961c7) [INFO] [stdout] [INFO] [stderr] Running tests/actix_tests.rs (/opt/rustwide/target/debug/deps/actix_tests-8a70542916d2642d) [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:52195 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:38979 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:51631 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:40457 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:34483 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:43371 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] Starting server on 127.0.0.1:56501 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:56501 has been resumed [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:43371 has been resumed [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:34483 has been resumed [INFO] [stderr] [2021-12-16T07:54:58Z WARN actix_web::pipeline] Error occurred during request handling: Level 'something_random' is not a recognized GPIO state' [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_unknown_level_failure ... ok [INFO] [stderr] [2021-12-16T07:54:58Z INFO raspberry_web::handlers] GPIO #2 is not in use. [INFO] [stderr] [2021-12-16T07:54:58Z WARN actix_web::pipeline] Error occurred during request handling: GPIO #2 is not in use. [INFO] [stderr] [2021-12-16T07:54:58Z INFO raspberry_web::handlers] Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2021-12-16T07:54:58Z WARN actix_web::pipeline] Error occurred during request handling: Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test set_gpio_level_gpio_not_in_use_failure ... ok [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_gpio_mode_not_output_failure ... ok [INFO] [stderr] [2021-12-16T07:54:58Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stderr] [2021-12-16T07:54:58Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test check_status_gpio_nonexistant_failure ... ok [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_gpio_nonexistant_failure ... ok [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test check_status_succes ... ok [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-12-16T07:54:58Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] Running tests/diesel_tests.rs (/opt/rustwide/target/debug/deps/diesel_tests-626622d4361c7038) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test set_nonexisting_gpio_in_use_db_must_fail ... ok [INFO] [stdout] test set_mode_existing_gpio_db_must_succeed ... ok [INFO] [stdout] test get_allowed_modes_must_succeed ... ok [INFO] [stdout] test reset_table_gpio_state_after_update_must_succeed ... ok [INFO] [stdout] test set_level_nonexisting_gpio_db_must_fail ... ok [INFO] [stdout] test get_allowed_levels_must_succeed ... ok [INFO] [stdout] test set_existing_gpio_in_use_db_must_succeed ... ok [INFO] [stdout] test set_mode_nonexisting_gpio_db_must_fail ... ok [INFO] [stdout] test set_level_existing_gpio_db_must_succeed ... ok [INFO] [stdout] test test_migrations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests raspberry_web [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> /opt/rustwide/workdir/src/utilities.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 56 - .ok_or({ RpWebError::new("state_type not found") })? //Empty vector [INFO] [stderr] 56 + .ok_or(RpWebError::new("state_type not found"))? //Empty vector [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "c5878a409182932c1d8145fb6914fea91d750eae17846080c852691a230ce912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5878a409182932c1d8145fb6914fea91d750eae17846080c852691a230ce912", kill_on_drop: false }` [INFO] [stdout] c5878a409182932c1d8145fb6914fea91d750eae17846080c852691a230ce912