[INFO] fetching crate raspberry-web 0.1.3... [INFO] testing raspberry-web-0.1.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate raspberry-web 0.1.3 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate raspberry-web 0.1.3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-69/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-69/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "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-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc861f3beea32b3d8c678fe3b559a45706403e07d1e0ab75aa501e0a183f19a3 [INFO] running `Command { std: "docker" "start" "-a" "bc861f3beea32b3d8c678fe3b559a45706403e07d1e0ab75aa501e0a183f19a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc861f3beea32b3d8c678fe3b559a45706403e07d1e0ab75aa501e0a183f19a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc861f3beea32b3d8c678fe3b559a45706403e07d1e0ab75aa501e0a183f19a3", kill_on_drop: false }` [INFO] [stdout] bc861f3beea32b3d8c678fe3b559a45706403e07d1e0ab75aa501e0a183f19a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4e9dc6533ca6adacb2a2f5679c4160c40a8e0ecd9aafb24ef6a43296084711 [INFO] running `Command { std: "docker" "start" "-a" "2f4e9dc6533ca6adacb2a2f5679c4160c40a8e0ecd9aafb24ef6a43296084711", 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 libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling match_cfg v0.1.0 [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 httparse v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [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 parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v0.7.4 [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-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [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 serde-hjson v0.8.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling actix_derive 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.136 [INFO] [stderr] Compiling brotli2 v0.3.2 [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.8 [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: 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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 63 + fn cause(&self) -> Option<&dyn error::Error> { [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 46.71s [INFO] running `Command { std: "docker" "inspect" "2f4e9dc6533ca6adacb2a2f5679c4160c40a8e0ecd9aafb24ef6a43296084711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4e9dc6533ca6adacb2a2f5679c4160c40a8e0ecd9aafb24ef6a43296084711", kill_on_drop: false }` [INFO] [stdout] 2f4e9dc6533ca6adacb2a2f5679c4160c40a8e0ecd9aafb24ef6a43296084711 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fc3d03383c73956359c4e5bc1093c3e3c8fdce81c711dffb96173f7f98e320c [INFO] running `Command { std: "docker" "start" "-a" "1fc3d03383c73956359c4e5bc1093c3e3c8fdce81c711dffb96173f7f98e320c", kill_on_drop: false }` [INFO] [stderr] Compiling migrations_internals v1.4.1 [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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 63 + fn cause(&self) -> Option<&dyn error::Error> { [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: 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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 63 + fn cause(&self) -> Option<&dyn error::Error> { [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 11.38s [INFO] running `Command { std: "docker" "inspect" "1fc3d03383c73956359c4e5bc1093c3e3c8fdce81c711dffb96173f7f98e320c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc3d03383c73956359c4e5bc1093c3e3c8fdce81c711dffb96173f7f98e320c", kill_on_drop: false }` [INFO] [stdout] 1fc3d03383c73956359c4e5bc1093c3e3c8fdce81c711dffb96173f7f98e320c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d8432aec20293f00259a34b1125f2f8f795dc9aff49e18014ce992693e0935b [INFO] running `Command { std: "docker" "start" "-a" "2d8432aec20293f00259a34b1125f2f8f795dc9aff49e18014ce992693e0935b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 63 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 63 + fn cause(&self) -> Option<&dyn error::Error> { [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 0.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-30443237e94c6b51) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test rpi::tests::set_gpio_level_rpi_high_must_succeed ... ok [INFO] [stdout] test rpi::tests::set_gpio_level_rpi_low_must_succeed ... ok [INFO] [stdout] test utilities::tests::above_u8_max_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_mode_output_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_in_use_not_set_but_level_set_must_fail ... 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 rpi::tests::set_gpio_level_rpi_unknown_must_fail ... ok [INFO] [stdout] test validation::tests::validation_valid_setup_must_succeed ... ok [INFO] [stdout] test validation::tests::validation_mode_output_not_set_but_level_set_must_fail ... ok [INFO] [stdout] test utilities::tests::within_range_must_succeed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raspberry_web-299e3b96144fd401) [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-1268c9eedb3d009b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:32919 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:50251 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:56279 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:54377 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:47037 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting 1 workers [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:35901 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] Starting server on 127.0.0.1:47231 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:47231 has been resumed [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::accept] Accepting connections on 127.0.0.1:35901 has been resumed [INFO] [stderr] [2022-02-27T01:25:00Z INFO raspberry_web::handlers] Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2022-02-27T01:25:00Z WARN actix_web::pipeline] Error occurred during request handling: Level 'high' is not allowed for mode 'input' [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2022-02-27T01:25:00Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stdout] test set_gpio_level_gpio_mode_not_output_failure ... ok [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test set_gpio_level_gpio_nonexistant_failure ... ok [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2022-02-27T01:25:00Z WARN actix_web::pipeline] Error occurred during request handling: Level 'something_random' is not a recognized GPIO state' [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stdout] test set_gpio_level_unknown_level_failure ... ok [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2022-02-27T01:25:00Z WARN actix_web::pipeline] Error occurred during request handling: raspberry-web has not been configured to work with GPIO #38 [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] [2022-02-27T01:25:00Z INFO raspberry_web::handlers] GPIO #2 is not in use. [INFO] [stderr] [2022-02-27T01:25:00Z WARN actix_web::pipeline] Error occurred during request handling: GPIO #2 is not in use. [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::server] SIGTERM received, stopping [INFO] [stderr] [2022-02-27T01:25:00Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stdout] test check_status_gpio_nonexistant_failure ... ok [INFO] [stdout] test check_status_succes ... ok [INFO] [stdout] test set_gpio_level_gpio_not_in_use_failure ... ok [INFO] [stderr] [2022-02-27T01:25:01Z INFO actix_net::server::server] SIGTERM received, stopping [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.41s [INFO] [stdout] [INFO] [stderr] [2022-02-27T01:25:01Z INFO actix_net::server::worker] Graceful worker shutdown, 1 connections [INFO] [stderr] Running tests/diesel_tests.rs (/opt/rustwide/target/debug/deps/diesel_tests-635795723de8be02) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test set_mode_nonexisting_gpio_db_must_fail ... ok [INFO] [stdout] test set_nonexisting_gpio_in_use_db_must_fail ... ok [INFO] [stdout] test get_allowed_levels_must_succeed ... ok [INFO] [stdout] test test_migrations ... 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 get_allowed_modes_must_succeed ... ok [INFO] [stdout] test set_existing_gpio_in_use_db_must_succeed ... ok [INFO] [stdout] test set_level_existing_gpio_db_must_succeed ... ok [INFO] [stdout] test reset_table_gpio_state_after_update_must_succeed ... 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" "2d8432aec20293f00259a34b1125f2f8f795dc9aff49e18014ce992693e0935b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8432aec20293f00259a34b1125f2f8f795dc9aff49e18014ce992693e0935b", kill_on_drop: false }` [INFO] [stdout] 2d8432aec20293f00259a34b1125f2f8f795dc9aff49e18014ce992693e0935b