[INFO] fetching crate raspberry-web 0.1.3... [INFO] testing raspberry-web-0.1.3 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate raspberry-web 0.1.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate raspberry-web 0.1.3 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc245a69d5dbc6d29754f99f325f3eb57b821cd1efb6cec3dbfd16d8da61eab2 [INFO] running `Command { std: "docker" "start" "-a" "dc245a69d5dbc6d29754f99f325f3eb57b821cd1efb6cec3dbfd16d8da61eab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc245a69d5dbc6d29754f99f325f3eb57b821cd1efb6cec3dbfd16d8da61eab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc245a69d5dbc6d29754f99f325f3eb57b821cd1efb6cec3dbfd16d8da61eab2", kill_on_drop: false }` [INFO] [stdout] dc245a69d5dbc6d29754f99f325f3eb57b821cd1efb6cec3dbfd16d8da61eab2 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7177529b09216cf561e21d3bc618e35dfa757dbb8f50d2cb0bab456c4c329677 [INFO] running `Command { std: "docker" "start" "-a" "7177529b09216cf561e21d3bc618e35dfa757dbb8f50d2cb0bab456c4c329677", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [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 backtrace v0.3.60 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [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 serde_test v0.8.23 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [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 cookie v0.11.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling actix_derive v0.3.2 [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.126 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling v_escape v0.7.4 [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 trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling actix-net v0.2.6 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` 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: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 1m 21s [INFO] running `Command { std: "docker" "inspect" "7177529b09216cf561e21d3bc618e35dfa757dbb8f50d2cb0bab456c4c329677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7177529b09216cf561e21d3bc618e35dfa757dbb8f50d2cb0bab456c4c329677", kill_on_drop: false }` [INFO] [stdout] 7177529b09216cf561e21d3bc618e35dfa757dbb8f50d2cb0bab456c4c329677 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 261ff9aa60fc44a551ad0465ed3b86f1a108a73448cc31ecc8841533ce924cea [INFO] running `Command { std: "docker" "start" "-a" "261ff9aa60fc44a551ad0465ed3b86f1a108a73448cc31ecc8841533ce924cea", kill_on_drop: false }` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` 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: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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` 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: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.47s [INFO] running `Command { std: "docker" "inspect" "261ff9aa60fc44a551ad0465ed3b86f1a108a73448cc31ecc8841533ce924cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261ff9aa60fc44a551ad0465ed3b86f1a108a73448cc31ecc8841533ce924cea", kill_on_drop: false }` [INFO] [stdout] 261ff9aa60fc44a551ad0465ed3b86f1a108a73448cc31ecc8841533ce924cea [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07bd8a992ddda00d5d010cdeb91def20ee7ba727ddd3c6ac6ef0eaf6fbec350f [INFO] running `Command { std: "docker" "start" "-a" "07bd8a992ddda00d5d010cdeb91def20ee7ba727ddd3c6ac6ef0eaf6fbec350f", kill_on_drop: false }` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` 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: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: 6 warnings emitted [INFO] [stderr] [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` 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: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: 6 warnings emitted [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: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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-e85d8fecf3af87c8) [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 rpi::tests::set_gpio_level_rpi_high_must_succeed ... ok [INFO] [stdout] test utilities::tests::above_u8_max_must_fail ... ok [INFO] [stdout] test utilities::tests::below_u8_min_must_fail ... ok [INFO] [stdout] test utilities::tests::within_range_must_succeed ... ok [INFO] [stdout] test validation::tests::validation_in_use_not_set_but_level_set_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_for_pin_level_set_must_fail ... 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_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] test validation::tests::validation_same_pin_high_and_low_must_fail ... ok [INFO] [stdout] test validation::tests::validation_same_pin_input_and_output_must_fail ... ok [INFO] [stdout] test validation::tests::validation_valid_setup_must_succeed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-3ea3e1ef9502cdde) [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] [stderr] Running tests/actix_tests.rs (/opt/rustwide/target/debug/deps/actix_tests-0ffd08e9073de29e) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:41641 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:45209 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:58387 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:34157 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:38563 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:47315 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] Starting server on 127.0.0.1:39295 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:47315 has been resumed [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:39295 has been resumed [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test check_status_succes ... ok [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-07-17T02:42:33Z INFO raspberry_web::handlers] GPIO #2 is not in use. [INFO] [stderr] [2021-07-17T02:42:33Z WARN actix_web::pipeline] Error occurred during request handling: GPIO #2 is not in use. [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test set_gpio_level_gpio_not_in_use_failure ... ok [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-07-17T02:42:33Z INFO raspberry_web::handlers] Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2021-07-17T02:42:33Z WARN actix_web::pipeline] Error occurred during request handling: Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-07-17T02:42:33Z 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-07-17T02:42:33Z WARN actix_web::pipeline] Error occurred during request handling: Level 'something_random' is not a recognized GPIO state' [INFO] [stderr] [2021-07-17T02:42:33Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test set_gpio_level_unknown_level_failure ... ok [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_gpio_nonexistant_failure ... ok [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-07-17T02:42:33Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stdout] test check_status_gpio_nonexistant_failure ... ok [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2021-07-17T02:42:33Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2021-07-17T02:42:33Z 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.12s [INFO] [stdout] [INFO] [stderr] Running tests/diesel_tests.rs (/opt/rustwide/target/debug/deps/diesel_tests-9a2db4d483e3cc6a) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test get_allowed_modes_must_succeed ... ok [INFO] [stdout] test get_allowed_levels_must_succeed ... ok [INFO] [stdout] test set_mode_existing_gpio_db_must_succeed ... ok [INFO] [stdout] test set_level_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] test reset_table_gpio_state_after_update_must_succeed ... ok [INFO] [stdout] test set_nonexisting_gpio_in_use_db_must_fail ... 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] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [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" "07bd8a992ddda00d5d010cdeb91def20ee7ba727ddd3c6ac6ef0eaf6fbec350f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bd8a992ddda00d5d010cdeb91def20ee7ba727ddd3c6ac6ef0eaf6fbec350f", kill_on_drop: false }` [INFO] [stdout] 07bd8a992ddda00d5d010cdeb91def20ee7ba727ddd3c6ac6ef0eaf6fbec350f